Show / Hide Table of Contents

Class 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",
            },
        },
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Balancer
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.SpotInst.Multai
Assembly: Pulumi.SpotInst.dll
Syntax
public class Balancer : CustomResource

Constructors

View Source

Balancer(String, BalancerArgs, CustomResourceOptions)

Create a Balancer resource with the given unique name, arguments, and options.

Declaration
public Balancer(string name, BalancerArgs args = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

BalancerArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

ConnectionTimeouts

Declaration
public Output<BalancerConnectionTimeouts> ConnectionTimeouts { get; }
Property Value
Type Description
Output<BalancerConnectionTimeouts>
View Source

DnsCnameAliases

Declaration
public Output<ImmutableArray<string>> DnsCnameAliases { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

Name

The balancer name. May contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

Scheme

Declaration
public Output<string> Scheme { get; }
Property Value
Type Description
Output<System.String>
View Source

Tags

A list of key:value paired tags.

Declaration
public Output<ImmutableArray<BalancerTag>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<BalancerTag>>

Methods

View Source

Get(String, Input<String>, BalancerState, CustomResourceOptions)

Get an existing Balancer resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Balancer Get(string name, Input<string> id, BalancerState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

BalancerState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Balancer
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.