Opsservergroup

class Opsservergroup(object)

This namespace represents a mlops sever group in SKYHUB AI in DS2.ai's desktop application.

init()

__init__(info, user)

Parmeters

  • info (str) : Information about the current ops server groups corresponding to the object.

  • user (str) : User for monitoring and controlling the ops server groups.

Fields

  • id : The id from the 'info' parameter.

  • url : DS2 API url information..

  • user : User information.

  • user_token : User token information.

repr()

Returns self.id.

__repr__()

Return type

  • Ops sever group id

edit_autoscaling()

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)

Parmeters

  • 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

  • return type

  • value

Reference

  • (if necessary)

stop()

Stops the running server group corresponding to the user object.

stop()

Return type

  • None

resume()

Resumes the stopped server group corresponding to the user object.

resume()

Return type

  • None

delete()

Deletes the server group corresponding to the user object.

delete()

Return type

  • None

Last updated