@@ -32,12 +32,12 @@ def __init__(self, parameters, header=None, version="v1"):
3232
3333class CreateAgParameters (object ):
3434
35- def __init__ (self , regionId , azs , agName , instanceTemplateId , ):
35+ def __init__ (self , regionId ,azs , agName , instanceTemplateId , ):
3636 """
3737 :param regionId: 地域
3838 :param azs: 支持的可用区,最少一个
3939 :param agName: 高可用组名称,只支持中文、数字、大小写字母、英文下划线 “_” 及中划线 “-”,且不能超过 32 字符
40- :param instanceTemplateId: 实例模板的Id
40+ :param instanceTemplateId: 实例模板的ID
4141 """
4242
4343 self .regionId = regionId
@@ -46,10 +46,11 @@ def __init__(self, regionId, azs, agName, instanceTemplateId, ):
4646 self .agType = None
4747 self .instanceTemplateId = instanceTemplateId
4848 self .description = None
49+ self .configurationType = None
4950
5051 def setAgType (self , agType ):
5152 """
52- :param agType: (Optional) 高可用组类型 ,支持vm
53+ :param agType: (Optional) 高可用组资源类型 ,支持vm
5354 """
5455 self .agType = agType
5556
@@ -59,3 +60,9 @@ def setDescription(self, description):
5960 """
6061 self .description = description
6162
63+ def setConfigurationType (self , configurationType ):
64+ """
65+ :param configurationType: (Optional) 高可用组配置类型,支持strict(关联模板型)、loose(自定义配置型)
66+ """
67+ self .configurationType = configurationType
68+
0 commit comments