Show / Hide Table of Contents

Namespace Pulumi.SpotInst.Multai

Classes

Balancer

Provides a Spotinst Multai Balancer.

Example Usage

using Pulumi;
using SpotInst = Pulumi.SpotInst;

class MyStack : Stack
{
public MyStack()
{
    var myBalancer = new SpotInst.Multai.Balancer("myBalancer", new SpotInst.Multai.BalancerArgs
    {
        ConnectionTimeouts = new SpotInst.Multai.Inputs.BalancerConnectionTimeoutsArgs
        {
            Draining = 10,
            Idle = 10,
        },
        Scheme = "internal",
        Tags = 
        {
            new SpotInst.Multai.Inputs.BalancerTagArgs
            {
                Key = "env",
                Value = "prod",
            },
        },
    });
}

}

BalancerArgs

BalancerState

Deployment

Provides a Spotinst Multai Deployment.

Example Usage

using Pulumi;
using SpotInst = Pulumi.SpotInst;

class MyStack : Stack
{
public MyStack()
{
    var myDeployment = new SpotInst.Multai.Deployment("myDeployment", new SpotInst.Multai.DeploymentArgs
    {
    });
}

}

DeploymentArgs

DeploymentState

Listener

Provides a Spotinst Multai Listener.

ListenerArgs

ListenerState

RoutingRule

Provides a Spotinst Multai Routing Rule.

Example Usage

using Pulumi;
using SpotInst = Pulumi.SpotInst;

class MyStack : Stack
{
public MyStack()
{
    var myRoutingRule = new SpotInst.Multai.RoutingRule("myRoutingRule", new SpotInst.Multai.RoutingRuleArgs
    {
        BalancerId = "b-12345",
        ListenerId = "l-98765",
        Route = "Path(`/bar`)",
        Strategy = "LEASTCONN",
        Tags = 
        {
            new SpotInst.Multai.Inputs.RoutingRuleTagArgs
            {
                Key = "env",
                Value = "prod",
            },
        },
    });
}

}

RoutingRuleArgs

RoutingRuleState

Target

Provides a Spotinst Multai Target.

Example Usage

using Pulumi;
using SpotInst = Pulumi.SpotInst;

class MyStack : Stack
{
public MyStack()
{
    var myTarget = new SpotInst.Multai.Target("myTarget", new SpotInst.Multai.TargetArgs
    {
        BalancerId = "b-12345",
        Host = "host",
        Port = 1338,
        Tags = 
        {
            new SpotInst.Multai.Inputs.TargetTagArgs
            {
                Key = "env",
                Value = "prod",
            },
        },
        TargetSetId = "l-98765",
        Weight = 1,
    });
}

}

TargetArgs

TargetSet

Provides a Spotinst Multai Target Set.

Example Usage

using Pulumi;
using SpotInst = Pulumi.SpotInst;

class MyStack : Stack
{
public MyStack()
{
    var myTargetSet = new SpotInst.Multai.TargetSet("myTargetSet", new SpotInst.Multai.TargetSetArgs
    {
        BalancerId = "b-12345",
        DeploymentId = "dp-12345",
        HealthCheck = new SpotInst.Multai.Inputs.TargetSetHealthCheckArgs
        {
            HealthyThreshold = 3,
            Interval = 20,
            Path = "/",
            Port = 3001,
            Protocol = "http",
            Timeout = 5,
            UnhealthyThreshold = 3,
        },
        Port = 1338,
        Protocol = "http",
        Tags = 
        {
            new SpotInst.Multai.Inputs.TargetSetTagArgs
            {
                Key = "env",
                Value = "prod",
            },
        },
        Weight = 2,
    });
}

}

TargetSetArgs

TargetSetState

TargetState

Back to top Copyright 2016-2020, Pulumi Corporation.