@@ -1412,6 +1412,7 @@ def __init__(
14121412 period_unit: str = None,
14131413 policy_group_id: str = None,
14141414 promotion_id: str = None,
1415+ stream_mode: int = None,
14151416 tag: List[CreateAndroidInstanceGroupRequestTag] = None,
14161417 v_switch_id: str = None,
14171418 ):
@@ -1510,6 +1511,7 @@ def __init__(
15101511 # The ID of the policy. You can call the [ListPolicyGroups](https://help.aliyun.com/document_detail/2807352.html) operation to query policies.
15111512 self.policy_group_id = policy_group_id
15121513 self.promotion_id = promotion_id
1514+ self.stream_mode = stream_mode
15131515 # The tags
15141516 self.tag = tag
15151517 # The ID of the vSwitch. You can call the [DescribeVSwitches](https://help.aliyun.com/document_detail/448774.html) operation to query vSwitches.
@@ -1578,6 +1580,8 @@ def to_map(self):
15781580 result['PolicyGroupId'] = self.policy_group_id
15791581 if self.promotion_id is not None:
15801582 result['PromotionId'] = self.promotion_id
1583+ if self.stream_mode is not None:
1584+ result['StreamMode'] = self.stream_mode
15811585 result['Tag'] = []
15821586 if self.tag is not None:
15831587 for k in self.tag:
@@ -1635,6 +1639,8 @@ def from_map(self, m: dict = None):
16351639 self.policy_group_id = m.get('PolicyGroupId')
16361640 if m.get('PromotionId') is not None:
16371641 self.promotion_id = m.get('PromotionId')
1642+ if m.get('StreamMode') is not None:
1643+ self.stream_mode = m.get('StreamMode')
16381644 self.tag = []
16391645 if m.get('Tag') is not None:
16401646 for k in m.get('Tag'):
@@ -1706,6 +1712,7 @@ def __init__(
17061712 period_unit: str = None,
17071713 policy_group_id: str = None,
17081714 promotion_id: str = None,
1715+ stream_mode: int = None,
17091716 tag: List[CreateAndroidInstanceGroupShrinkRequestTag] = None,
17101717 v_switch_id: str = None,
17111718 ):
@@ -1804,6 +1811,7 @@ def __init__(
18041811 # The ID of the policy. You can call the [ListPolicyGroups](https://help.aliyun.com/document_detail/2807352.html) operation to query policies.
18051812 self.policy_group_id = policy_group_id
18061813 self.promotion_id = promotion_id
1814+ self.stream_mode = stream_mode
18071815 # The tags
18081816 self.tag = tag
18091817 # The ID of the vSwitch. You can call the [DescribeVSwitches](https://help.aliyun.com/document_detail/448774.html) operation to query vSwitches.
@@ -1870,6 +1878,8 @@ def to_map(self):
18701878 result['PolicyGroupId'] = self.policy_group_id
18711879 if self.promotion_id is not None:
18721880 result['PromotionId'] = self.promotion_id
1881+ if self.stream_mode is not None:
1882+ result['StreamMode'] = self.stream_mode
18731883 result['Tag'] = []
18741884 if self.tag is not None:
18751885 for k in self.tag:
@@ -1926,6 +1936,8 @@ def from_map(self, m: dict = None):
19261936 self.policy_group_id = m.get('PolicyGroupId')
19271937 if m.get('PromotionId') is not None:
19281938 self.promotion_id = m.get('PromotionId')
1939+ if m.get('StreamMode') is not None:
1940+ self.stream_mode = m.get('StreamMode')
19291941 self.tag = []
19301942 if m.get('Tag') is not None:
19311943 for k in m.get('Tag'):
@@ -14858,6 +14870,7 @@ def __init__(
1485814870 instance_group_id: str = None,
1485914871 new_instance_group_name: str = None,
1486014872 policy_group_id: str = None,
14873+ stream_mode: int = None,
1486114874 ):
1486214875 # The ID of the instance group.
1486314876 self.instance_group_id = instance_group_id
@@ -14869,6 +14882,7 @@ def __init__(
1486914882 self.new_instance_group_name = new_instance_group_name
1487014883 # The ID of the policy.
1487114884 self.policy_group_id = policy_group_id
14885+ self.stream_mode = stream_mode
1487214886
1487314887 def validate(self):
1487414888 pass
@@ -14885,6 +14899,8 @@ def to_map(self):
1488514899 result['NewInstanceGroupName'] = self.new_instance_group_name
1488614900 if self.policy_group_id is not None:
1488714901 result['PolicyGroupId'] = self.policy_group_id
14902+ if self.stream_mode is not None:
14903+ result['StreamMode'] = self.stream_mode
1488814904 return result
1488914905
1489014906 def from_map(self, m: dict = None):
@@ -14895,6 +14911,8 @@ def from_map(self, m: dict = None):
1489514911 self.new_instance_group_name = m.get('NewInstanceGroupName')
1489614912 if m.get('PolicyGroupId') is not None:
1489714913 self.policy_group_id = m.get('PolicyGroupId')
14914+ if m.get('StreamMode') is not None:
14915+ self.stream_mode = m.get('StreamMode')
1489814916 return self
1489914917
1490014918
0 commit comments