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.

Files changed (142) hide show
  1. huaweicloudsdkcae/v1/__init__.py +57 -13
  2. huaweicloudsdkcae/v1/cae_async_client.py +1049 -311
  3. huaweicloudsdkcae/v1/cae_client.py +1037 -311
  4. huaweicloudsdkcae/v1/model/__init__.py +56 -11
  5. huaweicloudsdkcae/v1/model/access.py +6 -6
  6. huaweicloudsdkcae/v1/model/action_on_component_source.py +198 -0
  7. huaweicloudsdkcae/v1/model/action_on_component_spec.py +7 -7
  8. huaweicloudsdkcae/v1/model/agency.py +7 -8
  9. huaweicloudsdkcae/v1/model/agency_item.py +3 -3
  10. huaweicloudsdkcae/v1/model/agency_metadata.py +3 -3
  11. huaweicloudsdkcae/v1/model/{log_strategy.py → app_info.py} +42 -42
  12. huaweicloudsdkcae/v1/model/application_item.py +96 -9
  13. huaweicloudsdkcae/v1/model/application_metadata.py +9 -9
  14. huaweicloudsdkcae/v1/model/archive.py +3 -3
  15. huaweicloudsdkcae/v1/model/build.py +5 -1
  16. huaweicloudsdkcae/v1/model/cert_item.py +136 -0
  17. huaweicloudsdkcae/v1/model/cert_req.py +190 -0
  18. huaweicloudsdkcae/v1/model/component_execution_result.py +202 -0
  19. huaweicloudsdkcae/v1/model/component_info.py +144 -0
  20. huaweicloudsdkcae/v1/model/component_item.py +62 -33
  21. huaweicloudsdkcae/v1/model/component_snapshot_context.py +724 -0
  22. huaweicloudsdkcae/v1/model/component_snapshot_item.py +70 -74
  23. huaweicloudsdkcae/v1/model/component_spec.py +126 -97
  24. huaweicloudsdkcae/v1/model/configuration.py +9 -9
  25. huaweicloudsdkcae/v1/model/configuration_item.py +6 -6
  26. huaweicloudsdkcae/v1/model/create_application_request.py +32 -32
  27. huaweicloudsdkcae/v1/model/create_application_request_body.py +6 -6
  28. huaweicloudsdkcae/v1/model/create_application_request_body_metadata.py +6 -6
  29. huaweicloudsdkcae/v1/model/create_application_response.py +6 -6
  30. huaweicloudsdkcae/v1/model/create_certificate_request.py +168 -0
  31. huaweicloudsdkcae/v1/model/create_certificate_response.py +174 -0
  32. huaweicloudsdkcae/v1/model/create_component_configuration_request.py +53 -53
  33. huaweicloudsdkcae/v1/model/create_component_configuration_request_body.py +6 -6
  34. huaweicloudsdkcae/v1/model/create_component_request.py +40 -40
  35. huaweicloudsdkcae/v1/model/create_component_request_body.py +6 -6
  36. huaweicloudsdkcae/v1/model/create_component_request_body_metadata.py +4 -5
  37. huaweicloudsdkcae/v1/model/create_component_request_body_spec.py +6 -6
  38. huaweicloudsdkcae/v1/model/create_component_response.py +10 -10
  39. huaweicloudsdkcae/v1/model/create_component_spec.py +306 -0
  40. huaweicloudsdkcae/v1/model/create_domain_req.py +166 -0
  41. huaweicloudsdkcae/v1/model/create_domain_request.py +168 -0
  42. huaweicloudsdkcae/v1/model/create_domain_response.py +174 -0
  43. huaweicloudsdkcae/v1/model/create_environment_request.py +3 -3
  44. huaweicloudsdkcae/v1/model/create_environment_request_body.py +6 -6
  45. huaweicloudsdkcae/v1/model/create_environment_request_body_metadata.py +6 -34
  46. huaweicloudsdkcae/v1/model/create_environment_response.py +20 -74
  47. huaweicloudsdkcae/v1/model/create_meta_cert.py +114 -0
  48. huaweicloudsdkcae/v1/model/create_meta_domain.py +114 -0
  49. huaweicloudsdkcae/v1/model/create_spec_cert.py +170 -0
  50. huaweicloudsdkcae/v1/model/create_timer_rule_req.py +169 -0
  51. huaweicloudsdkcae/v1/model/create_timer_rule_request.py +168 -0
  52. huaweicloudsdkcae/v1/model/create_timer_rule_response.py +170 -0
  53. huaweicloudsdkcae/v1/model/create_volume_req.py +6 -6
  54. huaweicloudsdkcae/v1/model/create_volume_request.py +32 -32
  55. huaweicloudsdkcae/v1/model/delete_application_request.py +37 -37
  56. huaweicloudsdkcae/v1/model/delete_certificate_request.py +171 -0
  57. huaweicloudsdkcae/v1/model/delete_certificate_response.py +85 -0
  58. huaweicloudsdkcae/v1/model/delete_component_configuration_request.py +53 -53
  59. huaweicloudsdkcae/v1/model/delete_component_request.py +53 -53
  60. huaweicloudsdkcae/v1/model/delete_domain_request.py +171 -0
  61. huaweicloudsdkcae/v1/model/delete_domain_response.py +85 -0
  62. huaweicloudsdkcae/v1/model/delete_environment_request.py +6 -6
  63. huaweicloudsdkcae/v1/model/delete_environment_response.py +3 -3
  64. huaweicloudsdkcae/v1/model/delete_timer_rule_request.py +171 -0
  65. huaweicloudsdkcae/v1/model/delete_timer_rule_response.py +85 -0
  66. huaweicloudsdkcae/v1/model/delete_volume_request.py +37 -37
  67. huaweicloudsdkcae/v1/model/delete_volume_response.py +9 -9
  68. huaweicloudsdkcae/v1/model/domain_item.py +111 -0
  69. huaweicloudsdkcae/v1/model/environment_item.py +13 -42
  70. huaweicloudsdkcae/v1/model/event_item.py +36 -7
  71. huaweicloudsdkcae/v1/model/execute_action_request.py +53 -53
  72. huaweicloudsdkcae/v1/model/execute_action_request_body.py +6 -6
  73. huaweicloudsdkcae/v1/model/execute_action_request_body_metadata.py +3 -3
  74. huaweicloudsdkcae/v1/model/execute_action_response.py +3 -3
  75. huaweicloudsdkcae/v1/model/execution_details.py +144 -0
  76. huaweicloudsdkcae/v1/model/instance.py +3 -3
  77. huaweicloudsdkcae/v1/model/job_spec.py +36 -7
  78. huaweicloudsdkcae/v1/model/{show_agency_request.py → list_agencies_request.py} +3 -3
  79. huaweicloudsdkcae/v1/model/list_agencies_response.py +174 -0
  80. huaweicloudsdkcae/v1/model/list_applications_request.py +34 -34
  81. huaweicloudsdkcae/v1/model/list_applications_response.py +6 -6
  82. huaweicloudsdkcae/v1/model/{list_events_request.py → list_certificates_request.py} +29 -85
  83. huaweicloudsdkcae/v1/model/list_certificates_response.py +174 -0
  84. huaweicloudsdkcae/v1/model/list_component_configurations_request.py +199 -0
  85. huaweicloudsdkcae/v1/model/{list_configurations_response.py → list_component_configurations_response.py} +22 -22
  86. huaweicloudsdkcae/v1/model/list_component_events_request.py +199 -0
  87. huaweicloudsdkcae/v1/model/{list_events_response.py → list_component_events_response.py} +22 -22
  88. huaweicloudsdkcae/v1/model/list_component_instances_request.py +199 -0
  89. huaweicloudsdkcae/v1/model/{list_instances_response.py → list_component_instances_response.py} +22 -22
  90. huaweicloudsdkcae/v1/model/list_component_snapshots_request.py +53 -53
  91. huaweicloudsdkcae/v1/model/list_component_snapshots_response.py +6 -6
  92. huaweicloudsdkcae/v1/model/list_components_request.py +52 -52
  93. huaweicloudsdkcae/v1/model/list_components_response.py +6 -6
  94. huaweicloudsdkcae/v1/model/{list_configurations_request.py → list_domains_request.py} +29 -85
  95. huaweicloudsdkcae/v1/model/list_domains_response.py +174 -0
  96. huaweicloudsdkcae/v1/model/list_environments_request.py +3 -3
  97. huaweicloudsdkcae/v1/model/list_environments_response.py +9 -9
  98. huaweicloudsdkcae/v1/model/{list_instances_request.py → list_timer_rules_request.py} +29 -85
  99. huaweicloudsdkcae/v1/model/{show_agency_response.py → list_timer_rules_response.py} +27 -31
  100. huaweicloudsdkcae/v1/model/list_volumes_request.py +35 -35
  101. huaweicloudsdkcae/v1/model/list_volumes_response.py +9 -9
  102. huaweicloudsdkcae/v1/model/meta_cert.py +144 -0
  103. huaweicloudsdkcae/v1/model/meta_domain.py +231 -0
  104. huaweicloudsdkcae/v1/model/metadata_response.py +46 -133
  105. huaweicloudsdkcae/v1/model/mount_component.py +9 -9
  106. huaweicloudsdkcae/v1/model/repo.py +6 -6
  107. huaweicloudsdkcae/v1/model/retry_job_request.py +63 -6
  108. huaweicloudsdkcae/v1/model/show_application_request.py +37 -37
  109. huaweicloudsdkcae/v1/model/show_application_response.py +6 -6
  110. huaweicloudsdkcae/v1/model/show_component_request.py +53 -53
  111. huaweicloudsdkcae/v1/model/show_component_response.py +6 -6
  112. huaweicloudsdkcae/v1/model/show_execution_result_request.py +171 -0
  113. huaweicloudsdkcae/v1/model/show_execution_result_response.py +170 -0
  114. huaweicloudsdkcae/v1/model/show_job_request.py +37 -9
  115. huaweicloudsdkcae/v1/model/show_job_response.py +6 -6
  116. huaweicloudsdkcae/v1/model/source.py +9 -9
  117. huaweicloudsdkcae/v1/model/spec_cert.py +202 -0
  118. huaweicloudsdkcae/v1/model/task.py +68 -68
  119. huaweicloudsdkcae/v1/model/timer_rule_details.py +434 -0
  120. huaweicloudsdkcae/v1/model/update_cert_req.py +166 -0
  121. huaweicloudsdkcae/v1/model/update_certificate_request.py +196 -0
  122. huaweicloudsdkcae/v1/model/update_certificate_response.py +85 -0
  123. huaweicloudsdkcae/v1/model/update_component_request.py +53 -53
  124. huaweicloudsdkcae/v1/model/update_component_request_body.py +10 -10
  125. huaweicloudsdkcae/v1/model/update_component_request_metadata.py +143 -0
  126. huaweicloudsdkcae/v1/model/update_component_request_spec.py +52 -19
  127. huaweicloudsdkcae/v1/model/update_spec_cert.py +170 -0
  128. huaweicloudsdkcae/v1/model/update_timer_rule_details.py +312 -0
  129. huaweicloudsdkcae/v1/model/update_timer_rule_req.py +166 -0
  130. huaweicloudsdkcae/v1/model/update_timer_rule_request.py +196 -0
  131. huaweicloudsdkcae/v1/model/update_timer_rule_response.py +85 -0
  132. huaweicloudsdkcae/v1/model/volume.py +15 -15
  133. huaweicloudsdkcae/v1/model/volume_spec.py +3 -3
  134. huaweicloudsdkcae/v1/region/cae_region.py +3 -0
  135. {huaweicloudsdkcae-3.1.47.dist-info → huaweicloudsdkcae-3.1.49.dist-info}/LICENSE +0 -0
  136. {huaweicloudsdkcae-3.1.47.dist-info → huaweicloudsdkcae-3.1.49.dist-info}/METADATA +2 -2
  137. huaweicloudsdkcae-3.1.49.dist-info/RECORD +152 -0
  138. huaweicloudsdkcae/v1/model/environment_metadata.py +0 -318
  139. huaweicloudsdkcae/v1/model/metadata.py +0 -317
  140. huaweicloudsdkcae-3.1.47.dist-info/RECORD +0 -107
  141. {huaweicloudsdkcae-3.1.47.dist-info → huaweicloudsdkcae-3.1.49.dist-info}/WHEEL +0 -0
  142. {huaweicloudsdkcae-3.1.47.dist-info → huaweicloudsdkcae-3.1.49.dist-info}/top_level.txt +0 -0
