Skip to content

Commit 69f31ae

Browse files
publish jdcloud-sdk-python 1.6.313
1 parent 6391ed2 commit 69f31ae

825 files changed

Lines changed: 43854 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# 更新历史 #
2+
3+
API版本:1.0.0
4+
5+
| 发布时间 | 版本号 |更新| 说明 |
6+
|------------|-------|---|-------------|
7+
| 2023-08-15 | 1.0.0 |初始版本| 1.定义初始版本API |

jdcloud_sdk/services/jdstarrocks/__init__.py

Whitespace-only changes.
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class ActiveQueryRequest(JDCloudRequest):
23+
"""
24+
活跃查询
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(ActiveQueryRequest, self).__init__(
29+
'/regions/{regionId}/apps/{appName}/activeQuery', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class ActiveQueryParameters(object):
34+
35+
def __init__(self,regionId, appName, ):
36+
"""
37+
:param regionId: 地域ID
38+
:param appName: 应用名称
39+
"""
40+
41+
self.regionId = regionId
42+
self.appName = appName
43+
self.currentPage = None
44+
self.pageSize = None
45+
self.sort = None
46+
self.order = None
47+
self.data = None
48+
49+
def setCurrentPage(self, currentPage):
50+
"""
51+
:param currentPage: (Optional) 分页页码
52+
"""
53+
self.currentPage = currentPage
54+
55+
def setPageSize(self, pageSize):
56+
"""
57+
:param pageSize: (Optional) 分页大小
58+
"""
59+
self.pageSize = pageSize
60+
61+
def setSort(self, sort):
62+
"""
63+
:param sort: (Optional) 排序字段
64+
"""
65+
self.sort = sort
66+
67+
def setOrder(self, order):
68+
"""
69+
:param order: (Optional) 排序方向
70+
"""
71+
self.order = order
72+
73+
def setData(self, data):
74+
"""
75+
:param data: (Optional)
76+
"""
77+
self.data = data
78+
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class AddCustomStarRocksUserRequest(JDCloudRequest):
23+
"""
24+
创建实例的自定义用户,独立于IAM同名用户之外,这个用户和实例操作无关,只是一个starRocks数据库的用户
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(AddCustomStarRocksUserRequest, self).__init__(
29+
'/regions/{regionId}/apps/{appName}/addCustomStarRocksUser', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class AddCustomStarRocksUserParameters(object):
34+
35+
def __init__(self,regionId, appName, projectCode, userName, passWord):
36+
"""
37+
:param regionId: 地域ID
38+
:param appName: 应用名称
39+
:param projectCode: 实例code
40+
:param userName: 用户名
41+
:param passWord: 密码
42+
"""
43+
44+
self.regionId = regionId
45+
self.appName = appName
46+
self.projectCode = projectCode
47+
self.userName = userName
48+
self.passWord = passWord
49+
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class AddExternalEnginRequest(JDCloudRequest):
23+
"""
24+
添加外部引擎
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(AddExternalEnginRequest, self).__init__(
29+
'/regions/{regionId}/apps/{appName}/addExternalEngin', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class AddExternalEnginParameters(object):
34+
35+
def __init__(self,regionId, appName, ):
36+
"""
37+
:param regionId: 地域ID
38+
:param appName: 应用名称
39+
"""
40+
41+
self.regionId = regionId
42+
self.appName = appName
43+
self.projectCode = None
44+
self.enginType = None
45+
self.restartTime = None
46+
47+
def setProjectCode(self, projectCode):
48+
"""
49+
:param projectCode: (Optional) 实例ID
50+
"""
51+
self.projectCode = projectCode
52+
53+
def setEnginType(self, enginType):
54+
"""
55+
:param enginType: (Optional) 外部引擎类型,目前仅有JCW
56+
"""
57+
self.enginType = enginType
58+
59+
def setRestartTime(self, restartTime):
60+
"""
61+
:param restartTime: (Optional) 重启时间,如果没有立即重启
62+
"""
63+
self.restartTime = restartTime
64+
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class AddInstanceNodeRequest(JDCloudRequest):
23+
"""
24+
上线实例节点
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(AddInstanceNodeRequest, self).__init__(
29+
'/regions/{regionId}/apps/{appName}/addInstanceNode', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class AddInstanceNodeParameters(object):
34+
35+
def __init__(self,regionId, appName, ):
36+
"""
37+
:param regionId: 地域ID
38+
:param appName: 应用名称
39+
"""
40+
41+
self.regionId = regionId
42+
self.appName = appName
43+
self.projectCode = None
44+
self.vmInstanceCode = None
45+
46+
def setProjectCode(self, projectCode):
47+
"""
48+
:param projectCode: (Optional) 项目实例Code
49+
"""
50+
self.projectCode = projectCode
51+
52+
def setVmInstanceCode(self, vmInstanceCode):
53+
"""
54+
:param vmInstanceCode: (Optional) 重启的实例节点ID
55+
"""
56+
self.vmInstanceCode = vmInstanceCode
57+
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class AddProjectUserRequest(JDCloudRequest):
23+
"""
24+
添加项目用户列表
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(AddProjectUserRequest, self).__init__(
29+
'/regions/{regionId}/apps/{appName}/addProjectUser', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class AddProjectUserParameters(object):
34+
35+
def __init__(self,regionId, appName, ):
36+
"""
37+
:param regionId: 地域ID
38+
:param appName: 应用名称
39+
"""
40+
41+
self.regionId = regionId
42+
self.appName = appName
43+
self.userList = None
44+
self.projectCode = None
45+
self.roleCodeList = None
46+
47+
def setUserList(self, userList):
48+
"""
49+
:param userList: (Optional) 用户列表
50+
"""
51+
self.userList = userList
52+
53+
def setProjectCode(self, projectCode):
54+
"""
55+
:param projectCode: (Optional) 项目实例code
56+
"""
57+
self.projectCode = projectCode
58+
59+
def setRoleCodeList(self, roleCodeList):
60+
"""
61+
:param roleCodeList: (Optional) 要添加的角色code
62+
"""
63+
self.roleCodeList = roleCodeList
64+
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class AddProjectWhiteRequest(JDCloudRequest):
23+
"""
24+
添加白名单
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(AddProjectWhiteRequest, self).__init__(
29+
'/regions/{regionId}/apps/{appName}/addProjectWhite', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class AddProjectWhiteParameters(object):
34+
35+
def __init__(self,regionId, appName, ):
36+
"""
37+
:param regionId: 地域ID
38+
:param appName: 应用名称
39+
"""
40+
41+
self.regionId = regionId
42+
self.appName = appName
43+
self.projectCode = None
44+
self.whiteCode = None
45+
self.whiteName = None
46+
self.whiteIp = None
47+
48+
def setProjectCode(self, projectCode):
49+
"""
50+
:param projectCode: (Optional) 项目实例Code
51+
"""
52+
self.projectCode = projectCode
53+
54+
def setWhiteCode(self, whiteCode):
55+
"""
56+
:param whiteCode: (Optional) 白名单ID
57+
"""
58+
self.whiteCode = whiteCode
59+
60+
def setWhiteName(self, whiteName):
61+
"""
62+
:param whiteName: (Optional) 白名单名称
63+
"""
64+
self.whiteName = whiteName
65+
66+
def setWhiteIp(self, whiteIp):
67+
"""
68+
:param whiteIp: (Optional) 白名单IP
69+
"""
70+
self.whiteIp = whiteIp
71+

0 commit comments

Comments
 (0)