import { ICommandDefinition } from "@zowe/imperative" ; export const ActionDefinition = { name : "action" , aliases : [ "act" ] , type : "command" , summary : "Perform instance actions." , description : "Perform actions on instances previously provisioned with z/OSMF cloud\n" + "   provisioning services. To view the list of provisioned instances, use the\n" + "   \"zowe provisioning list registry-instances\" command. Once you have\n" + "   obtained an instance name you can use the \"zowe provisioning list\n" + "   instance-info <name>\" command to view the available instance actions." , handler : __dirname + "/Action.handler" , profile : { optional : [ "zosmf" ] } , positionals : [ { name : "name" , type : "string" , description : "Provisioned Instance name." , required : true } , { name : "actionname" , type : "string" , description : "The action name. Use the \"zowe provisioning list instance-info <name>\"\n" + "      command to view available instance actions." , required : true } ] , examples : [ { description : `Perform the "start" action on the provisioned instance "instance1"` , options : "instance1 start" } ] } ;