@@ -5,7 +5,7 @@ import six
5
5
  from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
6
 
7
7
 
8
- class LogStrategy:
8
+ class AppInfo:
9
9
 
10
10
  """
11
11
  Attributes:
@@ -17,80 +17,80 @@ class LogStrategy:
17
17
  sensitive_list = []
18
18
 
19
19
  openapi_types = {
20
- 'collect_path': 'str',
21
- 'mount_path': 'str'
20
+ 'app_id': 'str',
21
+ 'app_name': 'str'
22
22
  }
23
23
 
24
24
  attribute_map = {
25
- 'collect_path': 'collect_path',
26
- 'mount_path': 'mount_path'
25
+ 'app_id': 'app_id',
26
+ 'app_name': 'app_name'
27
27
  }
28
28
 
29
- def __init__(self, collect_path=None, mount_path=None):
30
- """LogStrategy
29
+ def __init__(self, app_id=None, app_name=None):
30
+ """AppInfo
31
31
 
32
32
  The model defined in huaweicloud sdk
33
33
 
34
- :param collect_path: 收集路径。
35
- :type collect_path: str
36
- :param mount_path: 挂载路径。
37
- :type mount_path: str
34
+ :param app_id: 应用ID。
35
+ :type app_id: str
36
+ :param app_name: 应用名称。
37
+ :type app_name: str
38
38
  """
