1. Packages
  2. Spotinst
Spotinst v3.68.0 published on Monday, Feb 19, 2024 by Pulumi

Spotinst

spotinst logo
Spotinst v3.68.0 published on Monday, Feb 19, 2024 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{});
            });
    }
    
    spotinst logo
    Spotinst v3.68.0 published on Monday, Feb 19, 2024 by Pulumi