Austin.Linode.LinodeClient.Linode_Boot C# (CSharp) Method

Linode_Boot() public method

Issues a boot job for the provided ConfigID. If no ConfigID is provided boots the last used configuration profile, or the first configuration profile if this Linode has never been booted.
possible errors: NOTFOUND
public Linode_Boot ( int LinodeID, int ConfigID = null ) : Austin.Linode.JobIdResponse
LinodeID int
ConfigID int The ConfigID to boot, available from linode.config.list().
return Austin.Linode.JobIdResponse
        public Austin.Linode.JobIdResponse Linode_Boot(
                int LinodeID,
                int? ConfigID = null)
        {
            var myParams = new Dictionary<string, string>();
            myParams.Add("LinodeID", LinodeID.ToString(CultureInfo.InvariantCulture));
            if (ConfigID != null)
                myParams.Add("ConfigID", ConfigID.Value.ToString(CultureInfo.InvariantCulture));
            return GetResponse<Austin.Linode.JobIdResponse>("linode.boot", myParams);
        }