39
39
 
40
40
 
41
41
 
42
- self._collect_path = None
43
- self._mount_path = None
42
+ self._app_id = None
43
+ self._app_name = None
44
44
  self.discriminator = None
45
45
 
46
- if collect_path is not None:
47
- self.collect_path = collect_path
48
- if mount_path is not None:
49
- self.mount_path = mount_path
46
+ if app_id is not None:
47
+ self.app_id = app_id
48
+ if app_name is not None:
49
+ self.app_name = app_name
50
50
 
51
51
  @property
52
- def collect_path(self):
53
- """Gets the collect_path of this LogStrategy.
52
+ def app_id(self):
53
+ """Gets the app_id of this AppInfo.
54
54
 
55
- 收集路径。
55
+ 应用ID。
56
56
 
57
- :return: The collect_path of this LogStrategy.
57
+ :return: The app_id of this AppInfo.
58
58
  :rtype: str
59
59
  """
60
- return self._collect_path
60
+ return self._app_id
61
61
 
62
- @collect_path.setter
63
- def collect_path(self, collect_path):
64
- """Sets the collect_path of this LogStrategy.
62
+ @app_id.setter
63
+ def app_id(self, app_id):
64
+ """Sets the app_id of this AppInfo.
65
65
 
66
- 收集路径。
66
+ 应用ID。
67
67
 
68
- :param collect_path: The collect_path of this LogStrategy.
69
- :type collect_path: str
68
+ :param app_id: The app_id of this AppInfo.
69
+ :type app_id: str
70
70
  """
