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

Linode_Disk_Imagize() public method

Creates a gold-master image for future deployments
public Linode_Disk_Imagize ( int DiskID, int LinodeID, string Description = null, string Label = null ) : void
DiskID int Specifies the source Disk to create the image from
LinodeID int Specifies the source Linode to create the image from
Description string An optional description of the created image
Label string Sets the name of the image shown in the base image list, defaults to the source image label
return void
        public void Linode_Disk_Imagize(
                int DiskID,
                int LinodeID,
                string Description = null,
                string Label = null)
        {
            var myParams = new Dictionary<string, string>();
            myParams.Add("DiskID", DiskID.ToString(CultureInfo.InvariantCulture));
            myParams.Add("LinodeID", LinodeID.ToString(CultureInfo.InvariantCulture));
            if (Description != null)
                myParams.Add("Description", Description);
            if (Label != null)
                myParams.Add("Label", Label);
            GetResponse<object>("linode.disk.imagize", myParams);
        }