Skip to content

Commit b2c4a39

Browse files
author
fengyikai
committed
星曜裸金属服务器(epc):查询物理机配置信息增加套餐组子机型信息及vpc、rdma网卡信息
1 parent a4c6ef9 commit b2c4a39

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

ksyun/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
# limitations under the License.
1515

1616

17-
__version__ = '1.5.8.11'
17+
__version__ = '1.5.8.12'

ksyun/client/epc/v20151101/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ def DescribeEpcStocks(self, request):
722722

723723

724724
def DescribeEpcDeviceAttributes(self, request):
725-
"""DescribeEpcDeviceAttributes
725+
"""查询云物理机型配置信息
726726
:param request: Request instance for DescribeEpcDeviceAttributes.
727727
:type request: :class:`ksyun.client.epc.v20151101.models.DescribeEpcDeviceAttributesRequest`
728728
"""

ksyun/client/epc/v20151101/models.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -865,15 +865,20 @@ def __init__(self):
865865
:type PathPrefix: Int
866866
:param NextToken: 获取另一页返回结果的 token.
867867
:type PathPrefix: String
868+
:param ImageId.N: 镜像ID
869+
:type PathPrefix: String
868870
"""
869871
self.MaxResults = None
870872
self.NextToken = None
873+
self.ImageId.N = None
871874

872875
def _deserialize(self, params):
873876
if params.get("MaxResults"):
874877
self.MaxResults = params.get("MaxResults")
875878
if params.get("NextToken"):
876879
self.NextToken = params.get("NextToken")
880+
if params.get("ImageId.N"):
881+
self.ImageId.N = params.get("ImageId.N")
877882

878883

879884
class ModifyDnsRequest(AbstractModel):
@@ -1313,7 +1318,7 @@ class DescribeEpcDeviceAttributesRequest(AbstractModel):
13131318
"""
13141319

13151320
def __init__(self):
1316-
r"""DescribeEpcDeviceAttributes
1321+
r"""查询云物理机型配置信息
13171322
:param Filter: 筛选Filter
13181323
:type PathPrefix: Filter
13191324
:param DeviceAttributeId: 设备的ID
@@ -2553,7 +2558,7 @@ class DescribeModelConfigRequest(AbstractModel):
25532558
def __init__(self):
25542559
r"""查询AI模型配置
25552560
:param MaxResults: 单次调用可返回的最大条目数量. 传入返回的 NextToken 值可以获取剩余的其它条目. 这个值可以允许的范围是 5- 1000.
2556-
类型: Integer
2561+
类型: Int
25572562
是否必填:否
25582563
:type PathPrefix: Int
25592564
:param NextToken: 获取另一页返回结果的 token.

0 commit comments

Comments
 (0)