71
- self._collect_path = collect_path
71
+ self._app_id = app_id
72
72
 
73
73
  @property
74
- def mount_path(self):
75
- """Gets the mount_path of this LogStrategy.
74
+ def app_name(self):
75
+ """Gets the app_name of this AppInfo.
76
76
 
77
- 挂载路径。
77
+ 应用名称。
78
78
 
79
- :return: The mount_path of this LogStrategy.
79
+ :return: The app_name of this AppInfo.
80
80
  :rtype: str
81
81
  """
82
- return self._mount_path
82
+ return self._app_name
83
83
 
84
- @mount_path.setter
85
- def mount_path(self, mount_path):
86
- """Sets the mount_path of this LogStrategy.
84
+ @app_name.setter
85
+ def app_name(self, app_name):
86
+ """Sets the app_name of this AppInfo.
87
87
 
88
- 挂载路径。
88
+ 应用名称。
89
89
 
90
- :param mount_path: The mount_path of this LogStrategy.
91
- :type mount_path: str
90
+ :param app_name: The app_name of this AppInfo.
91
+ :type app_name: str
92
92
  """
93
- self._mount_path = mount_path
93
+ self._app_name = app_name
94
94
 
95
95
  def to_dict(self):
96
96
  """Returns the model properties as a dict"""
@@ -134,7 +134,7 @@ class LogStrategy:
134
134
 
135
135
  def __eq__(self, other):
136
136
  """Returns true if both objects are equal"""
137
- if not isinstance(other, LogStrategy):
137
+ if not isinstance(other, AppInfo):
138
138
  return False
139
139
 
140
140
  return self.__dict__ == other.__dict__
@@ -18,41 +18,62 @@ class ApplicationItem:
18
18
 
19
19
  openapi_types = {
20
20
  'id': 'str',
21
- 'name': 'str'
21
+ 'name': 'str',
22
+ 'annotations': 'dict(str, str)',
23
+ 'created_at': 'datetime',
24
+ 'updated_at': 'datetime'
22
25
  }
23
26
 
24
27
  attribute_map = {
25
28
  'id': 'id',
26
- 'name': 'name'
29
+ 'name': 'name',
30
+ 'annotations': 'annotations',
31
+ 'created_at': 'created_at',
32
+ 'updated_at': 'updated_at'
27
33
  }
28
34
 
29
- def __init__(self, id=None, name=None):
35
+ def __init__(self, id=None, name=None, annotations=None, created_at=None, updated_at=None):
30
36
  """ApplicationItem
31
37
 
32
38
  The model defined in huaweicloud sdk
33
39
 
34
- :param id: ID。
40
+ :param id: 应用ID。
35
41
  :type id: str
36
- :param name: 名称。
42
+ :param name: 应用名称。
37
43
  :type name: str
44
+ :param annotations: 应用附加属性,当前只支持description参数。
45
+ :type annotations: dict(str, str)
46
+ :param created_at: 创建时间。
47
+ :type created_at: datetime
48
+ :param updated_at: 更新时间。
49
+ :type updated_at: datetime
38
50
  """
39
51
 
40
52
 
41
53
 
42
54
  self._id = None
43
55
  self._name = None
56
+ self._annotations = None
57
+ self._created_at = None
58
+ self._updated_at = None
44
59
  self.discriminator = None
45
60
 
46
61
  if id is not None:
47
62
  self.id = id
48
63
  if name is not None:
49
64
  self.name = name
65
+ if annotations is not None:
66
+ self.annotations = annotations
67
+ if created_at is not None:
68
+ self.created_at = created_at
69
+ if updated_at is not None:
70
+ self.updated_at = updated_at
50
71
 
51
72
  @property
52
73
  def id(self):
53
74
  """Gets the id of this ApplicationItem.
54
75
 
55
- ID。
76
+ 应用ID。
56
77
 
57
78
  :return: The id of this ApplicationItem.
58
79
  :rtype: str
@@ -63,7 +84,7 @@ class ApplicationItem:
63
84
  def id(self, id):
64
85
  """Sets the id of this ApplicationItem.
