tencentcloud-sdk-nodejs-intl-en 3.0.1253 → 3.0.1254
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/index.js +1 -0
- package/tencentcloud/tione/index.js +3 -0
- package/tencentcloud/tione/v20211111/index.js +4 -0
- package/tencentcloud/tione/v20211111/models.js +3189 -0
- package/tencentcloud/tione/v20211111/tione_client.js +89 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 Tencent. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
const models = require("./models");
|
|
18
|
+
const AbstractClient = require('../../common/abstract_client')
|
|
19
|
+
const Container = models.Container;
|
|
20
|
+
const Service = models.Service;
|
|
21
|
+
const HTTPGetAction = models.HTTPGetAction;
|
|
22
|
+
const RollingUpdate = models.RollingUpdate;
|
|
23
|
+
const ServiceEIP = models.ServiceEIP;
|
|
24
|
+
const ResourceGroupInfo = models.ResourceGroupInfo;
|
|
25
|
+
const ExecAction = models.ExecAction;
|
|
26
|
+
const HorizontalPodAutoscaler = models.HorizontalPodAutoscaler;
|
|
27
|
+
const PublicDataSourceFS = models.PublicDataSourceFS;
|
|
28
|
+
const AuthToken = models.AuthToken;
|
|
29
|
+
const HealthProbe = models.HealthProbe;
|
|
30
|
+
const Option = models.Option;
|
|
31
|
+
const CrossTenantENIInfo = models.CrossTenantENIInfo;
|
|
32
|
+
const AuthTokenBase = models.AuthTokenBase;
|
|
33
|
+
const TCPSocketAction = models.TCPSocketAction;
|
|
34
|
+
const ResourceInfo = models.ResourceInfo;
|
|
35
|
+
const GooseFSx = models.GooseFSx;
|
|
36
|
+
const VolumeMount = models.VolumeMount;
|
|
37
|
+
const ScheduledAction = models.ScheduledAction;
|
|
38
|
+
const DescribeModelServiceGroupsResponse = models.DescribeModelServiceGroupsResponse;
|
|
39
|
+
const InferCodeInfo = models.InferCodeInfo;
|
|
40
|
+
const CosPathInfo = models.CosPathInfo;
|
|
41
|
+
const ServiceInfo = models.ServiceInfo;
|
|
42
|
+
const SchedulingPolicy = models.SchedulingPolicy;
|
|
43
|
+
const GpuDetail = models.GpuDetail;
|
|
44
|
+
const CronScaleJob = models.CronScaleJob;
|
|
45
|
+
const Filter = models.Filter;
|
|
46
|
+
const ProbeAction = models.ProbeAction;
|
|
47
|
+
const CFSConfig = models.CFSConfig;
|
|
48
|
+
const ModelInfo = models.ModelInfo;
|
|
49
|
+
const NumOrPercent = models.NumOrPercent;
|
|
50
|
+
const TagFilter = models.TagFilter;
|
|
51
|
+
const Pod = models.Pod;
|
|
52
|
+
const DescribeModelServiceGroupsRequest = models.DescribeModelServiceGroupsRequest;
|
|
53
|
+
const ServiceGroup = models.ServiceGroup;
|
|
54
|
+
const ContainerStatus = models.ContainerStatus;
|
|
55
|
+
const ServiceLimit = models.ServiceLimit;
|
|
56
|
+
const ImageInfo = models.ImageInfo;
|
|
57
|
+
const Probe = models.Probe;
|
|
58
|
+
const AuthTokenLimit = models.AuthTokenLimit;
|
|
59
|
+
const Tag = models.Tag;
|
|
60
|
+
const EnvVar = models.EnvVar;
|
|
61
|
+
const StatefulSetCondition = models.StatefulSetCondition;
|
|
62
|
+
const LogConfig = models.LogConfig;
|
|
63
|
+
const WorkloadStatus = models.WorkloadStatus;
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* tione client
|
|
68
|
+
* @class
|
|
69
|
+
*/
|
|
70
|
+
class TioneClient extends AbstractClient {
|
|
71
|
+
|
|
72
|
+
constructor(credential, region, profile) {
|
|
73
|
+
super("tione.intl.tencentcloudapi.com", "2021-11-11", credential, region, profile);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* This API is used to list online inference service groups.
|
|
78
|
+
* @param {DescribeModelServiceGroupsRequest} req
|
|
79
|
+
* @param {function(string, DescribeModelServiceGroupsResponse):void} cb
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
DescribeModelServiceGroups(req, cb) {
|
|
83
|
+
let resp = new DescribeModelServiceGroupsResponse();
|
|
84
|
+
this.request("DescribeModelServiceGroups", req, resp, cb);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
}
|
|
89
|
+
module.exports = TioneClient;
|