spotinst logo

Spotinst

v3.22.0 published on Thursday, Jun 30, 2022 by Pulumi

The Spotinst provider for Pulumi can be used to provision any of the resources available in Spotinst.

Example

const spotinst = require("@pulumi/spotinst")

const deployment = new spotinst.multai.Deployment("myDeployment", {});
import * as spotinst from "@pulumi/spotinst";

const deployment = new spotinst.multai.Deployment("myDeployment");
import pulumi_spotinst as spotinst

deployment = spotinst.multai.Deployment("my_deployment")
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	multai "github.com/pulumi/pulumi-spotinst/sdk/v3/go/spotinst/multai"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		deployment, err := multai.NewDeployment(ctx, "example", &multai.DeploymentArgs{})
		if err != nil {
			return err
		}

		return nil
	})
}
using System.Collections.Generic;
using System.Threading.Tasks;
using Pulumi;
using Pulumi.SpotInst.Multai;

class Program
{
    static Task Main() =>
        Deployment.Run(() => {
            var deployment = new Multai.Deployment("example", new Multai.DeploymentArgs{});
        });
}