65
86
 
66
- ID。
87
+ 应用ID。
67
88
 
68
89
  :param id: The id of this ApplicationItem.
69
90
  :type id: str
@@ -74,7 +95,7 @@ class ApplicationItem:
74
95
  def name(self):
75
96
  """Gets the name of this ApplicationItem.
76
97
 
77
- 名称。
98
+ 应用名称。
78
99
 
79
100
  :return: The name of this ApplicationItem.
80
101
  :rtype: str
@@ -85,13 +106,79 @@ class ApplicationItem:
85
106
  def name(self, name):
86
107
  """Sets the name of this ApplicationItem.
87
108
 
88
- 名称。
109
+ 应用名称。
89
110
 
90
111
  :param name: The name of this ApplicationItem.
91
112
  :type name: str
92
113
  """
93
114
  self._name = name
94
115
 
116
+ @property
117
+ def annotations(self):
118
+ """Gets the annotations of this ApplicationItem.
119
+
120
+ 应用附加属性,当前只支持description参数。
121
+
122
+ :return: The annotations of this ApplicationItem.
123
+ :rtype: dict(str, str)
124
+ """
125
+ return self._annotations
126
+
127
+ @annotations.setter
128
+ def annotations(self, annotations):
129
+ """Sets the annotations of this ApplicationItem.
130
+
131
+ 应用附加属性,当前只支持description参数。
132
+
133
+ :param annotations: The annotations of this ApplicationItem.
134
+ :type annotations: dict(str, str)
135
+ """
136
+ self._annotations = annotations
137
+
138
+ @property
139
+ def created_at(self):
140
+ """Gets the created_at of this ApplicationItem.
141
+
142
+ 创建时间。
143
+
144
+ :return: The created_at of this ApplicationItem.
145
+ :rtype: datetime
146
+ """
147
+ return self._created_at
148
+
149
+ @created_at.setter
150
+ def created_at(self, created_at):
151
+ """Sets the created_at of this ApplicationItem.
152
+
153
+ 创建时间。
154
+
155
+ :param created_at: The created_at of this ApplicationItem.
156
+ :type created_at: datetime
157
+ """
158
+ self._created_at = created_at
159
+
160
+ @property
161
+ def updated_at(self):
162
+ """Gets the updated_at of this ApplicationItem.
163
+
164
+ 更新时间。
165
+
166
+ :return: The updated_at of this ApplicationItem.
167
+ :rtype: datetime
168
+ """
169
+ return self._updated_at
170
+
171
+ @updated_at.setter
172
+ def updated_at(self, updated_at):
173
+ """Sets the updated_at of this ApplicationItem.
174
+
175
+ 更新时间。
176
+
177
+ :param updated_at: The updated_at of this ApplicationItem.
178
+ :type updated_at: datetime
179
+ """
180
+ self._updated_at = updated_at
181
+
95
182
  def to_dict(self):
96
183
  """Returns the model properties as a dict"""
97
184
  result = {}
@@ -37,15 +37,15 @@ class ApplicationMetadata:
37
37
 
38
38
  The model defined in huaweicloud sdk
39
39
 
40
- :param id: 应用id
40
+ :param id: 应用ID
41
41
  :type id: str
42
42
  :param name: 应用名称。
43
43
  :type name: str
44
- :param annotations: 附加应用信息。
44
+ :param annotations: 应用附加属性,当前只支持description参数。
45
45
  :type annotations: dict(str, str)
46
46
  :param created_at: 创建时间。
47
47
  :type created_at: str
48
- :param updated_at: 修改时间。
48
+ :param updated_at: 更新时间。
49
49
  :type updated_at: str
50
50
  """
51
51
 
@@ -73,7 +73,7 @@ class ApplicationMetadata:
73
73
  def id(self):
