Class: TencentCloud::Tke::V20180525::Client
- Inherits:
-
Common::AbstractClient
- Object
- Common::AbstractClient
- TencentCloud::Tke::V20180525::Client
- Defined in:
- lib/v20180525/client.rb
Instance Method Summary collapse
-
#AcquireClusterAdminRole(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::AcquireClusterAdminRoleResponse`.
-
#AddClusterCIDR(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::AddClusterCIDRResponse`.
-
#AddExistedInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::AddExistedInstancesResponse`.
-
#AddNodeToNodePool(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::AddNodeToNodePoolResponse`.
-
#AddVpcCniSubnets(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::AddVpcCniSubnetsResponse`.
-
#CancelClusterRelease(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CancelClusterReleaseResponse`.
-
#CheckEdgeClusterCIDR(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CheckEdgeClusterCIDRResponse`.
-
#CheckInstancesUpgradeAble(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CheckInstancesUpgradeAbleResponse`.
-
#CreateBackupStorageLocation(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateBackupStorageLocationResponse`.
-
#CreateCLSLogConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateCLSLogConfigResponse`.
-
#CreateCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateClusterResponse`.
-
#CreateClusterEndpoint(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateClusterEndpointResponse`.
-
#CreateClusterEndpointVip(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateClusterEndpointVipResponse`.
-
#CreateClusterInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateClusterInstancesResponse`.
-
#CreateClusterNodePool(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateClusterNodePoolResponse`.
-
#CreateClusterRelease(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateClusterReleaseResponse`.
-
#CreateClusterRoute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateClusterRouteResponse`.
-
#CreateClusterRouteTable(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateClusterRouteTableResponse`.
-
#CreateClusterVirtualNode(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateClusterVirtualNodeResponse`.
-
#CreateClusterVirtualNodePool(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateClusterVirtualNodePoolResponse`.
-
#CreateECMInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateECMInstancesResponse`.
-
#CreateEdgeCVMInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateEdgeCVMInstancesResponse`.
-
#CreateEdgeLogConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateEdgeLogConfigResponse`.
-
#CreateEKSCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateEKSClusterResponse`.
-
#CreateEKSContainerInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateEKSContainerInstancesResponse`.
-
#CreateEksLogConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateEksLogConfigResponse`.
-
#CreateImageCache(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateImageCacheResponse`.
-
#CreatePrometheusAlertPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreatePrometheusAlertPolicyResponse`.
-
#CreatePrometheusAlertRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreatePrometheusAlertRuleResponse`.
-
#CreatePrometheusClusterAgent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreatePrometheusClusterAgentResponse`.
-
#CreatePrometheusConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreatePrometheusConfigResponse`.
-
#CreatePrometheusDashboard(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreatePrometheusDashboardResponse`.
-
#CreatePrometheusGlobalNotification(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreatePrometheusGlobalNotificationResponse`.
-
#CreatePrometheusRecordRuleYaml(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreatePrometheusRecordRuleYamlResponse`.
-
#CreatePrometheusTemp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreatePrometheusTempResponse`.
-
#CreatePrometheusTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreatePrometheusTemplateResponse`.
-
#CreateReservedInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateReservedInstancesResponse`.
-
#CreateTKEEdgeCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateTKEEdgeClusterResponse`.
-
#DeleteAddon(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteAddonResponse`.
-
#DeleteBackupStorageLocation(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteBackupStorageLocationResponse`.
-
#DeleteCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteClusterResponse`.
-
#DeleteClusterAsGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteClusterAsGroupsResponse`.
-
#DeleteClusterEndpoint(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteClusterEndpointResponse`.
-
#DeleteClusterEndpointVip(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteClusterEndpointVipResponse`.
-
#DeleteClusterInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteClusterInstancesResponse`.
-
#DeleteClusterNodePool(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteClusterNodePoolResponse`.
-
#DeleteClusterRoute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteClusterRouteResponse`.
-
#DeleteClusterRouteTable(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteClusterRouteTableResponse`.
-
#DeleteClusterVirtualNode(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteClusterVirtualNodeResponse`.
-
#DeleteClusterVirtualNodePool(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteClusterVirtualNodePoolResponse`.
-
#DeleteECMInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteECMInstancesResponse`.
-
#DeleteEdgeClusterInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteEdgeClusterInstancesResponse`.
-
#DeleteEdgeCVMInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteEdgeCVMInstancesResponse`.
-
#DeleteEKSCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteEKSClusterResponse`.
-
#DeleteEKSContainerInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteEKSContainerInstancesResponse`.
-
#DeleteImageCaches(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteImageCachesResponse`.
-
#DeleteLogConfigs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteLogConfigsResponse`.
-
#DeletePrometheusAlertPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeletePrometheusAlertPolicyResponse`.
-
#DeletePrometheusAlertRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeletePrometheusAlertRuleResponse`.
-
#DeletePrometheusClusterAgent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeletePrometheusClusterAgentResponse`.
-
#DeletePrometheusConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeletePrometheusConfigResponse`.
-
#DeletePrometheusRecordRuleYaml(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeletePrometheusRecordRuleYamlResponse`.
-
#DeletePrometheusTemp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeletePrometheusTempResponse`.
-
#DeletePrometheusTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeletePrometheusTemplateResponse`.
-
#DeletePrometheusTemplateSync(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeletePrometheusTemplateSyncResponse`.
-
#DeletePrometheusTempSync(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeletePrometheusTempSyncResponse`.
-
#DeleteReservedInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteReservedInstancesResponse`.
-
#DeleteTKEEdgeCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteTKEEdgeClusterResponse`.
-
#DescribeAddon(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeAddonResponse`.
-
#DescribeAddonValues(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeAddonValuesResponse`.
-
#DescribeAvailableClusterVersion(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeAvailableClusterVersionResponse`.
-
#DescribeAvailableTKEEdgeVersion(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeAvailableTKEEdgeVersionResponse`.
-
#DescribeBackupStorageLocations(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeBackupStorageLocationsResponse`.
-
#DescribeBatchModifyTagsStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeBatchModifyTagsStatusResponse`.
-
#DescribeClusterAsGroupOption(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterAsGroupOptionResponse`.
-
#DescribeClusterAsGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterAsGroupsResponse`.
-
#DescribeClusterAuthenticationOptions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterAuthenticationOptionsResponse`.
-
#DescribeClusterCommonNames(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterCommonNamesResponse`.
-
#DescribeClusterControllers(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterControllersResponse`.
-
#DescribeClusterEndpoints(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterEndpointsResponse`.
-
#DescribeClusterEndpointStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterEndpointStatusResponse`.
-
#DescribeClusterEndpointVipStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterEndpointVipStatusResponse`.
-
#DescribeClusterExtraArgs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterExtraArgsResponse`.
-
#DescribeClusterInspectionResultsOverview(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterInspectionResultsOverviewResponse`.
-
#DescribeClusterInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterInstancesResponse`.
-
#DescribeClusterKubeconfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterKubeconfigResponse`.
-
#DescribeClusterLevelAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterLevelAttributeResponse`.
-
#DescribeClusterLevelChangeRecords(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterLevelChangeRecordsResponse`.
-
#DescribeClusterNodePoolDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterNodePoolDetailResponse`.
-
#DescribeClusterNodePools(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterNodePoolsResponse`.
-
#DescribeClusterPendingReleases(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterPendingReleasesResponse`.
-
#DescribeClusterReleaseDetails(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterReleaseDetailsResponse`.
-
#DescribeClusterReleaseHistory(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterReleaseHistoryResponse`.
-
#DescribeClusterReleases(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterReleasesResponse`.
-
#DescribeClusterRoutes(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterRoutesResponse`.
-
#DescribeClusterRouteTables(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterRouteTablesResponse`.
-
#DescribeClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClustersResponse`.
-
#DescribeClusterSecurity(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterSecurityResponse`.
-
#DescribeClusterStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterStatusResponse`.
-
#DescribeClusterVirtualNode(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterVirtualNodeResponse`.
-
#DescribeClusterVirtualNodePools(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterVirtualNodePoolsResponse`.
-
#DescribeECMInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeECMInstancesResponse`.
-
#DescribeEdgeAvailableExtraArgs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEdgeAvailableExtraArgsResponse`.
-
#DescribeEdgeClusterExtraArgs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEdgeClusterExtraArgsResponse`.
-
#DescribeEdgeClusterInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEdgeClusterInstancesResponse`.
-
#DescribeEdgeClusterUpgradeInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEdgeClusterUpgradeInfoResponse`.
-
#DescribeEdgeCVMInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEdgeCVMInstancesResponse`.
-
#DescribeEdgeLogSwitches(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEdgeLogSwitchesResponse`.
-
#DescribeEKSClusterCredential(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEKSClusterCredentialResponse`.
-
#DescribeEKSClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEKSClustersResponse`.
-
#DescribeEKSContainerInstanceEvent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEKSContainerInstanceEventResponse`.
-
#DescribeEksContainerInstanceLog(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEksContainerInstanceLogResponse`.
-
#DescribeEKSContainerInstanceRegions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEKSContainerInstanceRegionsResponse`.
-
#DescribeEKSContainerInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEKSContainerInstancesResponse`.
-
#DescribeEnableVpcCniProgress(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEnableVpcCniProgressResponse`.
-
#DescribeEncryptionStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEncryptionStatusResponse`.
-
#DescribeExistedInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeExistedInstancesResponse`.
-
#DescribeExternalNodeSupportConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeExternalNodeSupportConfigResponse`.
-
#DescribeImageCaches(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeImageCachesResponse`.
-
#DescribeImages(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeImagesResponse`.
-
#DescribeIPAMD(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeIPAMDResponse`.
-
#DescribeLogConfigs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeLogConfigsResponse`.
-
#DescribeLogSwitches(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeLogSwitchesResponse`.
-
#DescribeOpenPolicyList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeOpenPolicyListResponse`.
-
#DescribePodChargeInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePodChargeInfoResponse`.
-
#DescribePodDeductionRate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePodDeductionRateResponse`.
-
#DescribePodsBySpec(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePodsBySpecResponse`.
-
#DescribePostNodeResources(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePostNodeResourcesResponse`.
-
#DescribePrometheusAgentInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusAgentInstancesResponse`.
-
#DescribePrometheusAgents(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusAgentsResponse`.
-
#DescribePrometheusAlertHistory(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusAlertHistoryResponse`.
-
#DescribePrometheusAlertPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusAlertPolicyResponse`.
-
#DescribePrometheusAlertRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusAlertRuleResponse`.
-
#DescribePrometheusClusterAgents(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusClusterAgentsResponse`.
-
#DescribePrometheusConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusConfigResponse`.
-
#DescribePrometheusGlobalConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusGlobalConfigResponse`.
-
#DescribePrometheusGlobalNotification(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusGlobalNotificationResponse`.
-
#DescribePrometheusInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusInstanceResponse`.
-
#DescribePrometheusInstanceInitStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusInstanceInitStatusResponse`.
-
#DescribePrometheusInstancesOverview(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusInstancesOverviewResponse`.
-
#DescribePrometheusOverviews(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusOverviewsResponse`.
-
#DescribePrometheusRecordRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusRecordRulesResponse`.
-
#DescribePrometheusTargets(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusTargetsResponse`.
-
#DescribePrometheusTemp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusTempResponse`.
-
#DescribePrometheusTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusTemplatesResponse`.
-
#DescribePrometheusTemplateSync(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusTemplateSyncResponse`.
-
#DescribePrometheusTempSync(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusTempSyncResponse`.
-
#DescribeRegions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeRegionsResponse`.
-
#DescribeReservedInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeReservedInstancesResponse`.
-
#DescribeReservedInstanceUtilizationRate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeReservedInstanceUtilizationRateResponse`.
-
#DescribeResourceUsage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeResourceUsageResponse`.
-
#DescribeRIUtilizationDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeRIUtilizationDetailResponse`.
-
#DescribeRouteTableConflicts(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeRouteTableConflictsResponse`.
-
#DescribeSupportedRuntime(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeSupportedRuntimeResponse`.
-
#DescribeTKEEdgeClusterCredential(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeTKEEdgeClusterCredentialResponse`.
-
#DescribeTKEEdgeClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeTKEEdgeClustersResponse`.
-
#DescribeTKEEdgeClusterStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeTKEEdgeClusterStatusResponse`.
-
#DescribeTKEEdgeExternalKubeconfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeTKEEdgeExternalKubeconfigResponse`.
-
#DescribeTKEEdgeScript(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeTKEEdgeScriptResponse`.
-
#DescribeVersions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeVersionsResponse`.
-
#DescribeVpcCniPodLimits(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeVpcCniPodLimitsResponse`.
-
#DisableClusterAudit(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DisableClusterAuditResponse`.
-
#DisableClusterDeletionProtection(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DisableClusterDeletionProtectionResponse`.
-
#DisableEncryptionProtection(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DisableEncryptionProtectionResponse`.
-
#DisableEventPersistence(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DisableEventPersistenceResponse`.
-
#DisableVpcCniNetworkType(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DisableVpcCniNetworkTypeResponse`.
-
#DrainClusterVirtualNode(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DrainClusterVirtualNodeResponse`.
-
#EnableClusterAudit(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::EnableClusterAuditResponse`.
-
#EnableClusterDeletionProtection(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::EnableClusterDeletionProtectionResponse`.
-
#EnableEncryptionProtection(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::EnableEncryptionProtectionResponse`.
-
#EnableEventPersistence(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::EnableEventPersistenceResponse`.
-
#EnableVpcCniNetworkType(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::EnableVpcCniNetworkTypeResponse`.
-
#ForwardApplicationRequestV3(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ForwardApplicationRequestV3Response`.
-
#ForwardTKEEdgeApplicationRequestV3(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ForwardTKEEdgeApplicationRequestV3Response`.
-
#GetClusterLevelPrice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::GetClusterLevelPriceResponse`.
-
#GetMostSuitableImageCache(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::GetMostSuitableImageCacheResponse`.
-
#GetTkeAppChartList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::GetTkeAppChartListResponse`.
-
#GetUpgradeInstanceProgress(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::GetUpgradeInstanceProgressResponse`.
-
#initialize(credential, region, profile = nil) ⇒ Client
constructor
A new instance of Client.
-
#InstallAddon(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::InstallAddonResponse`.
-
#InstallEdgeLogAgent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::InstallEdgeLogAgentResponse`.
-
#InstallLogAgent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::InstallLogAgentResponse`.
-
#ListClusterInspectionResults(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ListClusterInspectionResultsResponse`.
-
#ListClusterInspectionResultsItems(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ListClusterInspectionResultsItemsResponse`.
-
#ModifyClusterAsGroupAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyClusterAsGroupAttributeResponse`.
-
#ModifyClusterAsGroupOptionAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyClusterAsGroupOptionAttributeResponse`.
-
#ModifyClusterAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyClusterAttributeResponse`.
-
#ModifyClusterAuthenticationOptions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyClusterAuthenticationOptionsResponse`.
-
#ModifyClusterEndpointSP(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyClusterEndpointSPResponse`.
-
#ModifyClusterImage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyClusterImageResponse`.
-
#ModifyClusterNodePool(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyClusterNodePoolResponse`.
-
#ModifyClusterRuntimeConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyClusterRuntimeConfigResponse`.
-
#ModifyClusterTags(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyClusterTagsResponse`.
-
#ModifyClusterVirtualNodePool(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyClusterVirtualNodePoolResponse`.
-
#ModifyNodePoolDesiredCapacityAboutAsg(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyNodePoolDesiredCapacityAboutAsgResponse`.
-
#ModifyNodePoolInstanceTypes(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyNodePoolInstanceTypesResponse`.
-
#ModifyOpenPolicyList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyOpenPolicyListResponse`.
-
#ModifyPrometheusAgentExternalLabels(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyPrometheusAgentExternalLabelsResponse`.
-
#ModifyPrometheusAlertPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyPrometheusAlertPolicyResponse`.
-
#ModifyPrometheusAlertRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyPrometheusAlertRuleResponse`.
-
#ModifyPrometheusConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyPrometheusConfigResponse`.
-
#ModifyPrometheusGlobalNotification(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyPrometheusGlobalNotificationResponse`.
-
#ModifyPrometheusRecordRuleYaml(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyPrometheusRecordRuleYamlResponse`.
-
#ModifyPrometheusTemp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyPrometheusTempResponse`.
-
#ModifyPrometheusTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyPrometheusTemplateResponse`.
-
#ModifyReservedInstanceScope(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyReservedInstanceScopeResponse`.
-
#RemoveNodeFromNodePool(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::RemoveNodeFromNodePoolResponse`.
-
#RenewReservedInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::RenewReservedInstancesResponse`.
-
#RestartEKSContainerInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::RestartEKSContainerInstancesResponse`.
-
#RollbackClusterRelease(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::RollbackClusterReleaseResponse`.
-
#RunPrometheusInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::RunPrometheusInstanceResponse`.
-
#ScaleInClusterMaster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ScaleInClusterMasterResponse`.
-
#ScaleOutClusterMaster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ScaleOutClusterMasterResponse`.
-
#SetNodePoolNodeProtection(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::SetNodePoolNodeProtectionResponse`.
-
#SyncPrometheusTemp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::SyncPrometheusTempResponse`.
-
#SyncPrometheusTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::SyncPrometheusTemplateResponse`.
-
#UninstallClusterRelease(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UninstallClusterReleaseResponse`.
-
#UninstallEdgeLogAgent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UninstallEdgeLogAgentResponse`.
-
#UninstallLogAgent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UninstallLogAgentResponse`.
-
#UpdateAddon(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UpdateAddonResponse`.
-
#UpdateClusterKubeconfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UpdateClusterKubeconfigResponse`.
-
#UpdateClusterVersion(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UpdateClusterVersionResponse`.
-
#UpdateEdgeClusterVersion(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UpdateEdgeClusterVersionResponse`.
-
#UpdateEKSCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UpdateEKSClusterResponse`.
-
#UpdateEKSContainerInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UpdateEKSContainerInstanceResponse`.
-
#UpdateImageCache(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UpdateImageCacheResponse`.
-
#UpdateTKEEdgeCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UpdateTKEEdgeClusterResponse`.
-
#UpgradeClusterInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UpgradeClusterInstancesResponse`.
-
#UpgradeClusterRelease(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UpgradeClusterReleaseResponse`.
Constructor Details
#initialize(credential, region, profile = nil) ⇒ Client
Returns a new instance of Client.
24 25 26 27 28 29 |
# File 'lib/v20180525/client.rb', line 24 def initialize(credential, region, profile = nil) api_version = '2018-05-25' api_endpoint = 'tke.tencentcloudapi.com' sdk_version = 'TKE_' + File.read(File.('../VERSION', __dir__)).strip super(credential, region, api_version, api_endpoint, sdk_version, profile) end |
Instance Method Details
#AcquireClusterAdminRole(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::AcquireClusterAdminRoleResponse`
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/v20180525/client.rb', line 37 def AcquireClusterAdminRole(request) body = send_request('AcquireClusterAdminRole', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AcquireClusterAdminRoleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#AddClusterCIDR(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::AddClusterCIDRResponse`
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/v20180525/client.rb', line 61 def AddClusterCIDR(request) body = send_request('AddClusterCIDR', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddClusterCIDRResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#AddExistedInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::AddExistedInstancesResponse`
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/v20180525/client.rb', line 85 def AddExistedInstances(request) body = send_request('AddExistedInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddExistedInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#AddNodeToNodePool(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::AddNodeToNodePoolResponse`
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
# File 'lib/v20180525/client.rb', line 109 def AddNodeToNodePool(request) body = send_request('AddNodeToNodePool', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddNodeToNodePoolResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#AddVpcCniSubnets(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::AddVpcCniSubnetsResponse`
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'lib/v20180525/client.rb', line 133 def AddVpcCniSubnets(request) body = send_request('AddVpcCniSubnets', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddVpcCniSubnetsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CancelClusterRelease(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CancelClusterReleaseResponse`
157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'lib/v20180525/client.rb', line 157 def CancelClusterRelease(request) body = send_request('CancelClusterRelease', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CancelClusterReleaseResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CheckEdgeClusterCIDR(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CheckEdgeClusterCIDRResponse`
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 |
# File 'lib/v20180525/client.rb', line 181 def CheckEdgeClusterCIDR(request) body = send_request('CheckEdgeClusterCIDR', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CheckEdgeClusterCIDRResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CheckInstancesUpgradeAble(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CheckInstancesUpgradeAbleResponse`
205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 |
# File 'lib/v20180525/client.rb', line 205 def CheckInstancesUpgradeAble(request) body = send_request('CheckInstancesUpgradeAble', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CheckInstancesUpgradeAbleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateBackupStorageLocation(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateBackupStorageLocationResponse`
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 |
# File 'lib/v20180525/client.rb', line 229 def CreateBackupStorageLocation(request) body = send_request('CreateBackupStorageLocation', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateBackupStorageLocationResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateCLSLogConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateCLSLogConfigResponse`
253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'lib/v20180525/client.rb', line 253 def CreateCLSLogConfig(request) body = send_request('CreateCLSLogConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateCLSLogConfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateClusterResponse`
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 |
# File 'lib/v20180525/client.rb', line 277 def CreateCluster(request) body = send_request('CreateCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateClusterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateClusterEndpoint(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateClusterEndpointResponse`
301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 |
# File 'lib/v20180525/client.rb', line 301 def CreateClusterEndpoint(request) body = send_request('CreateClusterEndpoint', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateClusterEndpointResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateClusterEndpointVip(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateClusterEndpointVipResponse`
325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 |
# File 'lib/v20180525/client.rb', line 325 def CreateClusterEndpointVip(request) body = send_request('CreateClusterEndpointVip', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateClusterEndpointVipResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateClusterInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateClusterInstancesResponse`
349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 |
# File 'lib/v20180525/client.rb', line 349 def CreateClusterInstances(request) body = send_request('CreateClusterInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateClusterInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateClusterNodePool(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateClusterNodePoolResponse`
373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 |
# File 'lib/v20180525/client.rb', line 373 def CreateClusterNodePool(request) body = send_request('CreateClusterNodePool', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateClusterNodePoolResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateClusterRelease(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateClusterReleaseResponse`
397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 |
# File 'lib/v20180525/client.rb', line 397 def CreateClusterRelease(request) body = send_request('CreateClusterRelease', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateClusterReleaseResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateClusterRoute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateClusterRouteResponse`
421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 |
# File 'lib/v20180525/client.rb', line 421 def CreateClusterRoute(request) body = send_request('CreateClusterRoute', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateClusterRouteResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateClusterRouteTable(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateClusterRouteTableResponse`
445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 |
# File 'lib/v20180525/client.rb', line 445 def CreateClusterRouteTable(request) body = send_request('CreateClusterRouteTable', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateClusterRouteTableResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateClusterVirtualNode(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateClusterVirtualNodeResponse`
469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 |
# File 'lib/v20180525/client.rb', line 469 def CreateClusterVirtualNode(request) body = send_request('CreateClusterVirtualNode', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateClusterVirtualNodeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateClusterVirtualNodePool(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateClusterVirtualNodePoolResponse`
493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 |
# File 'lib/v20180525/client.rb', line 493 def CreateClusterVirtualNodePool(request) body = send_request('CreateClusterVirtualNodePool', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateClusterVirtualNodePoolResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateECMInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateECMInstancesResponse`
517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 |
# File 'lib/v20180525/client.rb', line 517 def CreateECMInstances(request) body = send_request('CreateECMInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateECMInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateEdgeCVMInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateEdgeCVMInstancesResponse`
589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 |
# File 'lib/v20180525/client.rb', line 589 def CreateEdgeCVMInstances(request) body = send_request('CreateEdgeCVMInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateEdgeCVMInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateEdgeLogConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateEdgeLogConfigResponse`
613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 |
# File 'lib/v20180525/client.rb', line 613 def CreateEdgeLogConfig(request) body = send_request('CreateEdgeLogConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateEdgeLogConfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateEKSCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateEKSClusterResponse`
541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 |
# File 'lib/v20180525/client.rb', line 541 def CreateEKSCluster(request) body = send_request('CreateEKSCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateEKSClusterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateEKSContainerInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateEKSContainerInstancesResponse`
565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 |
# File 'lib/v20180525/client.rb', line 565 def CreateEKSContainerInstances(request) body = send_request('CreateEKSContainerInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateEKSContainerInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateEksLogConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateEksLogConfigResponse`
637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 |
# File 'lib/v20180525/client.rb', line 637 def CreateEksLogConfig(request) body = send_request('CreateEksLogConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateEksLogConfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateImageCache(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateImageCacheResponse`
661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 |
# File 'lib/v20180525/client.rb', line 661 def CreateImageCache(request) body = send_request('CreateImageCache', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateImageCacheResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreatePrometheusAlertPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreatePrometheusAlertPolicyResponse`
685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 |
# File 'lib/v20180525/client.rb', line 685 def CreatePrometheusAlertPolicy(request) body = send_request('CreatePrometheusAlertPolicy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreatePrometheusAlertPolicyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreatePrometheusAlertRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreatePrometheusAlertRuleResponse`
709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 |
# File 'lib/v20180525/client.rb', line 709 def CreatePrometheusAlertRule(request) body = send_request('CreatePrometheusAlertRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreatePrometheusAlertRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreatePrometheusClusterAgent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreatePrometheusClusterAgentResponse`
733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 |
# File 'lib/v20180525/client.rb', line 733 def CreatePrometheusClusterAgent(request) body = send_request('CreatePrometheusClusterAgent', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreatePrometheusClusterAgentResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreatePrometheusConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreatePrometheusConfigResponse`
757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 |
# File 'lib/v20180525/client.rb', line 757 def CreatePrometheusConfig(request) body = send_request('CreatePrometheusConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreatePrometheusConfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreatePrometheusDashboard(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreatePrometheusDashboardResponse`
781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 |
# File 'lib/v20180525/client.rb', line 781 def CreatePrometheusDashboard(request) body = send_request('CreatePrometheusDashboard', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreatePrometheusDashboardResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreatePrometheusGlobalNotification(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreatePrometheusGlobalNotificationResponse`
805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 |
# File 'lib/v20180525/client.rb', line 805 def CreatePrometheusGlobalNotification(request) body = send_request('CreatePrometheusGlobalNotification', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreatePrometheusGlobalNotificationResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreatePrometheusRecordRuleYaml(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreatePrometheusRecordRuleYamlResponse`
829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 |
# File 'lib/v20180525/client.rb', line 829 def CreatePrometheusRecordRuleYaml(request) body = send_request('CreatePrometheusRecordRuleYaml', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreatePrometheusRecordRuleYamlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreatePrometheusTemp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreatePrometheusTempResponse`
853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 |
# File 'lib/v20180525/client.rb', line 853 def CreatePrometheusTemp(request) body = send_request('CreatePrometheusTemp', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreatePrometheusTempResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreatePrometheusTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreatePrometheusTemplateResponse`
877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 |
# File 'lib/v20180525/client.rb', line 877 def CreatePrometheusTemplate(request) body = send_request('CreatePrometheusTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreatePrometheusTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateReservedInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateReservedInstancesResponse`
901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'lib/v20180525/client.rb', line 901 def CreateReservedInstances(request) body = send_request('CreateReservedInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateReservedInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateTKEEdgeCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::CreateTKEEdgeClusterResponse`
925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 |
# File 'lib/v20180525/client.rb', line 925 def CreateTKEEdgeCluster(request) body = send_request('CreateTKEEdgeCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateTKEEdgeClusterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteAddon(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteAddonResponse`
949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 |
# File 'lib/v20180525/client.rb', line 949 def DeleteAddon(request) body = send_request('DeleteAddon', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteAddonResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteBackupStorageLocation(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteBackupStorageLocationResponse`
973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 |
# File 'lib/v20180525/client.rb', line 973 def DeleteBackupStorageLocation(request) body = send_request('DeleteBackupStorageLocation', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteBackupStorageLocationResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteClusterResponse`
997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 |
# File 'lib/v20180525/client.rb', line 997 def DeleteCluster(request) body = send_request('DeleteCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteClusterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteClusterAsGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteClusterAsGroupsResponse`
1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 |
# File 'lib/v20180525/client.rb', line 1021 def DeleteClusterAsGroups(request) body = send_request('DeleteClusterAsGroups', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteClusterAsGroupsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteClusterEndpoint(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteClusterEndpointResponse`
1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 |
# File 'lib/v20180525/client.rb', line 1045 def DeleteClusterEndpoint(request) body = send_request('DeleteClusterEndpoint', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteClusterEndpointResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteClusterEndpointVip(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteClusterEndpointVipResponse`
1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 |
# File 'lib/v20180525/client.rb', line 1069 def DeleteClusterEndpointVip(request) body = send_request('DeleteClusterEndpointVip', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteClusterEndpointVipResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteClusterInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteClusterInstancesResponse`
1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 |
# File 'lib/v20180525/client.rb', line 1093 def DeleteClusterInstances(request) body = send_request('DeleteClusterInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteClusterInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteClusterNodePool(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteClusterNodePoolResponse`
1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 |
# File 'lib/v20180525/client.rb', line 1117 def DeleteClusterNodePool(request) body = send_request('DeleteClusterNodePool', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteClusterNodePoolResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteClusterRoute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteClusterRouteResponse`
1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 |
# File 'lib/v20180525/client.rb', line 1141 def DeleteClusterRoute(request) body = send_request('DeleteClusterRoute', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteClusterRouteResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteClusterRouteTable(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteClusterRouteTableResponse`
1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 |
# File 'lib/v20180525/client.rb', line 1165 def DeleteClusterRouteTable(request) body = send_request('DeleteClusterRouteTable', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteClusterRouteTableResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteClusterVirtualNode(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteClusterVirtualNodeResponse`
1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 |
# File 'lib/v20180525/client.rb', line 1189 def DeleteClusterVirtualNode(request) body = send_request('DeleteClusterVirtualNode', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteClusterVirtualNodeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteClusterVirtualNodePool(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteClusterVirtualNodePoolResponse`
1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 |
# File 'lib/v20180525/client.rb', line 1213 def DeleteClusterVirtualNodePool(request) body = send_request('DeleteClusterVirtualNodePool', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteClusterVirtualNodePoolResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteECMInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteECMInstancesResponse`
1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 |
# File 'lib/v20180525/client.rb', line 1237 def DeleteECMInstances(request) body = send_request('DeleteECMInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteECMInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteEdgeClusterInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteEdgeClusterInstancesResponse`
1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 |
# File 'lib/v20180525/client.rb', line 1333 def DeleteEdgeClusterInstances(request) body = send_request('DeleteEdgeClusterInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteEdgeClusterInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteEdgeCVMInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteEdgeCVMInstancesResponse`
1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 |
# File 'lib/v20180525/client.rb', line 1309 def DeleteEdgeCVMInstances(request) body = send_request('DeleteEdgeCVMInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteEdgeCVMInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteEKSCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteEKSClusterResponse`
1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 |
# File 'lib/v20180525/client.rb', line 1261 def DeleteEKSCluster(request) body = send_request('DeleteEKSCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteEKSClusterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteEKSContainerInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteEKSContainerInstancesResponse`
1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 |
# File 'lib/v20180525/client.rb', line 1285 def DeleteEKSContainerInstances(request) body = send_request('DeleteEKSContainerInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteEKSContainerInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteImageCaches(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteImageCachesResponse`
1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 |
# File 'lib/v20180525/client.rb', line 1357 def DeleteImageCaches(request) body = send_request('DeleteImageCaches', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteImageCachesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteLogConfigs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteLogConfigsResponse`
1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 |
# File 'lib/v20180525/client.rb', line 1381 def DeleteLogConfigs(request) body = send_request('DeleteLogConfigs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteLogConfigsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeletePrometheusAlertPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeletePrometheusAlertPolicyResponse`
1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 |
# File 'lib/v20180525/client.rb', line 1405 def DeletePrometheusAlertPolicy(request) body = send_request('DeletePrometheusAlertPolicy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeletePrometheusAlertPolicyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeletePrometheusAlertRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeletePrometheusAlertRuleResponse`
1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 |
# File 'lib/v20180525/client.rb', line 1429 def DeletePrometheusAlertRule(request) body = send_request('DeletePrometheusAlertRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeletePrometheusAlertRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeletePrometheusClusterAgent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeletePrometheusClusterAgentResponse`
1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 |
# File 'lib/v20180525/client.rb', line 1453 def DeletePrometheusClusterAgent(request) body = send_request('DeletePrometheusClusterAgent', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeletePrometheusClusterAgentResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeletePrometheusConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeletePrometheusConfigResponse`
1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 |
# File 'lib/v20180525/client.rb', line 1477 def DeletePrometheusConfig(request) body = send_request('DeletePrometheusConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeletePrometheusConfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeletePrometheusRecordRuleYaml(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeletePrometheusRecordRuleYamlResponse`
1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 |
# File 'lib/v20180525/client.rb', line 1501 def DeletePrometheusRecordRuleYaml(request) body = send_request('DeletePrometheusRecordRuleYaml', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeletePrometheusRecordRuleYamlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeletePrometheusTemp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeletePrometheusTempResponse`
1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 |
# File 'lib/v20180525/client.rb', line 1525 def DeletePrometheusTemp(request) body = send_request('DeletePrometheusTemp', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeletePrometheusTempResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeletePrometheusTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeletePrometheusTemplateResponse`
1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 |
# File 'lib/v20180525/client.rb', line 1573 def DeletePrometheusTemplate(request) body = send_request('DeletePrometheusTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeletePrometheusTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeletePrometheusTemplateSync(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeletePrometheusTemplateSyncResponse`
1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 |
# File 'lib/v20180525/client.rb', line 1597 def DeletePrometheusTemplateSync(request) body = send_request('DeletePrometheusTemplateSync', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeletePrometheusTemplateSyncResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeletePrometheusTempSync(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeletePrometheusTempSyncResponse`
1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 |
# File 'lib/v20180525/client.rb', line 1549 def DeletePrometheusTempSync(request) body = send_request('DeletePrometheusTempSync', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeletePrometheusTempSyncResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteReservedInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteReservedInstancesResponse`
1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 |
# File 'lib/v20180525/client.rb', line 1621 def DeleteReservedInstances(request) body = send_request('DeleteReservedInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteReservedInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteTKEEdgeCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DeleteTKEEdgeClusterResponse`
1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 |
# File 'lib/v20180525/client.rb', line 1645 def DeleteTKEEdgeCluster(request) body = send_request('DeleteTKEEdgeCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteTKEEdgeClusterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAddon(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeAddonResponse`
1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 |
# File 'lib/v20180525/client.rb', line 1669 def DescribeAddon(request) body = send_request('DescribeAddon', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAddonResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAddonValues(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeAddonValuesResponse`
1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 |
# File 'lib/v20180525/client.rb', line 1693 def DescribeAddonValues(request) body = send_request('DescribeAddonValues', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAddonValuesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAvailableClusterVersion(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeAvailableClusterVersionResponse`
1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 |
# File 'lib/v20180525/client.rb', line 1717 def DescribeAvailableClusterVersion(request) body = send_request('DescribeAvailableClusterVersion', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAvailableClusterVersionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAvailableTKEEdgeVersion(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeAvailableTKEEdgeVersionResponse`
1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 |
# File 'lib/v20180525/client.rb', line 1741 def DescribeAvailableTKEEdgeVersion(request) body = send_request('DescribeAvailableTKEEdgeVersion', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAvailableTKEEdgeVersionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeBackupStorageLocations(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeBackupStorageLocationsResponse`
1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 |
# File 'lib/v20180525/client.rb', line 1765 def DescribeBackupStorageLocations(request) body = send_request('DescribeBackupStorageLocations', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBackupStorageLocationsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeBatchModifyTagsStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeBatchModifyTagsStatusResponse`
1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 |
# File 'lib/v20180525/client.rb', line 1789 def DescribeBatchModifyTagsStatus(request) body = send_request('DescribeBatchModifyTagsStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBatchModifyTagsStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterAsGroupOption(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterAsGroupOptionResponse`
1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 |
# File 'lib/v20180525/client.rb', line 1813 def DescribeClusterAsGroupOption(request) body = send_request('DescribeClusterAsGroupOption', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterAsGroupOptionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterAsGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterAsGroupsResponse`
1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 |
# File 'lib/v20180525/client.rb', line 1837 def DescribeClusterAsGroups(request) body = send_request('DescribeClusterAsGroups', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterAsGroupsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterAuthenticationOptions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterAuthenticationOptionsResponse`
1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 |
# File 'lib/v20180525/client.rb', line 1861 def DescribeClusterAuthenticationOptions(request) body = send_request('DescribeClusterAuthenticationOptions', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterAuthenticationOptionsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterCommonNames(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterCommonNamesResponse`
1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 |
# File 'lib/v20180525/client.rb', line 1885 def DescribeClusterCommonNames(request) body = send_request('DescribeClusterCommonNames', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterCommonNamesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterControllers(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterControllersResponse`
1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 |
# File 'lib/v20180525/client.rb', line 1909 def DescribeClusterControllers(request) body = send_request('DescribeClusterControllers', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterControllersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterEndpoints(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterEndpointsResponse`
1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 |
# File 'lib/v20180525/client.rb', line 1981 def DescribeClusterEndpoints(request) body = send_request('DescribeClusterEndpoints', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterEndpointsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterEndpointStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterEndpointStatusResponse`
1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 |
# File 'lib/v20180525/client.rb', line 1933 def DescribeClusterEndpointStatus(request) body = send_request('DescribeClusterEndpointStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterEndpointStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterEndpointVipStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterEndpointVipStatusResponse`
1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 |
# File 'lib/v20180525/client.rb', line 1957 def DescribeClusterEndpointVipStatus(request) body = send_request('DescribeClusterEndpointVipStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterEndpointVipStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterExtraArgs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterExtraArgsResponse`
2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 |
# File 'lib/v20180525/client.rb', line 2005 def DescribeClusterExtraArgs(request) body = send_request('DescribeClusterExtraArgs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterExtraArgsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterInspectionResultsOverview(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterInspectionResultsOverviewResponse`
2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 |
# File 'lib/v20180525/client.rb', line 2029 def DescribeClusterInspectionResultsOverview(request) body = send_request('DescribeClusterInspectionResultsOverview', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterInspectionResultsOverviewResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterInstancesResponse`
2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 |
# File 'lib/v20180525/client.rb', line 2053 def DescribeClusterInstances(request) body = send_request('DescribeClusterInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterKubeconfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterKubeconfigResponse`
2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 |
# File 'lib/v20180525/client.rb', line 2077 def DescribeClusterKubeconfig(request) body = send_request('DescribeClusterKubeconfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterKubeconfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterLevelAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterLevelAttributeResponse`
2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 |
# File 'lib/v20180525/client.rb', line 2101 def DescribeClusterLevelAttribute(request) body = send_request('DescribeClusterLevelAttribute', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterLevelAttributeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterLevelChangeRecords(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterLevelChangeRecordsResponse`
2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 |
# File 'lib/v20180525/client.rb', line 2125 def DescribeClusterLevelChangeRecords(request) body = send_request('DescribeClusterLevelChangeRecords', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterLevelChangeRecordsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterNodePoolDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterNodePoolDetailResponse`
2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 |
# File 'lib/v20180525/client.rb', line 2149 def DescribeClusterNodePoolDetail(request) body = send_request('DescribeClusterNodePoolDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterNodePoolDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterNodePools(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterNodePoolsResponse`
2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 |
# File 'lib/v20180525/client.rb', line 2173 def DescribeClusterNodePools(request) body = send_request('DescribeClusterNodePools', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterNodePoolsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterPendingReleases(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterPendingReleasesResponse`
2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 |
# File 'lib/v20180525/client.rb', line 2197 def DescribeClusterPendingReleases(request) body = send_request('DescribeClusterPendingReleases', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterPendingReleasesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterReleaseDetails(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterReleaseDetailsResponse`
2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 |
# File 'lib/v20180525/client.rb', line 2221 def DescribeClusterReleaseDetails(request) body = send_request('DescribeClusterReleaseDetails', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterReleaseDetailsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterReleaseHistory(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterReleaseHistoryResponse`
2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 |
# File 'lib/v20180525/client.rb', line 2245 def DescribeClusterReleaseHistory(request) body = send_request('DescribeClusterReleaseHistory', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterReleaseHistoryResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterReleases(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterReleasesResponse`
2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 |
# File 'lib/v20180525/client.rb', line 2269 def DescribeClusterReleases(request) body = send_request('DescribeClusterReleases', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterReleasesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterRoutes(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterRoutesResponse`
2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 |
# File 'lib/v20180525/client.rb', line 2317 def DescribeClusterRoutes(request) body = send_request('DescribeClusterRoutes', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterRoutesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterRouteTables(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterRouteTablesResponse`
2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 |
# File 'lib/v20180525/client.rb', line 2293 def DescribeClusterRouteTables(request) body = send_request('DescribeClusterRouteTables', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterRouteTablesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::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::tke::V20180525::DescribeClustersResponse`
2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 |
# File 'lib/v20180525/client.rb', line 2437 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 |
#DescribeClusterSecurity(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterSecurityResponse`
2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 |
# File 'lib/v20180525/client.rb', line 2341 def DescribeClusterSecurity(request) body = send_request('DescribeClusterSecurity', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterSecurityResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterStatusResponse`
2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 |
# File 'lib/v20180525/client.rb', line 2365 def DescribeClusterStatus(request) body = send_request('DescribeClusterStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterVirtualNode(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterVirtualNodeResponse`
2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 |
# File 'lib/v20180525/client.rb', line 2389 def DescribeClusterVirtualNode(request) body = send_request('DescribeClusterVirtualNode', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterVirtualNodeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterVirtualNodePools(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeClusterVirtualNodePoolsResponse`
2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 |
# File 'lib/v20180525/client.rb', line 2413 def DescribeClusterVirtualNodePools(request) body = send_request('DescribeClusterVirtualNodePools', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterVirtualNodePoolsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeECMInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeECMInstancesResponse`
2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 |
# File 'lib/v20180525/client.rb', line 2461 def DescribeECMInstances(request) body = send_request('DescribeECMInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeECMInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeEdgeAvailableExtraArgs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEdgeAvailableExtraArgsResponse`
2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 |
# File 'lib/v20180525/client.rb', line 2605 def DescribeEdgeAvailableExtraArgs(request) body = send_request('DescribeEdgeAvailableExtraArgs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeEdgeAvailableExtraArgsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeEdgeClusterExtraArgs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEdgeClusterExtraArgsResponse`
2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 |
# File 'lib/v20180525/client.rb', line 2653 def DescribeEdgeClusterExtraArgs(request) body = send_request('DescribeEdgeClusterExtraArgs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeEdgeClusterExtraArgsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeEdgeClusterInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEdgeClusterInstancesResponse`
2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 |
# File 'lib/v20180525/client.rb', line 2677 def DescribeEdgeClusterInstances(request) body = send_request('DescribeEdgeClusterInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeEdgeClusterInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeEdgeClusterUpgradeInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEdgeClusterUpgradeInfoResponse`
2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 |
# File 'lib/v20180525/client.rb', line 2701 def DescribeEdgeClusterUpgradeInfo(request) body = send_request('DescribeEdgeClusterUpgradeInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeEdgeClusterUpgradeInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeEdgeCVMInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEdgeCVMInstancesResponse`
2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 |
# File 'lib/v20180525/client.rb', line 2629 def DescribeEdgeCVMInstances(request) body = send_request('DescribeEdgeCVMInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeEdgeCVMInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeEdgeLogSwitches(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEdgeLogSwitchesResponse`
2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 |
# File 'lib/v20180525/client.rb', line 2725 def DescribeEdgeLogSwitches(request) body = send_request('DescribeEdgeLogSwitches', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeEdgeLogSwitchesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeEKSClusterCredential(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEKSClusterCredentialResponse`
2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 |
# File 'lib/v20180525/client.rb', line 2485 def DescribeEKSClusterCredential(request) body = send_request('DescribeEKSClusterCredential', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeEKSClusterCredentialResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeEKSClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEKSClustersResponse`
2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 |
# File 'lib/v20180525/client.rb', line 2509 def DescribeEKSClusters(request) body = send_request('DescribeEKSClusters', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeEKSClustersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeEKSContainerInstanceEvent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEKSContainerInstanceEventResponse`
2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 |
# File 'lib/v20180525/client.rb', line 2533 def DescribeEKSContainerInstanceEvent(request) body = send_request('DescribeEKSContainerInstanceEvent', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeEKSContainerInstanceEventResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeEksContainerInstanceLog(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEksContainerInstanceLogResponse`
2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 |
# File 'lib/v20180525/client.rb', line 2749 def DescribeEksContainerInstanceLog(request) body = send_request('DescribeEksContainerInstanceLog', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeEksContainerInstanceLogResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeEKSContainerInstanceRegions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEKSContainerInstanceRegionsResponse`
2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 |
# File 'lib/v20180525/client.rb', line 2557 def DescribeEKSContainerInstanceRegions(request) body = send_request('DescribeEKSContainerInstanceRegions', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeEKSContainerInstanceRegionsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeEKSContainerInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEKSContainerInstancesResponse`
2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 |
# File 'lib/v20180525/client.rb', line 2581 def DescribeEKSContainerInstances(request) body = send_request('DescribeEKSContainerInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeEKSContainerInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeEnableVpcCniProgress(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEnableVpcCniProgressResponse`
2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 |
# File 'lib/v20180525/client.rb', line 2773 def DescribeEnableVpcCniProgress(request) body = send_request('DescribeEnableVpcCniProgress', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeEnableVpcCniProgressResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeEncryptionStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeEncryptionStatusResponse`
2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 |
# File 'lib/v20180525/client.rb', line 2797 def DescribeEncryptionStatus(request) body = send_request('DescribeEncryptionStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeEncryptionStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeExistedInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeExistedInstancesResponse`
2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'lib/v20180525/client.rb', line 2821 def DescribeExistedInstances(request) body = send_request('DescribeExistedInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeExistedInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeExternalNodeSupportConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeExternalNodeSupportConfigResponse`
2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 |
# File 'lib/v20180525/client.rb', line 2845 def DescribeExternalNodeSupportConfig(request) body = send_request('DescribeExternalNodeSupportConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeExternalNodeSupportConfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeImageCaches(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeImageCachesResponse`
2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 |
# File 'lib/v20180525/client.rb', line 2893 def DescribeImageCaches(request) body = send_request('DescribeImageCaches', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeImageCachesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeImages(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeImagesResponse`
2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 |
# File 'lib/v20180525/client.rb', line 2917 def DescribeImages(request) body = send_request('DescribeImages', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeImagesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeIPAMD(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeIPAMDResponse`
2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 |
# File 'lib/v20180525/client.rb', line 2869 def DescribeIPAMD(request) body = send_request('DescribeIPAMD', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeIPAMDResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeLogConfigs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeLogConfigsResponse`
2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 |
# File 'lib/v20180525/client.rb', line 2941 def DescribeLogConfigs(request) body = send_request('DescribeLogConfigs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeLogConfigsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeLogSwitches(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeLogSwitchesResponse`
2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 |
# File 'lib/v20180525/client.rb', line 2965 def DescribeLogSwitches(request) body = send_request('DescribeLogSwitches', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeLogSwitchesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeOpenPolicyList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeOpenPolicyListResponse`
2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 |
# File 'lib/v20180525/client.rb', line 2989 def DescribeOpenPolicyList(request) body = send_request('DescribeOpenPolicyList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeOpenPolicyListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePodChargeInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePodChargeInfoResponse`
3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 |
# File 'lib/v20180525/client.rb', line 3013 def DescribePodChargeInfo(request) body = send_request('DescribePodChargeInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePodChargeInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePodDeductionRate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePodDeductionRateResponse`
3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 |
# File 'lib/v20180525/client.rb', line 3037 def DescribePodDeductionRate(request) body = send_request('DescribePodDeductionRate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePodDeductionRateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePodsBySpec(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePodsBySpecResponse`
3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 |
# File 'lib/v20180525/client.rb', line 3061 def DescribePodsBySpec(request) body = send_request('DescribePodsBySpec', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePodsBySpecResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePostNodeResources(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePostNodeResourcesResponse`
3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 |
# File 'lib/v20180525/client.rb', line 3085 def DescribePostNodeResources(request) body = send_request('DescribePostNodeResources', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePostNodeResourcesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePrometheusAgentInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusAgentInstancesResponse`
3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 |
# File 'lib/v20180525/client.rb', line 3109 def DescribePrometheusAgentInstances(request) body = send_request('DescribePrometheusAgentInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePrometheusAgentInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePrometheusAgents(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusAgentsResponse`
3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 |
# File 'lib/v20180525/client.rb', line 3133 def DescribePrometheusAgents(request) body = send_request('DescribePrometheusAgents', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePrometheusAgentsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePrometheusAlertHistory(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusAlertHistoryResponse`
3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 |
# File 'lib/v20180525/client.rb', line 3157 def DescribePrometheusAlertHistory(request) body = send_request('DescribePrometheusAlertHistory', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePrometheusAlertHistoryResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePrometheusAlertPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusAlertPolicyResponse`
3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 |
# File 'lib/v20180525/client.rb', line 3181 def DescribePrometheusAlertPolicy(request) body = send_request('DescribePrometheusAlertPolicy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePrometheusAlertPolicyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePrometheusAlertRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusAlertRuleResponse`
3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 |
# File 'lib/v20180525/client.rb', line 3205 def DescribePrometheusAlertRule(request) body = send_request('DescribePrometheusAlertRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePrometheusAlertRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePrometheusClusterAgents(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusClusterAgentsResponse`
3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 |
# File 'lib/v20180525/client.rb', line 3229 def DescribePrometheusClusterAgents(request) body = send_request('DescribePrometheusClusterAgents', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePrometheusClusterAgentsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePrometheusConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusConfigResponse`
3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 |
# File 'lib/v20180525/client.rb', line 3253 def DescribePrometheusConfig(request) body = send_request('DescribePrometheusConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePrometheusConfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePrometheusGlobalConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusGlobalConfigResponse`
3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 |
# File 'lib/v20180525/client.rb', line 3277 def DescribePrometheusGlobalConfig(request) body = send_request('DescribePrometheusGlobalConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePrometheusGlobalConfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePrometheusGlobalNotification(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusGlobalNotificationResponse`
3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 |
# File 'lib/v20180525/client.rb', line 3301 def DescribePrometheusGlobalNotification(request) body = send_request('DescribePrometheusGlobalNotification', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePrometheusGlobalNotificationResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePrometheusInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusInstanceResponse`
3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 |
# File 'lib/v20180525/client.rb', line 3325 def DescribePrometheusInstance(request) body = send_request('DescribePrometheusInstance', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePrometheusInstanceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePrometheusInstanceInitStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusInstanceInitStatusResponse`
3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 |
# File 'lib/v20180525/client.rb', line 3349 def DescribePrometheusInstanceInitStatus(request) body = send_request('DescribePrometheusInstanceInitStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePrometheusInstanceInitStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePrometheusInstancesOverview(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusInstancesOverviewResponse`
3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 |
# File 'lib/v20180525/client.rb', line 3373 def DescribePrometheusInstancesOverview(request) body = send_request('DescribePrometheusInstancesOverview', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePrometheusInstancesOverviewResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePrometheusOverviews(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusOverviewsResponse`
3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 |
# File 'lib/v20180525/client.rb', line 3397 def DescribePrometheusOverviews(request) body = send_request('DescribePrometheusOverviews', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePrometheusOverviewsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePrometheusRecordRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusRecordRulesResponse`
3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 |
# File 'lib/v20180525/client.rb', line 3421 def DescribePrometheusRecordRules(request) body = send_request('DescribePrometheusRecordRules', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePrometheusRecordRulesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePrometheusTargets(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusTargetsResponse`
3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 |
# File 'lib/v20180525/client.rb', line 3445 def DescribePrometheusTargets(request) body = send_request('DescribePrometheusTargets', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePrometheusTargetsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePrometheusTemp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusTempResponse`
3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 |
# File 'lib/v20180525/client.rb', line 3469 def DescribePrometheusTemp(request) body = send_request('DescribePrometheusTemp', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePrometheusTempResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePrometheusTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusTemplatesResponse`
3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 |
# File 'lib/v20180525/client.rb', line 3541 def DescribePrometheusTemplates(request) body = send_request('DescribePrometheusTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePrometheusTemplatesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePrometheusTemplateSync(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusTemplateSyncResponse`
3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 |
# File 'lib/v20180525/client.rb', line 3517 def DescribePrometheusTemplateSync(request) body = send_request('DescribePrometheusTemplateSync', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePrometheusTemplateSyncResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePrometheusTempSync(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribePrometheusTempSyncResponse`
3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 |
# File 'lib/v20180525/client.rb', line 3493 def DescribePrometheusTempSync(request) body = send_request('DescribePrometheusTempSync', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePrometheusTempSyncResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRegions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeRegionsResponse`
3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 |
# File 'lib/v20180525/client.rb', line 3589 def DescribeRegions(request) body = send_request('DescribeRegions', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRegionsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeReservedInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeReservedInstancesResponse`
3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 |
# File 'lib/v20180525/client.rb', line 3637 def DescribeReservedInstances(request) body = send_request('DescribeReservedInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeReservedInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeReservedInstanceUtilizationRate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeReservedInstanceUtilizationRateResponse`
3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 |
# File 'lib/v20180525/client.rb', line 3613 def DescribeReservedInstanceUtilizationRate(request) body = send_request('DescribeReservedInstanceUtilizationRate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeReservedInstanceUtilizationRateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeResourceUsage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeResourceUsageResponse`
3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 |
# File 'lib/v20180525/client.rb', line 3661 def DescribeResourceUsage(request) body = send_request('DescribeResourceUsage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeResourceUsageResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRIUtilizationDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeRIUtilizationDetailResponse`
3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 |
# File 'lib/v20180525/client.rb', line 3565 def DescribeRIUtilizationDetail(request) body = send_request('DescribeRIUtilizationDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRIUtilizationDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRouteTableConflicts(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeRouteTableConflictsResponse`
3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 |
# File 'lib/v20180525/client.rb', line 3685 def DescribeRouteTableConflicts(request) body = send_request('DescribeRouteTableConflicts', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRouteTableConflictsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeSupportedRuntime(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeSupportedRuntimeResponse`
3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 |
# File 'lib/v20180525/client.rb', line 3709 def DescribeSupportedRuntime(request) body = send_request('DescribeSupportedRuntime', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSupportedRuntimeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTKEEdgeClusterCredential(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeTKEEdgeClusterCredentialResponse`
3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 |
# File 'lib/v20180525/client.rb', line 3733 def DescribeTKEEdgeClusterCredential(request) body = send_request('DescribeTKEEdgeClusterCredential', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTKEEdgeClusterCredentialResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTKEEdgeClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeTKEEdgeClustersResponse`
3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 |
# File 'lib/v20180525/client.rb', line 3781 def DescribeTKEEdgeClusters(request) body = send_request('DescribeTKEEdgeClusters', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTKEEdgeClustersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTKEEdgeClusterStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeTKEEdgeClusterStatusResponse`
3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 |
# File 'lib/v20180525/client.rb', line 3757 def DescribeTKEEdgeClusterStatus(request) body = send_request('DescribeTKEEdgeClusterStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTKEEdgeClusterStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTKEEdgeExternalKubeconfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeTKEEdgeExternalKubeconfigResponse`
3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 |
# File 'lib/v20180525/client.rb', line 3805 def DescribeTKEEdgeExternalKubeconfig(request) body = send_request('DescribeTKEEdgeExternalKubeconfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTKEEdgeExternalKubeconfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTKEEdgeScript(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeTKEEdgeScriptResponse`
3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 |
# File 'lib/v20180525/client.rb', line 3829 def DescribeTKEEdgeScript(request) body = send_request('DescribeTKEEdgeScript', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTKEEdgeScriptResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeVersions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeVersionsResponse`
3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 |
# File 'lib/v20180525/client.rb', line 3853 def DescribeVersions(request) body = send_request('DescribeVersions', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeVersionsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeVpcCniPodLimits(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DescribeVpcCniPodLimitsResponse`
3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 |
# File 'lib/v20180525/client.rb', line 3877 def DescribeVpcCniPodLimits(request) body = send_request('DescribeVpcCniPodLimits', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeVpcCniPodLimitsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DisableClusterAudit(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DisableClusterAuditResponse`
3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 |
# File 'lib/v20180525/client.rb', line 3901 def DisableClusterAudit(request) body = send_request('DisableClusterAudit', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DisableClusterAuditResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DisableClusterDeletionProtection(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DisableClusterDeletionProtectionResponse`
3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 |
# File 'lib/v20180525/client.rb', line 3925 def DisableClusterDeletionProtection(request) body = send_request('DisableClusterDeletionProtection', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DisableClusterDeletionProtectionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DisableEncryptionProtection(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DisableEncryptionProtectionResponse`
3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 |
# File 'lib/v20180525/client.rb', line 3949 def DisableEncryptionProtection(request) body = send_request('DisableEncryptionProtection', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DisableEncryptionProtectionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DisableEventPersistence(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DisableEventPersistenceResponse`
3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 |
# File 'lib/v20180525/client.rb', line 3973 def DisableEventPersistence(request) body = send_request('DisableEventPersistence', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DisableEventPersistenceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DisableVpcCniNetworkType(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DisableVpcCniNetworkTypeResponse`
3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 |
# File 'lib/v20180525/client.rb', line 3997 def DisableVpcCniNetworkType(request) body = send_request('DisableVpcCniNetworkType', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DisableVpcCniNetworkTypeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DrainClusterVirtualNode(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::DrainClusterVirtualNodeResponse`
4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 |
# File 'lib/v20180525/client.rb', line 4021 def DrainClusterVirtualNode(request) body = send_request('DrainClusterVirtualNode', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DrainClusterVirtualNodeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#EnableClusterAudit(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::EnableClusterAuditResponse`
4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 |
# File 'lib/v20180525/client.rb', line 4045 def EnableClusterAudit(request) body = send_request('EnableClusterAudit', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = EnableClusterAuditResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#EnableClusterDeletionProtection(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::EnableClusterDeletionProtectionResponse`
4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 |
# File 'lib/v20180525/client.rb', line 4069 def EnableClusterDeletionProtection(request) body = send_request('EnableClusterDeletionProtection', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = EnableClusterDeletionProtectionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#EnableEncryptionProtection(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::EnableEncryptionProtectionResponse`
4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 |
# File 'lib/v20180525/client.rb', line 4093 def EnableEncryptionProtection(request) body = send_request('EnableEncryptionProtection', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = EnableEncryptionProtectionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#EnableEventPersistence(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::EnableEventPersistenceResponse`
4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 |
# File 'lib/v20180525/client.rb', line 4117 def EnableEventPersistence(request) body = send_request('EnableEventPersistence', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = EnableEventPersistenceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#EnableVpcCniNetworkType(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::EnableVpcCniNetworkTypeResponse`
4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 |
# File 'lib/v20180525/client.rb', line 4141 def EnableVpcCniNetworkType(request) body = send_request('EnableVpcCniNetworkType', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = EnableVpcCniNetworkTypeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ForwardApplicationRequestV3(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ForwardApplicationRequestV3Response`
4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 |
# File 'lib/v20180525/client.rb', line 4165 def ForwardApplicationRequestV3(request) body = send_request('ForwardApplicationRequestV3', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ForwardApplicationRequestV3Response.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ForwardTKEEdgeApplicationRequestV3(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ForwardTKEEdgeApplicationRequestV3Response`
4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 |
# File 'lib/v20180525/client.rb', line 4189 def ForwardTKEEdgeApplicationRequestV3(request) body = send_request('ForwardTKEEdgeApplicationRequestV3', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ForwardTKEEdgeApplicationRequestV3Response.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#GetClusterLevelPrice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::GetClusterLevelPriceResponse`
4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 |
# File 'lib/v20180525/client.rb', line 4213 def GetClusterLevelPrice(request) body = send_request('GetClusterLevelPrice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetClusterLevelPriceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#GetMostSuitableImageCache(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::GetMostSuitableImageCacheResponse`
4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 |
# File 'lib/v20180525/client.rb', line 4237 def GetMostSuitableImageCache(request) body = send_request('GetMostSuitableImageCache', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetMostSuitableImageCacheResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#GetTkeAppChartList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::GetTkeAppChartListResponse`
4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 |
# File 'lib/v20180525/client.rb', line 4261 def GetTkeAppChartList(request) body = send_request('GetTkeAppChartList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetTkeAppChartListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#GetUpgradeInstanceProgress(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::GetUpgradeInstanceProgressResponse`
4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 |
# File 'lib/v20180525/client.rb', line 4285 def GetUpgradeInstanceProgress(request) body = send_request('GetUpgradeInstanceProgress', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetUpgradeInstanceProgressResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#InstallAddon(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::InstallAddonResponse`
4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 |
# File 'lib/v20180525/client.rb', line 4309 def InstallAddon(request) body = send_request('InstallAddon', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = InstallAddonResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#InstallEdgeLogAgent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::InstallEdgeLogAgentResponse`
4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'lib/v20180525/client.rb', line 4333 def InstallEdgeLogAgent(request) body = send_request('InstallEdgeLogAgent', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = InstallEdgeLogAgentResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#InstallLogAgent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::InstallLogAgentResponse`
4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 |
# File 'lib/v20180525/client.rb', line 4357 def InstallLogAgent(request) body = send_request('InstallLogAgent', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = InstallLogAgentResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ListClusterInspectionResults(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ListClusterInspectionResultsResponse`
4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 |
# File 'lib/v20180525/client.rb', line 4381 def ListClusterInspectionResults(request) body = send_request('ListClusterInspectionResults', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListClusterInspectionResultsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ListClusterInspectionResultsItems(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ListClusterInspectionResultsItemsResponse`
4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 |
# File 'lib/v20180525/client.rb', line 4405 def ListClusterInspectionResultsItems(request) body = send_request('ListClusterInspectionResultsItems', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ListClusterInspectionResultsItemsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyClusterAsGroupAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyClusterAsGroupAttributeResponse`
4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 |
# File 'lib/v20180525/client.rb', line 4429 def ModifyClusterAsGroupAttribute(request) body = send_request('ModifyClusterAsGroupAttribute', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyClusterAsGroupAttributeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyClusterAsGroupOptionAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyClusterAsGroupOptionAttributeResponse`
4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 |
# File 'lib/v20180525/client.rb', line 4453 def ModifyClusterAsGroupOptionAttribute(request) body = send_request('ModifyClusterAsGroupOptionAttribute', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyClusterAsGroupOptionAttributeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyClusterAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyClusterAttributeResponse`
4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 |
# File 'lib/v20180525/client.rb', line 4477 def ModifyClusterAttribute(request) body = send_request('ModifyClusterAttribute', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyClusterAttributeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyClusterAuthenticationOptions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyClusterAuthenticationOptionsResponse`
4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 |
# File 'lib/v20180525/client.rb', line 4501 def ModifyClusterAuthenticationOptions(request) body = send_request('ModifyClusterAuthenticationOptions', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyClusterAuthenticationOptionsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyClusterEndpointSP(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyClusterEndpointSPResponse`
4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 |
# File 'lib/v20180525/client.rb', line 4525 def ModifyClusterEndpointSP(request) body = send_request('ModifyClusterEndpointSP', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyClusterEndpointSPResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyClusterImage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyClusterImageResponse`
4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 |
# File 'lib/v20180525/client.rb', line 4549 def ModifyClusterImage(request) body = send_request('ModifyClusterImage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyClusterImageResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyClusterNodePool(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyClusterNodePoolResponse`
4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 |
# File 'lib/v20180525/client.rb', line 4573 def ModifyClusterNodePool(request) body = send_request('ModifyClusterNodePool', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyClusterNodePoolResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyClusterRuntimeConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyClusterRuntimeConfigResponse`
4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 |
# File 'lib/v20180525/client.rb', line 4597 def ModifyClusterRuntimeConfig(request) body = send_request('ModifyClusterRuntimeConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyClusterRuntimeConfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyClusterTags(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyClusterTagsResponse`
4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 |
# File 'lib/v20180525/client.rb', line 4621 def ModifyClusterTags(request) body = send_request('ModifyClusterTags', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyClusterTagsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyClusterVirtualNodePool(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyClusterVirtualNodePoolResponse`
4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 |
# File 'lib/v20180525/client.rb', line 4645 def ModifyClusterVirtualNodePool(request) body = send_request('ModifyClusterVirtualNodePool', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyClusterVirtualNodePoolResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyNodePoolDesiredCapacityAboutAsg(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyNodePoolDesiredCapacityAboutAsgResponse`
4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 |
# File 'lib/v20180525/client.rb', line 4669 def ModifyNodePoolDesiredCapacityAboutAsg(request) body = send_request('ModifyNodePoolDesiredCapacityAboutAsg', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyNodePoolDesiredCapacityAboutAsgResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyNodePoolInstanceTypes(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyNodePoolInstanceTypesResponse`
4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 |
# File 'lib/v20180525/client.rb', line 4693 def ModifyNodePoolInstanceTypes(request) body = send_request('ModifyNodePoolInstanceTypes', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyNodePoolInstanceTypesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyOpenPolicyList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyOpenPolicyListResponse`
4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 |
# File 'lib/v20180525/client.rb', line 4717 def ModifyOpenPolicyList(request) body = send_request('ModifyOpenPolicyList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyOpenPolicyListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyPrometheusAgentExternalLabels(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyPrometheusAgentExternalLabelsResponse`
4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 |
# File 'lib/v20180525/client.rb', line 4741 def ModifyPrometheusAgentExternalLabels(request) body = send_request('ModifyPrometheusAgentExternalLabels', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyPrometheusAgentExternalLabelsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyPrometheusAlertPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyPrometheusAlertPolicyResponse`
4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 |
# File 'lib/v20180525/client.rb', line 4765 def ModifyPrometheusAlertPolicy(request) body = send_request('ModifyPrometheusAlertPolicy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyPrometheusAlertPolicyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyPrometheusAlertRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyPrometheusAlertRuleResponse`
4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 |
# File 'lib/v20180525/client.rb', line 4789 def ModifyPrometheusAlertRule(request) body = send_request('ModifyPrometheusAlertRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyPrometheusAlertRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyPrometheusConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyPrometheusConfigResponse`
4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 |
# File 'lib/v20180525/client.rb', line 4813 def ModifyPrometheusConfig(request) body = send_request('ModifyPrometheusConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyPrometheusConfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyPrometheusGlobalNotification(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyPrometheusGlobalNotificationResponse`
4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 |
# File 'lib/v20180525/client.rb', line 4837 def ModifyPrometheusGlobalNotification(request) body = send_request('ModifyPrometheusGlobalNotification', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyPrometheusGlobalNotificationResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyPrometheusRecordRuleYaml(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyPrometheusRecordRuleYamlResponse`
4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 |
# File 'lib/v20180525/client.rb', line 4861 def ModifyPrometheusRecordRuleYaml(request) body = send_request('ModifyPrometheusRecordRuleYaml', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyPrometheusRecordRuleYamlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyPrometheusTemp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyPrometheusTempResponse`
4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 |
# File 'lib/v20180525/client.rb', line 4885 def ModifyPrometheusTemp(request) body = send_request('ModifyPrometheusTemp', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyPrometheusTempResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyPrometheusTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyPrometheusTemplateResponse`
4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 |
# File 'lib/v20180525/client.rb', line 4909 def ModifyPrometheusTemplate(request) body = send_request('ModifyPrometheusTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyPrometheusTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyReservedInstanceScope(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ModifyReservedInstanceScopeResponse`
4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 |
# File 'lib/v20180525/client.rb', line 4933 def ModifyReservedInstanceScope(request) body = send_request('ModifyReservedInstanceScope', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyReservedInstanceScopeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#RemoveNodeFromNodePool(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::RemoveNodeFromNodePoolResponse`
4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 |
# File 'lib/v20180525/client.rb', line 4957 def RemoveNodeFromNodePool(request) body = send_request('RemoveNodeFromNodePool', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RemoveNodeFromNodePoolResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#RenewReservedInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::RenewReservedInstancesResponse`
4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 |
# File 'lib/v20180525/client.rb', line 4981 def RenewReservedInstances(request) body = send_request('RenewReservedInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RenewReservedInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#RestartEKSContainerInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::RestartEKSContainerInstancesResponse`
5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 |
# File 'lib/v20180525/client.rb', line 5005 def RestartEKSContainerInstances(request) body = send_request('RestartEKSContainerInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RestartEKSContainerInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#RollbackClusterRelease(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::RollbackClusterReleaseResponse`
5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 |
# File 'lib/v20180525/client.rb', line 5029 def RollbackClusterRelease(request) body = send_request('RollbackClusterRelease', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RollbackClusterReleaseResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#RunPrometheusInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::RunPrometheusInstanceResponse`
5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 |
# File 'lib/v20180525/client.rb', line 5053 def RunPrometheusInstance(request) body = send_request('RunPrometheusInstance', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RunPrometheusInstanceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ScaleInClusterMaster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ScaleInClusterMasterResponse`
5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 |
# File 'lib/v20180525/client.rb', line 5077 def ScaleInClusterMaster(request) body = send_request('ScaleInClusterMaster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ScaleInClusterMasterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ScaleOutClusterMaster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::ScaleOutClusterMasterResponse`
5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 |
# File 'lib/v20180525/client.rb', line 5101 def ScaleOutClusterMaster(request) body = send_request('ScaleOutClusterMaster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ScaleOutClusterMasterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SetNodePoolNodeProtection(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::SetNodePoolNodeProtectionResponse`
5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 |
# File 'lib/v20180525/client.rb', line 5125 def SetNodePoolNodeProtection(request) body = send_request('SetNodePoolNodeProtection', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SetNodePoolNodeProtectionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SyncPrometheusTemp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::SyncPrometheusTempResponse`
5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 |
# File 'lib/v20180525/client.rb', line 5149 def SyncPrometheusTemp(request) body = send_request('SyncPrometheusTemp', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SyncPrometheusTempResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SyncPrometheusTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::SyncPrometheusTemplateResponse`
5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 |
# File 'lib/v20180525/client.rb', line 5173 def SyncPrometheusTemplate(request) body = send_request('SyncPrometheusTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SyncPrometheusTemplateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UninstallClusterRelease(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UninstallClusterReleaseResponse`
5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 |
# File 'lib/v20180525/client.rb', line 5197 def UninstallClusterRelease(request) body = send_request('UninstallClusterRelease', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UninstallClusterReleaseResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UninstallEdgeLogAgent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UninstallEdgeLogAgentResponse`
5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 |
# File 'lib/v20180525/client.rb', line 5221 def UninstallEdgeLogAgent(request) body = send_request('UninstallEdgeLogAgent', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UninstallEdgeLogAgentResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UninstallLogAgent(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UninstallLogAgentResponse`
5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 |
# File 'lib/v20180525/client.rb', line 5245 def UninstallLogAgent(request) body = send_request('UninstallLogAgent', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UninstallLogAgentResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpdateAddon(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UpdateAddonResponse`
5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 |
# File 'lib/v20180525/client.rb', line 5269 def UpdateAddon(request) body = send_request('UpdateAddon', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateAddonResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpdateClusterKubeconfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UpdateClusterKubeconfigResponse`
5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 |
# File 'lib/v20180525/client.rb', line 5293 def UpdateClusterKubeconfig(request) body = send_request('UpdateClusterKubeconfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateClusterKubeconfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpdateClusterVersion(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UpdateClusterVersionResponse`
5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 |
# File 'lib/v20180525/client.rb', line 5317 def UpdateClusterVersion(request) body = send_request('UpdateClusterVersion', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateClusterVersionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpdateEdgeClusterVersion(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UpdateEdgeClusterVersionResponse`
5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 |
# File 'lib/v20180525/client.rb', line 5389 def UpdateEdgeClusterVersion(request) body = send_request('UpdateEdgeClusterVersion', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateEdgeClusterVersionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpdateEKSCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UpdateEKSClusterResponse`
5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 |
# File 'lib/v20180525/client.rb', line 5341 def UpdateEKSCluster(request) body = send_request('UpdateEKSCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateEKSClusterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpdateEKSContainerInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UpdateEKSContainerInstanceResponse`
5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 |
# File 'lib/v20180525/client.rb', line 5365 def UpdateEKSContainerInstance(request) body = send_request('UpdateEKSContainerInstance', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateEKSContainerInstanceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpdateImageCache(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UpdateImageCacheResponse`
5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 |
# File 'lib/v20180525/client.rb', line 5413 def UpdateImageCache(request) body = send_request('UpdateImageCache', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateImageCacheResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpdateTKEEdgeCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UpdateTKEEdgeClusterResponse`
5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 |
# File 'lib/v20180525/client.rb', line 5437 def UpdateTKEEdgeCluster(request) body = send_request('UpdateTKEEdgeCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateTKEEdgeClusterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpgradeClusterInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UpgradeClusterInstancesResponse`
5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 |
# File 'lib/v20180525/client.rb', line 5461 def UpgradeClusterInstances(request) body = send_request('UpgradeClusterInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpgradeClusterInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpgradeClusterRelease(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tke::V20180525::UpgradeClusterReleaseResponse`
5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 |
# File 'lib/v20180525/client.rb', line 5485 def UpgradeClusterRelease(request) body = send_request('UpgradeClusterRelease', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpgradeClusterReleaseResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |