@@ -325,3 +325,54 @@ def commitment_plan_create_or_update(
325325 plan .properties .next .count = next_count
326326 plan .properties .auto_renew = auto_renew
327327 return client .create_or_update (resource_group_name , account_name , commitment_plan_name , plan )
328+
329+
330+ def agent_update (client , account_name , agent_name , agent_version ,
331+ min_replica = None , max_replica = None , description = None , tags = None ):
332+ """
333+ Update hosted agent deployment configuration.
334+ Updates horizontal scale configuration (min and max replica), agent meta-data such as description and tags.
335+ New version is not created for this update.
336+ """
337+ raise NotImplementedError ("agent_update command is not yet implemented" )
338+
339+
340+ def agent_stop (client , account_name , agent_name , agent_version ):
341+ """
342+ Stop hosted agent deployment.
343+ """
344+ raise NotImplementedError ("agent_stop command is not yet implemented" )
345+
346+
347+ def agent_start (client , account_name , agent_name , agent_version ):
348+ """
349+ Start hosted agent deployment.
350+ """
351+ raise NotImplementedError ("agent_start command is not yet implemented" )
352+
353+
354+ def agent_delete_deployment (client , account_name , agent_name , agent_version ):
355+ """
356+ Delete hosted agent deployment.
357+ Deletes the agent deployment only, agent version associated with the deployment remains.
358+ """
359+ raise NotImplementedError ("agent_delete_deployment command is not yet implemented" )
360+
361+
362+ def agent_delete (client , account_name , agent_name , agent_version = None ):
363+ """
364+ Delete hosted agent version or all versions.
365+ If agent_version is provided, deletes the agent instance and agent definition associated with that version.
366+ If agent_version is not provided, deletes all agent instances and agent definitions associated with the agent name.
367+ """
368+ raise NotImplementedError ("agent_delete command is not yet implemented" )
369+
370+
371+ def agent_list (client , account_name , agent_name , agent_version = None ):
372+ """
373+ List hosted agent versions or deployments.
374+ If agent_version is not provided, lists all versions for an agent.
375+ If agent_version is provided, lists all deployments for that agent version.
376+ """
377+ raise NotImplementedError ("agent_list command is not yet implemented" )
378+
0 commit comments