74
74
  """Gets the id of this ApplicationMetadata.
75
75
 
76
- 应用id
76
+ 应用ID
77
77
 
78
78
  :return: The id of this ApplicationMetadata.
79
79
  :rtype: str
@@ -84,7 +84,7 @@ class ApplicationMetadata:
84
84
  def id(self, id):
85
85
  """Sets the id of this ApplicationMetadata.
86
86
 
87
- 应用id
87
+ 应用ID
88
88
 
89
89
  :param id: The id of this ApplicationMetadata.
90
90
  :type id: str
@@ -117,7 +117,7 @@ class ApplicationMetadata:
117
117
  def annotations(self):
118
118
  """Gets the annotations of this ApplicationMetadata.
119
119
 
120
- 附加应用信息。
120
+ 应用附加属性,当前只支持description参数。
121
121
 
122
122
  :return: The annotations of this ApplicationMetadata.
123
123
  :rtype: dict(str, str)
@@ -128,7 +128,7 @@ class ApplicationMetadata:
128
128
  def annotations(self, annotations):
129
129
  """Sets the annotations of this ApplicationMetadata.
130
130
 
131
- 附加应用信息。
131
+ 应用附加属性,当前只支持description参数。
132
132
 
133
133
  :param annotations: The annotations of this ApplicationMetadata.
134
134
  :type annotations: dict(str, str)
@@ -161,7 +161,7 @@ class ApplicationMetadata:
161
161
  def updated_at(self):
162
162
  """Gets the updated_at of this ApplicationMetadata.
163
163
 
164
- 修改时间。
164
+ 更新时间。
165
165
 
166
166
  :return: The updated_at of this ApplicationMetadata.
167
167
  :rtype: str
@@ -172,7 +172,7 @@ class ApplicationMetadata:
172
172
  def updated_at(self, updated_at):
173
173
  """Sets the updated_at of this ApplicationMetadata.
174
174
 
175
- 修改时间。
175
+ 更新时间。
176
176
 
177
177
  :param updated_at: The updated_at of this ApplicationMetadata.
178
178
  :type updated_at: str
@@ -29,7 +29,7 @@ class Archive:
29
29
 
30
30
  The model defined in huaweicloud sdk
31
31
 
32
- :param artifact_namespace: 镜像命名空间。
32
+ :param artifact_namespace: 产物纳管SWR组织。
33
33
  :type artifact_namespace: str
34
34
  """
35
35
 
@@ -45,7 +45,7 @@ class Archive:
45
45
  def artifact_namespace(self):
46
46
  """Gets the artifact_namespace of this Archive.
47
47
 
48
- 镜像命名空间。
48
+ 产物纳管SWR组织。
49
49
 
50
50
  :return: The artifact_namespace of this Archive.
51
51
  :rtype: str
@@ -56,7 +56,7 @@ class Archive:
56
56
  def artifact_namespace(self, artifact_namespace):
57
57
  """Sets the artifact_namespace of this Archive.
58
58
 
59
- 镜像命名空间。
59
+ 产物纳管SWR组织。
60
60
 
61
61
  :param artifact_namespace: The artifact_namespace of this Archive.
62
62
  :type artifact_namespace: str
@@ -33,7 +33,7 @@ class Build:
33
33
 
34
34
  :param archive:
35
35
  :type archive: :class:`huaweicloudsdkcae.v1.Archive`
36
- :param parameters:
36
+ :param parameters: 构建附加参数。 - base_image:基础镜像地址。 - build_cmd:自定义构建命令。
37
37
  :type parameters: dict(str, str)
38
38
  """
39
39
 
@@ -68,6 +68,8 @@ class Build:
68
68
  def parameters(self):
69
69
  """Gets the parameters of this Build.
70
70
 
71
+ 构建附加参数。 - base_image:基础镜像地址。 - build_cmd:自定义构建命令。
72
+
71
73
  :return: The parameters of this Build.
72
74
  :rtype: dict(str, str)
73
75
  """
@@ -77,6 +79,8 @@ class Build:
77
79
  def parameters(self, parameters):
