π StackScript
StackScripts provide Linode users with the ability to automate the deployment of custom systems. They work by running a custom script when deploying a new Compute Instance. These custom scripts store tasks that you may need to repeat often on new Compute Instances, such as:
Automating common system administration tasks, such as installing and configuring software, configuring system settings, adding limited user accounts, and more.
Running externally hosted deployment scripts.
Quickly creating Compute Instances for yourself or clients with the exact starter configuration you need.
All StackScripts are stored in the Linode Cloud Manager and can be accessed whenever you deploy a Compute Instance. A StackScript authored by you is an Account StackScript. A Community StackScript is a StackScript created by a Linode community member that has made their StackScript publicly available.
Get All
LinodeClient linodeClient = new LinodeClient("apikey");
// Get All
List<StackScript> list = await linodeClient.StackScript.Get();Get One
Returns all of the information about a specified StackScript, including the contents of the script.
LinodeClient linodeClient = new LinodeClient("apikey");
// Get One
StackScript stackScript = await linodeClient.StackScript.Get(1278172);+Create
Creates a StackScript in your Account.
Update
Updates a StackScript.
Once a StackScript is made public, it cannot be made private.
Delete
Deletes a private StackScript you have permission to read_write. You cannot delete a public StackScript.
JSON
Last updated
Was this helpful?