Comment on page
Opsservergroup
This namespace represents a mlops sever group in SKYHUB AI in DS2.ai's desktop application.
__init__(info, user)
- info (str) : Information about the current ops server groups corresponding to the object.
- user (str) : User for monitoring and controlling the ops server groups.
- id : The id from the 'info' parameter.
- url : DS2 API url information..
- user : User information.
- user_token : User token information.
Returns self.id.
__repr__()
- Ops sever group id
Specifies the size of your auto scaling group by changing the desired capacity. You can specify maximum and minimum capacity limits.
edit_autoscaling(min_server_size=None, max_server_size=None, start_server_size=None)
- min_server_size (int): Desired minimum sever size.
- max_server_size (int): Desired maximum sever size. If the maximum capacity limit is set to 0, group use will be stopped. More than 5 items are available through inquires from the sales team.
- start_server_size (int)
- return type
- value
- (if necessary)
Stops the running server group corresponding to the user object.
stop()
- None
Resumes the stopped server group corresponding to the user object.
resume()
- None
Deletes the server group corresponding to the user object.
delete()
- None
Last modified 1yr ago