VM operations such as start, stop, restart, deallocateo
This commit is contained in:
Родитель
5b45fead27
Коммит
e370fb9c11
|
@ -3718,6 +3718,9 @@ def run_command( args, command, nargs, parser ):
|
|||
# for delete, delete the acs_resource_group (the parent group for westus2)
|
||||
az_tools.config["azure_cluster"]["resource_group_name"] = config["acs_resource_group"]
|
||||
az_tools.delete_cluster()
|
||||
elif nargs[0]=="vm":
|
||||
if (len(nargs) == 2):
|
||||
acs_tools.az_sys("vm {0} --ids $(az vm list -g {1} --query \"[].id\" -o tsv)".format(nargs[1], config["resource_group"]))
|
||||
|
||||
elif command == "update" and len(nargs)>=1:
|
||||
if nargs[0] == "config":
|
||||
|
|
Загрузка…
Ссылка в новой задаче