78
80
  """Sets the parameters of this Build.
79
81
 
82
+ 构建附加参数。 - base_image:基础镜像地址。 - build_cmd:自定义构建命令。
83
+
80
84
  :param parameters: The parameters of this Build.
81
85
  :type parameters: dict(str, str)
82
86
  """
@@ -0,0 +1,136 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class CertItem:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'metadata': 'MetaCert',
21
+ 'spec': 'SpecCert'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'metadata': 'metadata',
26
+ 'spec': 'spec'
27
+ }
28
+
29
+ def __init__(self, metadata=None, spec=None):
30
+ """CertItem
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param metadata:
35
+ :type metadata: :class:`huaweicloudsdkcae.v1.MetaCert`
36
+ :param spec:
37
+ :type spec: :class:`huaweicloudsdkcae.v1.SpecCert`
38
+ """
39
+
40
+
41
+
42
+ self._metadata = None
43
+ self._spec = None
44
+ self.discriminator = None
45
+
46
+ if metadata is not None:
47
+ self.metadata = metadata
48
+ if spec is not None:
49
+ self.spec = spec
50
+
51
+ @property
52
+ def metadata(self):
53
+ """Gets the metadata of this CertItem.
54
+
55
+ :return: The metadata of this CertItem.
56
+ :rtype: :class:`huaweicloudsdkcae.v1.MetaCert`
57
+ """
58
+ return self._metadata
59
+
60
+ @metadata.setter
61
+ def metadata(self, metadata):
62
+ """Sets the metadata of this CertItem.
63
+
64
+ :param metadata: The metadata of this CertItem.
65
+ :type metadata: :class:`huaweicloudsdkcae.v1.MetaCert`
66
+ """
67
+ self._metadata = metadata
68
+
69
+ @property
70
+ def spec(self):
71
+ """Gets the spec of this CertItem.
72
+
73
+ :return: The spec of this CertItem.
74
+ :rtype: :class:`huaweicloudsdkcae.v1.SpecCert`
75
+ """
76
+ return self._spec
77
+
78
+ @spec.setter
79
+ def spec(self, spec):
80
+ """Sets the spec of this CertItem.
81
+
82
+ :param spec: The spec of this CertItem.
83
+ :type spec: :class:`huaweicloudsdkcae.v1.SpecCert`
84
+ """
85
+ self._spec = spec
86
+
87
+ def to_dict(self):
88
+ """Returns the model properties as a dict"""
89
+ result = {}
90
+
91
+ for attr, _ in six.iteritems(self.openapi_types):
92
+ value = getattr(self, attr)
93
+ if isinstance(value, list):
94
+ result[attr] = list(map(
95
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
96
+ value
97
+ ))
98
+ elif hasattr(value, "to_dict"):
99
+ result[attr] = value.to_dict()
100
+ elif isinstance(value, dict):
101
+ result[attr] = dict(map(
102
+ lambda item: (item[0], item[1].to_dict())
103
+ if hasattr(item[1], "to_dict") else item,
104
+ value.items()
105
+ ))
106
+ else:
107
+ if attr in self.sensitive_list:
108
+ result[attr] = "****"
109
+ else:
110
+ result[attr] = value
111
+
112
+ return result
113
+
114
+ def to_str(self):
115
+ """Returns the string representation of the model"""
116
+ import simplejson as json
117
+ if six.PY2:
118
+ import sys
119
+ reload(sys)
120
+ sys.setdefaultencoding("utf-8")
121
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
122
+
123
+ def __repr__(self):
124
+ """For `print`"""
125
+ return self.to_str()
126
+
127
+ def __eq__(self, other):
128
+ """Returns true if both objects are equal"""
129
+ if not isinstance(other, CertItem):
130
+ return False
131
+
132
+ return self.__dict__ == other.__dict__
133
+
134
+ def __ne__(self, other):
135
+ """Returns true if both objects are not equal"""
136
+ return not self == other