huaweicloudsdkcae 3.1.61__py2.py3-none-any.whl → 3.1.63__py2.py3-none-any.whl
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.
Potentially problematic release.
This version of huaweicloudsdkcae might be problematic. Click here for more details.
- huaweicloudsdkcae/v1/__init__.py +2 -1
- huaweicloudsdkcae/v1/cae_async_client.py +8 -5
- huaweicloudsdkcae/v1/cae_client.py +8 -5
- huaweicloudsdkcae/v1/model/__init__.py +2 -1
- huaweicloudsdkcae/v1/model/access_control.py +8 -8
- huaweicloudsdkcae/v1/model/action_on_component_build.py +3 -3
- huaweicloudsdkcae/v1/model/build.py +3 -3
- huaweicloudsdkcae/v1/model/configuration_data_spec.py +104 -104
- huaweicloudsdkcae/v1/model/configuration_item.py +27 -27
- huaweicloudsdkcae/v1/model/{scale_configuration_data_trigger_metadata.py → cron_trigger_scheduler.py} +43 -43
- huaweicloudsdkcae/v1/model/health_check_configuration_exec.py +4 -4
- huaweicloudsdkcae/v1/model/life_cycle_configuration_exec.py +4 -4
- huaweicloudsdkcae/v1/model/scale_configuration_data_trigger.py +7 -7
- huaweicloudsdkcae/v1/model/scaling_trigger_meta.py +202 -0
- {huaweicloudsdkcae-3.1.61.dist-info → huaweicloudsdkcae-3.1.63.dist-info}/METADATA +2 -2
- {huaweicloudsdkcae-3.1.61.dist-info → huaweicloudsdkcae-3.1.63.dist-info}/RECORD +19 -18
- {huaweicloudsdkcae-3.1.61.dist-info → huaweicloudsdkcae-3.1.63.dist-info}/LICENSE +0 -0
- {huaweicloudsdkcae-3.1.61.dist-info → huaweicloudsdkcae-3.1.63.dist-info}/WHEEL +0 -0
- {huaweicloudsdkcae-3.1.61.dist-info → huaweicloudsdkcae-3.1.63.dist-info}/top_level.txt +0 -0
huaweicloudsdkcae/v1/__init__.py
CHANGED
|
@@ -78,6 +78,7 @@ from huaweicloudsdkcae.v1.model.create_timer_rule_response import CreateTimerRul
|
|
|
78
78
|
from huaweicloudsdkcae.v1.model.create_volume_req import CreateVolumeReq
|
|
79
79
|
from huaweicloudsdkcae.v1.model.create_volume_request import CreateVolumeRequest
|
|
80
80
|
from huaweicloudsdkcae.v1.model.create_volume_response import CreateVolumeResponse
|
|
81
|
+
from huaweicloudsdkcae.v1.model.cron_trigger_scheduler import CronTriggerScheduler
|
|
81
82
|
from huaweicloudsdkcae.v1.model.delete_application_request import DeleteApplicationRequest
|
|
82
83
|
from huaweicloudsdkcae.v1.model.delete_application_response import DeleteApplicationResponse
|
|
83
84
|
from huaweicloudsdkcae.v1.model.delete_certificate_request import DeleteCertificateRequest
|
|
@@ -155,7 +156,7 @@ from huaweicloudsdkcae.v1.model.resource_limit_for_upgrade import ResourceLimitF
|
|
|
155
156
|
from huaweicloudsdkcae.v1.model.retry_job_request import RetryJobRequest
|
|
156
157
|
from huaweicloudsdkcae.v1.model.retry_job_response import RetryJobResponse
|
|
157
158
|
from huaweicloudsdkcae.v1.model.scale_configuration_data_trigger import ScaleConfigurationDataTrigger
|
|
158
|
-
from huaweicloudsdkcae.v1.model.
|
|
159
|
+
from huaweicloudsdkcae.v1.model.scaling_trigger_meta import ScalingTriggerMeta
|
|
159
160
|
from huaweicloudsdkcae.v1.model.show_application_request import ShowApplicationRequest
|
|
160
161
|
from huaweicloudsdkcae.v1.model.show_application_response import ShowApplicationResponse
|
|
161
162
|
from huaweicloudsdkcae.v1.model.show_component_request import ShowComponentRequest
|
|
@@ -16,13 +16,16 @@ class CaeAsyncClient(Client):
|
|
|
16
16
|
|
|
17
17
|
@classmethod
|
|
18
18
|
def new_builder(cls, clazz=None):
|
|
19
|
-
if clazz
|
|
20
|
-
|
|
19
|
+
if not clazz:
|
|
20
|
+
client_builder = ClientBuilder(cls)
|
|
21
|
+
else:
|
|
22
|
+
if clazz.__name__ != "CaeAsyncClient":
|
|
23
|
+
raise TypeError("client type error, support client type is CaeAsyncClient")
|
|
24
|
+
client_builder = ClientBuilder(clazz)
|
|
21
25
|
|
|
22
|
-
|
|
23
|
-
raise TypeError("client type error, support client type is CaeClient")
|
|
26
|
+
|
|
24
27
|
|
|
25
|
-
return
|
|
28
|
+
return client_builder
|
|
26
29
|
|
|
27
30
|
def create_agency_async(self, request):
|
|
28
31
|
"""创建委托
|
|
@@ -16,13 +16,16 @@ class CaeClient(Client):
|
|
|
16
16
|
|
|
17
17
|
@classmethod
|
|
18
18
|
def new_builder(cls, clazz=None):
|
|
19
|
-
if clazz
|
|
20
|
-
|
|
19
|
+
if not clazz:
|
|
20
|
+
client_builder = ClientBuilder(cls)
|
|
21
|
+
else:
|
|
22
|
+
if clazz.__name__ != "CaeClient":
|
|
23
|
+
raise TypeError("client type error, support client type is CaeClient")
|
|
24
|
+
client_builder = ClientBuilder(clazz)
|
|
21
25
|
|
|
22
|
-
|
|
23
|
-
raise TypeError("client type error, support client type is CaeClient")
|
|
26
|
+
|
|
24
27
|
|
|
25
|
-
return
|
|
28
|
+
return client_builder
|
|
26
29
|
|
|
27
30
|
def create_agency(self, request):
|
|
28
31
|
"""创建委托
|
|
@@ -76,6 +76,7 @@ from huaweicloudsdkcae.v1.model.create_timer_rule_response import CreateTimerRul
|
|
|
76
76
|
from huaweicloudsdkcae.v1.model.create_volume_req import CreateVolumeReq
|
|
77
77
|
from huaweicloudsdkcae.v1.model.create_volume_request import CreateVolumeRequest
|
|
78
78
|
from huaweicloudsdkcae.v1.model.create_volume_response import CreateVolumeResponse
|
|
79
|
+
from huaweicloudsdkcae.v1.model.cron_trigger_scheduler import CronTriggerScheduler
|
|
79
80
|
from huaweicloudsdkcae.v1.model.delete_application_request import DeleteApplicationRequest
|
|
80
81
|
from huaweicloudsdkcae.v1.model.delete_application_response import DeleteApplicationResponse
|
|
81
82
|
from huaweicloudsdkcae.v1.model.delete_certificate_request import DeleteCertificateRequest
|
|
@@ -153,7 +154,7 @@ from huaweicloudsdkcae.v1.model.resource_limit_for_upgrade import ResourceLimitF
|
|
|
153
154
|
from huaweicloudsdkcae.v1.model.retry_job_request import RetryJobRequest
|
|
154
155
|
from huaweicloudsdkcae.v1.model.retry_job_response import RetryJobResponse
|
|
155
156
|
from huaweicloudsdkcae.v1.model.scale_configuration_data_trigger import ScaleConfigurationDataTrigger
|
|
156
|
-
from huaweicloudsdkcae.v1.model.
|
|
157
|
+
from huaweicloudsdkcae.v1.model.scaling_trigger_meta import ScalingTriggerMeta
|
|
157
158
|
from huaweicloudsdkcae.v1.model.show_application_request import ShowApplicationRequest
|
|
158
159
|
from huaweicloudsdkcae.v1.model.show_application_response import ShowApplicationResponse
|
|
159
160
|
from huaweicloudsdkcae.v1.model.show_component_request import ShowComponentRequest
|
|
@@ -17,8 +17,8 @@ class AccessControl:
|
|
|
17
17
|
sensitive_list = []
|
|
18
18
|
|
|
19
19
|
openapi_types = {
|
|
20
|
-
'black': 'list[
|
|
21
|
-
'white': 'list[
|
|
20
|
+
'black': 'list[str]',
|
|
21
|
+
'white': 'list[str]'
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
attribute_map = {
|
|
@@ -32,9 +32,9 @@ class AccessControl:
|
|
|
32
32
|
The model defined in huaweicloud sdk
|
|
33
33
|
|
|
34
34
|
:param black: 黑名单数组。 1.每行一个IP地址或网段,以回车结束。 2.每个IP地址组最多可添加300个IP地址或网段。
|
|
35
|
-
:type black: list[
|
|
35
|
+
:type black: list[str]
|
|
36
36
|
:param white: 白名单数组。 1.每行一个IP地址或网段,以回车结束。 2.每个IP地址组最多可添加300个IP地址或网段。
|
|
37
|
-
:type white: list[
|
|
37
|
+
:type white: list[str]
|
|
38
38
|
"""
|
|
39
39
|
|
|
40
40
|
|
|
@@ -55,7 +55,7 @@ class AccessControl:
|
|
|
55
55
|
黑名单数组。 1.每行一个IP地址或网段,以回车结束。 2.每个IP地址组最多可添加300个IP地址或网段。
|
|
56
56
|
|
|
57
57
|
:return: The black of this AccessControl.
|
|
58
|
-
:rtype: list[
|
|
58
|
+
:rtype: list[str]
|
|
59
59
|
"""
|
|
60
60
|
return self._black
|
|
61
61
|
|
|
@@ -66,7 +66,7 @@ class AccessControl:
|
|
|
66
66
|
黑名单数组。 1.每行一个IP地址或网段,以回车结束。 2.每个IP地址组最多可添加300个IP地址或网段。
|
|
67
67
|
|
|
68
68
|
:param black: The black of this AccessControl.
|
|
69
|
-
:type black: list[
|
|
69
|
+
:type black: list[str]
|
|
70
70
|
"""
|
|
71
71
|
self._black = black
|
|
72
72
|
|
|
@@ -77,7 +77,7 @@ class AccessControl:
|
|
|
77
77
|
白名单数组。 1.每行一个IP地址或网段,以回车结束。 2.每个IP地址组最多可添加300个IP地址或网段。
|
|
78
78
|
|
|
79
79
|
:return: The white of this AccessControl.
|
|
80
|
-
:rtype: list[
|
|
80
|
+
:rtype: list[str]
|
|
81
81
|
"""
|
|
82
82
|
return self._white
|
|
83
83
|
|
|
@@ -88,7 +88,7 @@ class AccessControl:
|
|
|
88
88
|
白名单数组。 1.每行一个IP地址或网段,以回车结束。 2.每个IP地址组最多可添加300个IP地址或网段。
|
|
89
89
|
|
|
90
90
|
:param white: The white of this AccessControl.
|
|
91
|
-
:type white: list[
|
|
91
|
+
:type white: list[str]
|
|
92
92
|
"""
|
|
93
93
|
self._white = white
|
|
94
94
|
|
|
@@ -33,7 +33,7 @@ class ActionOnComponentBuild:
|
|
|
33
33
|
|
|
34
34
|
:param archive:
|
|
35
35
|
:type archive: :class:`huaweicloudsdkcae.v1.Archive`
|
|
36
|
-
:param parameters: 构建附加参数。 - base_image:基础镜像地址。 - build_cmd:自定义构建命令。 - dockerfile_path:自定义dockerfile文件路径 - dockerfile_content:自定义dockerfile内容
|
|
36
|
+
:param parameters: 构建附加参数。 - base_image:基础镜像地址。 - build_cmd:自定义构建命令。 - dockerfile_path:自定义dockerfile文件路径 - dockerfile_content:自定义dockerfile内容 - artifact_name: 针对java多模块构建,指定构建后运行的产物,以\".jar\"结尾。
|
|
37
37
|
:type parameters: dict(str, str)
|
|
38
38
|
"""
|
|
39
39
|
|
|
@@ -70,7 +70,7 @@ class ActionOnComponentBuild:
|
|
|
70
70
|
def parameters(self):
|
|
71
71
|
"""Gets the parameters of this ActionOnComponentBuild.
|
|
72
72
|
|
|
73
|
-
构建附加参数。 - base_image:基础镜像地址。 - build_cmd:自定义构建命令。 - dockerfile_path:自定义dockerfile文件路径 - dockerfile_content:自定义dockerfile内容
|
|
73
|
+
构建附加参数。 - base_image:基础镜像地址。 - build_cmd:自定义构建命令。 - dockerfile_path:自定义dockerfile文件路径 - dockerfile_content:自定义dockerfile内容 - artifact_name: 针对java多模块构建,指定构建后运行的产物,以\".jar\"结尾。
|
|
74
74
|
|
|
75
75
|
:return: The parameters of this ActionOnComponentBuild.
|
|
76
76
|
:rtype: dict(str, str)
|
|
@@ -81,7 +81,7 @@ class ActionOnComponentBuild:
|
|
|
81
81
|
def parameters(self, parameters):
|
|
82
82
|
"""Sets the parameters of this ActionOnComponentBuild.
|
|
83
83
|
|
|
84
|
-
构建附加参数。 - base_image:基础镜像地址。 - build_cmd:自定义构建命令。 - dockerfile_path:自定义dockerfile文件路径 - dockerfile_content:自定义dockerfile内容
|
|
84
|
+
构建附加参数。 - base_image:基础镜像地址。 - build_cmd:自定义构建命令。 - dockerfile_path:自定义dockerfile文件路径 - dockerfile_content:自定义dockerfile内容 - artifact_name: 针对java多模块构建,指定构建后运行的产物,以\".jar\"结尾。
|
|
85
85
|
|
|
86
86
|
:param parameters: The parameters of this ActionOnComponentBuild.
|
|
87
87
|
:type parameters: dict(str, str)
|
|
@@ -33,7 +33,7 @@ class Build:
|
|
|
33
33
|
|
|
34
34
|
:param archive:
|
|
35
35
|
:type archive: :class:`huaweicloudsdkcae.v1.Archive`
|
|
36
|
-
:param parameters: 构建附加参数。 - base_image:基础镜像地址。 - build_cmd:自定义构建命令。 - dockerfile_path:自定义dockerfile文件路径 - dockerfile_content:自定义dockerfile内容
|
|
36
|
+
:param parameters: 构建附加参数。 - base_image:基础镜像地址。 - build_cmd:自定义构建命令。 - dockerfile_path:自定义dockerfile文件路径 - dockerfile_content:自定义dockerfile内容 - artifact_name: 针对java多模块构建,指定构建后运行的产物,以\".jar\"结尾。
|
|
37
37
|
:type parameters: dict(str, str)
|
|
38
38
|
"""
|
|
39
39
|
|
|
@@ -68,7 +68,7 @@ class Build:
|
|
|
68
68
|
def parameters(self):
|
|
69
69
|
"""Gets the parameters of this Build.
|
|
70
70
|
|
|
71
|
-
构建附加参数。 - base_image:基础镜像地址。 - build_cmd:自定义构建命令。 - dockerfile_path:自定义dockerfile文件路径 - dockerfile_content:自定义dockerfile内容
|
|
71
|
+
构建附加参数。 - base_image:基础镜像地址。 - build_cmd:自定义构建命令。 - dockerfile_path:自定义dockerfile文件路径 - dockerfile_content:自定义dockerfile内容 - artifact_name: 针对java多模块构建,指定构建后运行的产物,以\".jar\"结尾。
|
|
72
72
|
|
|
73
73
|
:return: The parameters of this Build.
|
|
74
74
|
:rtype: dict(str, str)
|
|
@@ -79,7 +79,7 @@ class Build:
|
|
|
79
79
|
def parameters(self, parameters):
|
|
80
80
|
"""Sets the parameters of this Build.
|
|
81
81
|
|
|
82
|
-
构建附加参数。 - base_image:基础镜像地址。 - build_cmd:自定义构建命令。 - dockerfile_path:自定义dockerfile文件路径 - dockerfile_content:自定义dockerfile内容
|
|
82
|
+
构建附加参数。 - base_image:基础镜像地址。 - build_cmd:自定义构建命令。 - dockerfile_path:自定义dockerfile文件路径 - dockerfile_content:自定义dockerfile内容 - artifact_name: 针对java多模块构建,指定构建后运行的产物,以\".jar\"结尾。
|
|
83
83
|
|
|
84
84
|
:param parameters: The parameters of this Build.
|
|
85
85
|
:type parameters: dict(str, str)
|