huaweicloudsdkcae 3.1.47__py2.py3-none-any.whl → 3.1.49__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 +57 -13
- huaweicloudsdkcae/v1/cae_async_client.py +1049 -311
- huaweicloudsdkcae/v1/cae_client.py +1037 -311
- huaweicloudsdkcae/v1/model/__init__.py +56 -11
- huaweicloudsdkcae/v1/model/access.py +6 -6
- huaweicloudsdkcae/v1/model/action_on_component_source.py +198 -0
- huaweicloudsdkcae/v1/model/action_on_component_spec.py +7 -7
- huaweicloudsdkcae/v1/model/agency.py +7 -8
- huaweicloudsdkcae/v1/model/agency_item.py +3 -3
- huaweicloudsdkcae/v1/model/agency_metadata.py +3 -3
- huaweicloudsdkcae/v1/model/{log_strategy.py → app_info.py} +42 -42
- huaweicloudsdkcae/v1/model/application_item.py +96 -9
- huaweicloudsdkcae/v1/model/application_metadata.py +9 -9
- huaweicloudsdkcae/v1/model/archive.py +3 -3
- huaweicloudsdkcae/v1/model/build.py +5 -1
- huaweicloudsdkcae/v1/model/cert_item.py +136 -0
- huaweicloudsdkcae/v1/model/cert_req.py +190 -0
- huaweicloudsdkcae/v1/model/component_execution_result.py +202 -0
- huaweicloudsdkcae/v1/model/component_info.py +144 -0
- huaweicloudsdkcae/v1/model/component_item.py +62 -33
- huaweicloudsdkcae/v1/model/component_snapshot_context.py +724 -0
- huaweicloudsdkcae/v1/model/component_snapshot_item.py +70 -74
- huaweicloudsdkcae/v1/model/component_spec.py +126 -97
- huaweicloudsdkcae/v1/model/configuration.py +9 -9
- huaweicloudsdkcae/v1/model/configuration_item.py +6 -6
- huaweicloudsdkcae/v1/model/create_application_request.py +32 -32
- huaweicloudsdkcae/v1/model/create_application_request_body.py +6 -6
- huaweicloudsdkcae/v1/model/create_application_request_body_metadata.py +6 -6
- huaweicloudsdkcae/v1/model/create_application_response.py +6 -6
- huaweicloudsdkcae/v1/model/create_certificate_request.py +168 -0
- huaweicloudsdkcae/v1/model/create_certificate_response.py +174 -0
- huaweicloudsdkcae/v1/model/create_component_configuration_request.py +53 -53
- huaweicloudsdkcae/v1/model/create_component_configuration_request_body.py +6 -6
- huaweicloudsdkcae/v1/model/create_component_request.py +40 -40
- huaweicloudsdkcae/v1/model/create_component_request_body.py +6 -6
- huaweicloudsdkcae/v1/model/create_component_request_body_metadata.py +4 -5
- huaweicloudsdkcae/v1/model/create_component_request_body_spec.py +6 -6
- huaweicloudsdkcae/v1/model/create_component_response.py +10 -10
- huaweicloudsdkcae/v1/model/create_component_spec.py +306 -0
- huaweicloudsdkcae/v1/model/create_domain_req.py +166 -0
- huaweicloudsdkcae/v1/model/create_domain_request.py +168 -0
- huaweicloudsdkcae/v1/model/create_domain_response.py +174 -0
- huaweicloudsdkcae/v1/model/create_environment_request.py +3 -3
- huaweicloudsdkcae/v1/model/create_environment_request_body.py +6 -6
- huaweicloudsdkcae/v1/model/create_environment_request_body_metadata.py +6 -34
- huaweicloudsdkcae/v1/model/create_environment_response.py +20 -74
- huaweicloudsdkcae/v1/model/create_meta_cert.py +114 -0
- huaweicloudsdkcae/v1/model/create_meta_domain.py +114 -0
- huaweicloudsdkcae/v1/model/create_spec_cert.py +170 -0
- huaweicloudsdkcae/v1/model/create_timer_rule_req.py +169 -0
- huaweicloudsdkcae/v1/model/create_timer_rule_request.py +168 -0
- huaweicloudsdkcae/v1/model/create_timer_rule_response.py +170 -0
- huaweicloudsdkcae/v1/model/create_volume_req.py +6 -6
- huaweicloudsdkcae/v1/model/create_volume_request.py +32 -32
- huaweicloudsdkcae/v1/model/delete_application_request.py +37 -37
- huaweicloudsdkcae/v1/model/delete_certificate_request.py +171 -0
- huaweicloudsdkcae/v1/model/delete_certificate_response.py +85 -0
- huaweicloudsdkcae/v1/model/delete_component_configuration_request.py +53 -53
- huaweicloudsdkcae/v1/model/delete_component_request.py +53 -53
- huaweicloudsdkcae/v1/model/delete_domain_request.py +171 -0
- huaweicloudsdkcae/v1/model/delete_domain_response.py +85 -0
- huaweicloudsdkcae/v1/model/delete_environment_request.py +6 -6
- huaweicloudsdkcae/v1/model/delete_environment_response.py +3 -3
- huaweicloudsdkcae/v1/model/delete_timer_rule_request.py +171 -0
- huaweicloudsdkcae/v1/model/delete_timer_rule_response.py +85 -0
- huaweicloudsdkcae/v1/model/delete_volume_request.py +37 -37
- huaweicloudsdkcae/v1/model/delete_volume_response.py +9 -9
- huaweicloudsdkcae/v1/model/domain_item.py +111 -0
- huaweicloudsdkcae/v1/model/environment_item.py +13 -42
- huaweicloudsdkcae/v1/model/event_item.py +36 -7
- huaweicloudsdkcae/v1/model/execute_action_request.py +53 -53
- huaweicloudsdkcae/v1/model/execute_action_request_body.py +6 -6
- huaweicloudsdkcae/v1/model/execute_action_request_body_metadata.py +3 -3
- huaweicloudsdkcae/v1/model/execute_action_response.py +3 -3
- huaweicloudsdkcae/v1/model/execution_details.py +144 -0
- huaweicloudsdkcae/v1/model/instance.py +3 -3
- huaweicloudsdkcae/v1/model/job_spec.py +36 -7
- huaweicloudsdkcae/v1/model/{show_agency_request.py → list_agencies_request.py} +3 -3
- huaweicloudsdkcae/v1/model/list_agencies_response.py +174 -0
- huaweicloudsdkcae/v1/model/list_applications_request.py +34 -34
- huaweicloudsdkcae/v1/model/list_applications_response.py +6 -6
- huaweicloudsdkcae/v1/model/{list_events_request.py → list_certificates_request.py} +29 -85
- huaweicloudsdkcae/v1/model/list_certificates_response.py +174 -0
- huaweicloudsdkcae/v1/model/list_component_configurations_request.py +199 -0
- huaweicloudsdkcae/v1/model/{list_configurations_response.py → list_component_configurations_response.py} +22 -22
- huaweicloudsdkcae/v1/model/list_component_events_request.py +199 -0
- huaweicloudsdkcae/v1/model/{list_events_response.py → list_component_events_response.py} +22 -22
- huaweicloudsdkcae/v1/model/list_component_instances_request.py +199 -0
- huaweicloudsdkcae/v1/model/{list_instances_response.py → list_component_instances_response.py} +22 -22
- huaweicloudsdkcae/v1/model/list_component_snapshots_request.py +53 -53
- huaweicloudsdkcae/v1/model/list_component_snapshots_response.py +6 -6
- huaweicloudsdkcae/v1/model/list_components_request.py +52 -52
- huaweicloudsdkcae/v1/model/list_components_response.py +6 -6
- huaweicloudsdkcae/v1/model/{list_configurations_request.py → list_domains_request.py} +29 -85
- huaweicloudsdkcae/v1/model/list_domains_response.py +174 -0
- huaweicloudsdkcae/v1/model/list_environments_request.py +3 -3
- huaweicloudsdkcae/v1/model/list_environments_response.py +9 -9
- huaweicloudsdkcae/v1/model/{list_instances_request.py → list_timer_rules_request.py} +29 -85
- huaweicloudsdkcae/v1/model/{show_agency_response.py → list_timer_rules_response.py} +27 -31
- huaweicloudsdkcae/v1/model/list_volumes_request.py +35 -35
- huaweicloudsdkcae/v1/model/list_volumes_response.py +9 -9
- huaweicloudsdkcae/v1/model/meta_cert.py +144 -0
- huaweicloudsdkcae/v1/model/meta_domain.py +231 -0
- huaweicloudsdkcae/v1/model/metadata_response.py +46 -133
- huaweicloudsdkcae/v1/model/mount_component.py +9 -9
- huaweicloudsdkcae/v1/model/repo.py +6 -6
- huaweicloudsdkcae/v1/model/retry_job_request.py +63 -6
- huaweicloudsdkcae/v1/model/show_application_request.py +37 -37
- huaweicloudsdkcae/v1/model/show_application_response.py +6 -6
- huaweicloudsdkcae/v1/model/show_component_request.py +53 -53
- huaweicloudsdkcae/v1/model/show_component_response.py +6 -6
- huaweicloudsdkcae/v1/model/show_execution_result_request.py +171 -0
- huaweicloudsdkcae/v1/model/show_execution_result_response.py +170 -0
- huaweicloudsdkcae/v1/model/show_job_request.py +37 -9
- huaweicloudsdkcae/v1/model/show_job_response.py +6 -6
- huaweicloudsdkcae/v1/model/source.py +9 -9
- huaweicloudsdkcae/v1/model/spec_cert.py +202 -0
- huaweicloudsdkcae/v1/model/task.py +68 -68
- huaweicloudsdkcae/v1/model/timer_rule_details.py +434 -0
- huaweicloudsdkcae/v1/model/update_cert_req.py +166 -0
- huaweicloudsdkcae/v1/model/update_certificate_request.py +196 -0
- huaweicloudsdkcae/v1/model/update_certificate_response.py +85 -0
- huaweicloudsdkcae/v1/model/update_component_request.py +53 -53
- huaweicloudsdkcae/v1/model/update_component_request_body.py +10 -10
- huaweicloudsdkcae/v1/model/update_component_request_metadata.py +143 -0
- huaweicloudsdkcae/v1/model/update_component_request_spec.py +52 -19
- huaweicloudsdkcae/v1/model/update_spec_cert.py +170 -0
- huaweicloudsdkcae/v1/model/update_timer_rule_details.py +312 -0
- huaweicloudsdkcae/v1/model/update_timer_rule_req.py +166 -0
- huaweicloudsdkcae/v1/model/update_timer_rule_request.py +196 -0
- huaweicloudsdkcae/v1/model/update_timer_rule_response.py +85 -0
- huaweicloudsdkcae/v1/model/volume.py +15 -15
- huaweicloudsdkcae/v1/model/volume_spec.py +3 -3
- huaweicloudsdkcae/v1/region/cae_region.py +3 -0
- {huaweicloudsdkcae-3.1.47.dist-info → huaweicloudsdkcae-3.1.49.dist-info}/LICENSE +0 -0
- {huaweicloudsdkcae-3.1.47.dist-info → huaweicloudsdkcae-3.1.49.dist-info}/METADATA +2 -2
- huaweicloudsdkcae-3.1.49.dist-info/RECORD +152 -0
- huaweicloudsdkcae/v1/model/environment_metadata.py +0 -318
- huaweicloudsdkcae/v1/model/metadata.py +0 -317
- huaweicloudsdkcae-3.1.47.dist-info/RECORD +0 -107
- {huaweicloudsdkcae-3.1.47.dist-info → huaweicloudsdkcae-3.1.49.dist-info}/WHEEL +0 -0
- {huaweicloudsdkcae-3.1.47.dist-info → huaweicloudsdkcae-3.1.49.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ListAgenciesResponse(SdkResponse):
|
|
10
|
+
|
|
11
|
+
"""
|
|
12
|
+
Attributes:
|
|
13
|
+
openapi_types (dict): The key is attribute name
|
|
14
|
+
and the value is attribute type.
|
|
15
|
+
attribute_map (dict): The key is attribute name
|
|
16
|
+
and the value is json key in definition.
|
|
17
|
+
"""
|
|
18
|
+
sensitive_list = []
|
|
19
|
+
|
|
20
|
+
openapi_types = {
|
|
21
|
+
'api_version': 'str',
|
|
22
|
+
'kind': 'str',
|
|
23
|
+
'agencies': 'list[AgencyItem]'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
attribute_map = {
|
|
27
|
+
'api_version': 'api_version',
|
|
28
|
+
'kind': 'kind',
|
|
29
|
+
'agencies': 'agencies'
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
def __init__(self, api_version=None, kind=None, agencies=None):
|
|
33
|
+
"""ListAgenciesResponse
|
|
34
|
+
|
|
35
|
+
The model defined in huaweicloud sdk
|
|
36
|
+
|
|
37
|
+
:param api_version: API版本,固定值“v1”,该值不可修改。
|
|
38
|
+
:type api_version: str
|
|
39
|
+
:param kind: API类型,固定值“Agency”,该值不可修改。
|
|
40
|
+
:type kind: str
|
|
41
|
+
:param agencies: 委托列表。
|
|
42
|
+
:type agencies: list[:class:`huaweicloudsdkcae.v1.AgencyItem`]
|
|
43
|
+
"""
|
|
44
|
+
|
|
45
|
+
super(ListAgenciesResponse, self).__init__()
|
|
46
|
+
|
|
47
|
+
self._api_version = None
|
|
48
|
+
self._kind = None
|
|
49
|
+
self._agencies = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
if api_version is not None:
|
|
53
|
+
self.api_version = api_version
|
|
54
|
+
if kind is not None:
|
|
55
|
+
self.kind = kind
|
|
56
|
+
if agencies is not None:
|
|
57
|
+
self.agencies = agencies
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def api_version(self):
|
|
61
|
+
"""Gets the api_version of this ListAgenciesResponse.
|
|
62
|
+
|
|
63
|
+
API版本,固定值“v1”,该值不可修改。
|
|
64
|
+
|
|
65
|
+
:return: The api_version of this ListAgenciesResponse.
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._api_version
|
|
69
|
+
|
|
70
|
+
@api_version.setter
|
|
71
|
+
def api_version(self, api_version):
|
|
72
|
+
"""Sets the api_version of this ListAgenciesResponse.
|
|
73
|
+
|
|
74
|
+
API版本,固定值“v1”,该值不可修改。
|
|
75
|
+
|
|
76
|
+
:param api_version: The api_version of this ListAgenciesResponse.
|
|
77
|
+
:type api_version: str
|
|
78
|
+
"""
|
|
79
|
+
self._api_version = api_version
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def kind(self):
|
|
83
|
+
"""Gets the kind of this ListAgenciesResponse.
|
|
84
|
+
|
|
85
|
+
API类型,固定值“Agency”,该值不可修改。
|
|
86
|
+
|
|
87
|
+
:return: The kind of this ListAgenciesResponse.
|
|
88
|
+
:rtype: str
|
|
89
|
+
"""
|
|
90
|
+
return self._kind
|
|
91
|
+
|
|
92
|
+
@kind.setter
|
|
93
|
+
def kind(self, kind):
|
|
94
|
+
"""Sets the kind of this ListAgenciesResponse.
|
|
95
|
+
|
|
96
|
+
API类型,固定值“Agency”,该值不可修改。
|
|
97
|
+
|
|
98
|
+
:param kind: The kind of this ListAgenciesResponse.
|
|
99
|
+
:type kind: str
|
|
100
|
+
"""
|
|
101
|
+
self._kind = kind
|
|
102
|
+
|
|
103
|
+
@property
|
|
104
|
+
def agencies(self):
|
|
105
|
+
"""Gets the agencies of this ListAgenciesResponse.
|
|
106
|
+
|
|
107
|
+
委托列表。
|
|
108
|
+
|
|
109
|
+
:return: The agencies of this ListAgenciesResponse.
|
|
110
|
+
:rtype: list[:class:`huaweicloudsdkcae.v1.AgencyItem`]
|
|
111
|
+
"""
|
|
112
|
+
return self._agencies
|
|
113
|
+
|
|
114
|
+
@agencies.setter
|
|
115
|
+
def agencies(self, agencies):
|
|
116
|
+
"""Sets the agencies of this ListAgenciesResponse.
|
|
117
|
+
|
|
118
|
+
委托列表。
|
|
119
|
+
|
|
120
|
+
:param agencies: The agencies of this ListAgenciesResponse.
|
|
121
|
+
:type agencies: list[:class:`huaweicloudsdkcae.v1.AgencyItem`]
|
|
122
|
+
"""
|
|
123
|
+
self._agencies = agencies
|
|
124
|
+
|
|
125
|
+
def to_dict(self):
|
|
126
|
+
"""Returns the model properties as a dict"""
|
|
127
|
+
result = {}
|
|
128
|
+
|
|
129
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
130
|
+
value = getattr(self, attr)
|
|
131
|
+
if isinstance(value, list):
|
|
132
|
+
result[attr] = list(map(
|
|
133
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
134
|
+
value
|
|
135
|
+
))
|
|
136
|
+
elif hasattr(value, "to_dict"):
|
|
137
|
+
result[attr] = value.to_dict()
|
|
138
|
+
elif isinstance(value, dict):
|
|
139
|
+
result[attr] = dict(map(
|
|
140
|
+
lambda item: (item[0], item[1].to_dict())
|
|
141
|
+
if hasattr(item[1], "to_dict") else item,
|
|
142
|
+
value.items()
|
|
143
|
+
))
|
|
144
|
+
else:
|
|
145
|
+
if attr in self.sensitive_list:
|
|
146
|
+
result[attr] = "****"
|
|
147
|
+
else:
|
|
148
|
+
result[attr] = value
|
|
149
|
+
|
|
150
|
+
return result
|
|
151
|
+
|
|
152
|
+
def to_str(self):
|
|
153
|
+
"""Returns the string representation of the model"""
|
|
154
|
+
import simplejson as json
|
|
155
|
+
if six.PY2:
|
|
156
|
+
import sys
|
|
157
|
+
reload(sys)
|
|
158
|
+
sys.setdefaultencoding("utf-8")
|
|
159
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
160
|
+
|
|
161
|
+
def __repr__(self):
|
|
162
|
+
"""For `print`"""
|
|
163
|
+
return self.to_str()
|
|
164
|
+
|
|
165
|
+
def __eq__(self, other):
|
|
166
|
+
"""Returns true if both objects are equal"""
|
|
167
|
+
if not isinstance(other, ListAgenciesResponse):
|
|
168
|
+
return False
|
|
169
|
+
|
|
170
|
+
return self.__dict__ == other.__dict__
|
|
171
|
+
|
|
172
|
+
def __ne__(self, other):
|
|
173
|
+
"""Returns true if both objects are not equal"""
|
|
174
|
+
return not self == other
|
|
@@ -17,63 +17,41 @@ class ListApplicationsRequest:
|
|
|
17
17
|
sensitive_list = []
|
|
18
18
|
|
|
19
19
|
openapi_types = {
|
|
20
|
-
'
|
|
21
|
-
'
|
|
20
|
+
'x_enterprise_project_id': 'str',
|
|
21
|
+
'x_environment_id': 'str'
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
attribute_map = {
|
|
25
|
-
'
|
|
26
|
-
'
|
|
25
|
+
'x_enterprise_project_id': 'X-Enterprise-Project-ID',
|
|
26
|
+
'x_environment_id': 'X-Environment-ID'
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
def __init__(self,
|
|
29
|
+
def __init__(self, x_enterprise_project_id=None, x_environment_id=None):
|
|
30
30
|
"""ListApplicationsRequest
|
|
31
31
|
|
|
32
32
|
The model defined in huaweicloud sdk
|
|
33
33
|
|
|
34
|
-
:param
|
|
35
|
-
:type x_environment_id: str
|
|
36
|
-
:param x_enterprise_project_id: 租户的企业项目id。
|
|
34
|
+
:param x_enterprise_project_id: 企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
37
35
|
:type x_enterprise_project_id: str
|
|
36
|
+
:param x_environment_id: 环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
|
|
37
|
+
:type x_environment_id: str
|
|
38
38
|
"""
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
self._x_environment_id = None
|
|
43
42
|
self._x_enterprise_project_id = None
|
|
43
|
+
self._x_environment_id = None
|
|
44
44
|
self.discriminator = None
|
|
45
45
|
|
|
46
|
-
self.x_environment_id = x_environment_id
|
|
47
46
|
if x_enterprise_project_id is not None:
|
|
48
47
|
self.x_enterprise_project_id = x_enterprise_project_id
|
|
49
|
-
|
|
50
|
-
@property
|
|
51
|
-
def x_environment_id(self):
|
|
52
|
-
"""Gets the x_environment_id of this ListApplicationsRequest.
|
|
53
|
-
|
|
54
|
-
环境id。
|
|
55
|
-
|
|
56
|
-
:return: The x_environment_id of this ListApplicationsRequest.
|
|
57
|
-
:rtype: str
|
|
58
|
-
"""
|
|
59
|
-
return self._x_environment_id
|
|
60
|
-
|
|
61
|
-
@x_environment_id.setter
|
|
62
|
-
def x_environment_id(self, x_environment_id):
|
|
63
|
-
"""Sets the x_environment_id of this ListApplicationsRequest.
|
|
64
|
-
|
|
65
|
-
环境id。
|
|
66
|
-
|
|
67
|
-
:param x_environment_id: The x_environment_id of this ListApplicationsRequest.
|
|
68
|
-
:type x_environment_id: str
|
|
69
|
-
"""
|
|
70
|
-
self._x_environment_id = x_environment_id
|
|
48
|
+
self.x_environment_id = x_environment_id
|
|
71
49
|
|
|
72
50
|
@property
|
|
73
51
|
def x_enterprise_project_id(self):
|
|
74
52
|
"""Gets the x_enterprise_project_id of this ListApplicationsRequest.
|
|
75
53
|
|
|
76
|
-
|
|
54
|
+
企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
77
55
|
|
|
78
56
|
:return: The x_enterprise_project_id of this ListApplicationsRequest.
|
|
79
57
|
:rtype: str
|
|
@@ -84,13 +62,35 @@ class ListApplicationsRequest:
|
|
|
84
62
|
def x_enterprise_project_id(self, x_enterprise_project_id):
|
|
85
63
|
"""Sets the x_enterprise_project_id of this ListApplicationsRequest.
|
|
86
64
|
|
|
87
|
-
|
|
65
|
+
企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
88
66
|
|
|
89
67
|
:param x_enterprise_project_id: The x_enterprise_project_id of this ListApplicationsRequest.
|
|
90
68
|
:type x_enterprise_project_id: str
|
|
91
69
|
"""
|
|
92
70
|
self._x_enterprise_project_id = x_enterprise_project_id
|
|
93
71
|
|
|
72
|
+
@property
|
|
73
|
+
def x_environment_id(self):
|
|
74
|
+
"""Gets the x_environment_id of this ListApplicationsRequest.
|
|
75
|
+
|
|
76
|
+
环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
|
|
77
|
+
|
|
78
|
+
:return: The x_environment_id of this ListApplicationsRequest.
|
|
79
|
+
:rtype: str
|
|
80
|
+
"""
|
|
81
|
+
return self._x_environment_id
|
|
82
|
+
|
|
83
|
+
@x_environment_id.setter
|
|
84
|
+
def x_environment_id(self, x_environment_id):
|
|
85
|
+
"""Sets the x_environment_id of this ListApplicationsRequest.
|
|
86
|
+
|
|
87
|
+
环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
|
|
88
|
+
|
|
89
|
+
:param x_environment_id: The x_environment_id of this ListApplicationsRequest.
|
|
90
|
+
:type x_environment_id: str
|
|
91
|
+
"""
|
|
92
|
+
self._x_environment_id = x_environment_id
|
|
93
|
+
|
|
94
94
|
def to_dict(self):
|
|
95
95
|
"""Returns the model properties as a dict"""
|
|
96
96
|
result = {}
|
|
@@ -34,9 +34,9 @@ class ListApplicationsResponse(SdkResponse):
|
|
|
34
34
|
|
|
35
35
|
The model defined in huaweicloud sdk
|
|
36
36
|
|
|
37
|
-
:param api_version: API
|
|
37
|
+
:param api_version: API版本,固定值“v1”,该值不可修改。
|
|
38
38
|
:type api_version: str
|
|
39
|
-
:param kind:
|
|
39
|
+
:param kind: API类型,固定值“Application”,该值不可修改。
|
|
40
40
|
:type kind: str
|
|
41
41
|
:param items: 应用列表。
|
|
42
42
|
:type items: list[:class:`huaweicloudsdkcae.v1.ApplicationItem`]
|
|
@@ -60,7 +60,7 @@ class ListApplicationsResponse(SdkResponse):
|
|
|
60
60
|
def api_version(self):
|
|
61
61
|
"""Gets the api_version of this ListApplicationsResponse.
|
|
62
62
|
|
|
63
|
-
API
|
|
63
|
+
API版本,固定值“v1”,该值不可修改。
|
|
64
64
|
|
|
65
65
|
:return: The api_version of this ListApplicationsResponse.
|
|
66
66
|
:rtype: str
|
|
@@ -71,7 +71,7 @@ class ListApplicationsResponse(SdkResponse):
|
|
|
71
71
|
def api_version(self, api_version):
|
|
72
72
|
"""Sets the api_version of this ListApplicationsResponse.
|
|
73
73
|
|
|
74
|
-
API
|
|
74
|
+
API版本,固定值“v1”,该值不可修改。
|
|
75
75
|
|
|
76
76
|
:param api_version: The api_version of this ListApplicationsResponse.
|
|
77
77
|
:type api_version: str
|
|
@@ -82,7 +82,7 @@ class ListApplicationsResponse(SdkResponse):
|
|
|
82
82
|
def kind(self):
|
|
83
83
|
"""Gets the kind of this ListApplicationsResponse.
|
|
84
84
|
|
|
85
|
-
|
|
85
|
+
API类型,固定值“Application”,该值不可修改。
|
|
86
86
|
|
|
87
87
|
:return: The kind of this ListApplicationsResponse.
|
|
88
88
|
:rtype: str
|
|
@@ -93,7 +93,7 @@ class ListApplicationsResponse(SdkResponse):
|
|
|
93
93
|
def kind(self, kind):
|
|
94
94
|
"""Sets the kind of this ListApplicationsResponse.
|
|
95
95
|
|
|
96
|
-
|
|
96
|
+
API类型,固定值“Application”,该值不可修改。
|
|
97
97
|
|
|
98
98
|
:param kind: The kind of this ListApplicationsResponse.
|
|
99
99
|
:type kind: str
|
|
@@ -5,7 +5,7 @@ import six
|
|
|
5
5
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class
|
|
8
|
+
class ListCertificatesRequest:
|
|
9
9
|
|
|
10
10
|
"""
|
|
11
11
|
Attributes:
|
|
@@ -17,135 +17,79 @@ class ListEventsRequest:
|
|
|
17
17
|
sensitive_list = []
|
|
18
18
|
|
|
19
19
|
openapi_types = {
|
|
20
|
-
'component_id': 'str',
|
|
21
|
-
'x_environment_id': 'str',
|
|
22
20
|
'x_enterprise_project_id': 'str',
|
|
23
|
-
'
|
|
21
|
+
'x_environment_id': 'str'
|
|
24
22
|
}
|
|
25
23
|
|
|
26
24
|
attribute_map = {
|
|
27
|
-
'component_id': 'component_id',
|
|
28
|
-
'x_environment_id': 'X-Environment-ID',
|
|
29
25
|
'x_enterprise_project_id': 'X-Enterprise-Project-ID',
|
|
30
|
-
'
|
|
26
|
+
'x_environment_id': 'X-Environment-ID'
|
|
31
27
|
}
|
|
32
28
|
|
|
33
|
-
def __init__(self,
|
|
34
|
-
"""
|
|
29
|
+
def __init__(self, x_enterprise_project_id=None, x_environment_id=None):
|
|
30
|
+
"""ListCertificatesRequest
|
|
35
31
|
|
|
36
32
|
The model defined in huaweicloud sdk
|
|
37
33
|
|
|
38
|
-
:param
|
|
39
|
-
:type component_id: str
|
|
40
|
-
:param x_environment_id: 环境id。
|
|
41
|
-
:type x_environment_id: str
|
|
42
|
-
:param x_enterprise_project_id: 租户的企业项目id。
|
|
34
|
+
:param x_enterprise_project_id: 企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
43
35
|
:type x_enterprise_project_id: str
|
|
44
|
-
:param
|
|
45
|
-
:type
|
|
36
|
+
:param x_environment_id: 环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
|
|
37
|
+
:type x_environment_id: str
|
|
46
38
|
"""
|
|
47
39
|
|
|
48
40
|
|
|
49
41
|
|
|
50
|
-
self._component_id = None
|
|
51
|
-
self._x_environment_id = None
|
|
52
42
|
self._x_enterprise_project_id = None
|
|
53
|
-
self.
|
|
43
|
+
self._x_environment_id = None
|
|
54
44
|
self.discriminator = None
|
|
55
45
|
|
|
56
|
-
self.component_id = component_id
|
|
57
|
-
self.x_environment_id = x_environment_id
|
|
58
46
|
if x_enterprise_project_id is not None:
|
|
59
47
|
self.x_enterprise_project_id = x_enterprise_project_id
|
|
60
|
-
self.
|
|
61
|
-
|
|
62
|
-
@property
|
|
63
|
-
def component_id(self):
|
|
64
|
-
"""Gets the component_id of this ListEventsRequest.
|
|
65
|
-
|
|
66
|
-
组件id。
|
|
67
|
-
|
|
68
|
-
:return: The component_id of this ListEventsRequest.
|
|
69
|
-
:rtype: str
|
|
70
|
-
"""
|
|
71
|
-
return self._component_id
|
|
72
|
-
|
|
73
|
-
@component_id.setter
|
|
74
|
-
def component_id(self, component_id):
|
|
75
|
-
"""Sets the component_id of this ListEventsRequest.
|
|
76
|
-
|
|
77
|
-
组件id。
|
|
78
|
-
|
|
79
|
-
:param component_id: The component_id of this ListEventsRequest.
|
|
80
|
-
:type component_id: str
|
|
81
|
-
"""
|
|
82
|
-
self._component_id = component_id
|
|
83
|
-
|
|
84
|
-
@property
|
|
85
|
-
def x_environment_id(self):
|
|
86
|
-
"""Gets the x_environment_id of this ListEventsRequest.
|
|
87
|
-
|
|
88
|
-
环境id。
|
|
89
|
-
|
|
90
|
-
:return: The x_environment_id of this ListEventsRequest.
|
|
91
|
-
:rtype: str
|
|
92
|
-
"""
|
|
93
|
-
return self._x_environment_id
|
|
94
|
-
|
|
95
|
-
@x_environment_id.setter
|
|
96
|
-
def x_environment_id(self, x_environment_id):
|
|
97
|
-
"""Sets the x_environment_id of this ListEventsRequest.
|
|
98
|
-
|
|
99
|
-
环境id。
|
|
100
|
-
|
|
101
|
-
:param x_environment_id: The x_environment_id of this ListEventsRequest.
|
|
102
|
-
:type x_environment_id: str
|
|
103
|
-
"""
|
|
104
|
-
self._x_environment_id = x_environment_id
|
|
48
|
+
self.x_environment_id = x_environment_id
|
|
105
49
|
|
|
106
50
|
@property
|
|
107
51
|
def x_enterprise_project_id(self):
|
|
108
|
-
"""Gets the x_enterprise_project_id of this
|
|
52
|
+
"""Gets the x_enterprise_project_id of this ListCertificatesRequest.
|
|
109
53
|
|
|
110
|
-
|
|
54
|
+
企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
111
55
|
|
|
112
|
-
:return: The x_enterprise_project_id of this
|
|
56
|
+
:return: The x_enterprise_project_id of this ListCertificatesRequest.
|
|
113
57
|
:rtype: str
|
|
114
58
|
"""
|
|
115
59
|
return self._x_enterprise_project_id
|
|
116
60
|
|
|
117
61
|
@x_enterprise_project_id.setter
|
|
118
62
|
def x_enterprise_project_id(self, x_enterprise_project_id):
|
|
119
|
-
"""Sets the x_enterprise_project_id of this
|
|
63
|
+
"""Sets the x_enterprise_project_id of this ListCertificatesRequest.
|
|
120
64
|
|
|
121
|
-
|
|
65
|
+
企业项目ID。 - 创建环境时,环境会绑定企业项目ID。 - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。 > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
|
|
122
66
|
|
|
123
|
-
:param x_enterprise_project_id: The x_enterprise_project_id of this
|
|
67
|
+
:param x_enterprise_project_id: The x_enterprise_project_id of this ListCertificatesRequest.
|
|
124
68
|
:type x_enterprise_project_id: str
|
|
125
69
|
"""
|
|
126
70
|
self._x_enterprise_project_id = x_enterprise_project_id
|
|
127
71
|
|
|
128
72
|
@property
|
|
129
|
-
def
|
|
130
|
-
"""Gets the
|
|
73
|
+
def x_environment_id(self):
|
|
74
|
+
"""Gets the x_environment_id of this ListCertificatesRequest.
|
|
131
75
|
|
|
132
|
-
|
|
76
|
+
环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
|
|
133
77
|
|
|
134
|
-
:return: The
|
|
78
|
+
:return: The x_environment_id of this ListCertificatesRequest.
|
|
135
79
|
:rtype: str
|
|
136
80
|
"""
|
|
137
|
-
return self.
|
|
81
|
+
return self._x_environment_id
|
|
138
82
|
|
|
139
|
-
@
|
|
140
|
-
def
|
|
141
|
-
"""Sets the
|
|
83
|
+
@x_environment_id.setter
|
|
84
|
+
def x_environment_id(self, x_environment_id):
|
|
85
|
+
"""Sets the x_environment_id of this ListCertificatesRequest.
|
|
142
86
|
|
|
143
|
-
|
|
87
|
+
环境ID。 - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。 - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
|
|
144
88
|
|
|
145
|
-
:param
|
|
146
|
-
:type
|
|
89
|
+
:param x_environment_id: The x_environment_id of this ListCertificatesRequest.
|
|
90
|
+
:type x_environment_id: str
|
|
147
91
|
"""
|
|
148
|
-
self.
|
|
92
|
+
self._x_environment_id = x_environment_id
|
|
149
93
|
|
|
150
94
|
def to_dict(self):
|
|
151
95
|
"""Returns the model properties as a dict"""
|
|
@@ -189,7 +133,7 @@ class ListEventsRequest:
|
|
|
189
133
|
|
|
190
134
|
def __eq__(self, other):
|
|
191
135
|
"""Returns true if both objects are equal"""
|
|
192
|
-
if not isinstance(other,
|
|
136
|
+
if not isinstance(other, ListCertificatesRequest):
|
|
193
137
|
return False
|
|
194
138
|
|
|
195
139
|
return self.__dict__ == other.__dict__
|