You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RegionId: str=Field(description='AlibabaCloud region ID', default='cn-hangzhou'),
51
-
InstanceIds: List[str] =Field(description='AlibabaCloud ECS instance ID List'),
52
-
CommandType: str=Field(description='The type of command executed on the ECS instance, optional value:RunShellScript,RunPythonScript,RunPerlScript,RunBatScript,RunPowerShellScript', default='RunShellScript'),
53
-
Command: str=Field(description='Content of the command executed on the ECS instance'),
50
+
Command: str=Field(description='Content of the command executed on the ECS instance'),
51
+
InstanceIds: List[str] =Field(description='AlibabaCloud ECS instance ID List'),
52
+
RegionId: str=Field(description='AlibabaCloud region ID', default='cn-hangzhou'),
53
+
CommandType: str=Field(description='The type of command executed on the ECS instance, optional value:RunShellScript,RunPythonScript,RunPerlScript,RunBatScript,RunPowerShellScript', default='RunShellScript')
RegionId: str=Field(description='AlibabaCloud region ID', default='cn-hangzhou'),
162
161
InstanceIds: List[str] =Field(description='AlibabaCloud ECS instance ID List'),
163
162
Password: str=Field(description='The password of the ECS instance must be 8-30 characters and must contain only the following characters: lowercase letters, uppercase letters, numbers, and special characters only.()~!@#$%^&*-_+=(40:<>,?/'),
163
+
RegionId: str=Field(description='AlibabaCloud region ID', default='cn-hangzhou'),
164
164
):
165
165
"""批量修改ECS实例的密码,请注意,本操作将会重启ECS实例"""
166
166
parameters= {
@@ -177,9 +177,9 @@ def OOS_ResetPassword(
177
177
178
178
@tools.append
179
179
defOOS_ReplaceSystemDisk(
180
-
RegionId: str=Field(description='AlibabaCloud region ID', default='cn-hangzhou'),
181
-
InstanceIds: List[str]=Field(description='AlibabaCloud ECS instance ID List'),
182
-
ImageId: str=Field(description='Image ID')
180
+
InstanceIds: List[str]=Field(description='AlibabaCloud ECS instance ID List'),
181
+
ImageId: str=Field(description='Image ID'),
182
+
RegionId: str=Field(description='AlibabaCloud region ID', default='cn-hangzhou')
183
183
):
184
184
"""批量替换ECS实例的系统盘,更换操作系统"""
185
185
parameters= {
@@ -197,8 +197,8 @@ def OOS_ReplaceSystemDisk(
197
197
198
198
@tools.append
199
199
defOOS_StartRDSInstances(
200
-
RegionId: str=Field(description='AlibabaCloud region ID', default='cn-hangzhou'),
201
-
InstanceIds: List[str]=Field(description='AlibabaCloud ECS instance ID List'),
200
+
InstanceIds: List[str]=Field(description='AlibabaCloud ECS instance ID List'),
201
+
RegionId: str=Field(description='AlibabaCloud region ID', default='cn-hangzhou')
0 commit comments