multai

package
v0.0.0-...-7a9805f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Balancer

type Balancer struct {
	// contains filtered or unexported fields
}

Provides a Spotinst Multai Balancer.

func GetBalancer

func GetBalancer(ctx *pulumi.Context,
	name string, id pulumi.ID, state *BalancerState, opts ...pulumi.ResourceOpt) (*Balancer, error)

GetBalancer gets an existing Balancer resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBalancer

func NewBalancer(ctx *pulumi.Context,
	name string, args *BalancerArgs, opts ...pulumi.ResourceOpt) (*Balancer, error)

NewBalancer registers a new resource with the given unique name, arguments, and options.

func (*Balancer) ConnectionTimeouts

func (r *Balancer) ConnectionTimeouts() *pulumi.Output

func (*Balancer) DnsCnameAliases

func (r *Balancer) DnsCnameAliases() *pulumi.ArrayOutput

func (*Balancer) ID

func (r *Balancer) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Balancer) Name

func (r *Balancer) Name() *pulumi.StringOutput

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

func (*Balancer) Scheme

func (r *Balancer) Scheme() *pulumi.StringOutput

func (*Balancer) Tags

func (r *Balancer) Tags() *pulumi.ArrayOutput

A list of key:value paired tags.

func (*Balancer) URN

func (r *Balancer) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type BalancerArgs

type BalancerArgs struct {
	ConnectionTimeouts interface{}
	DnsCnameAliases    interface{}
	// The balancer name. May contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
	Name   interface{}
	Scheme interface{}
	// A list of key:value paired tags.
	Tags interface{}
}

The set of arguments for constructing a Balancer resource.

type BalancerState

type BalancerState struct {
	ConnectionTimeouts interface{}
	DnsCnameAliases    interface{}
	// The balancer name. May contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
	Name   interface{}
	Scheme interface{}
	// A list of key:value paired tags.
	Tags interface{}
}

Input properties used for looking up and filtering Balancer resources.

type Deployment

type Deployment struct {
	// contains filtered or unexported fields
}

Provides a Spotinst Multai Deployment.

func GetDeployment

func GetDeployment(ctx *pulumi.Context,
	name string, id pulumi.ID, state *DeploymentState, opts ...pulumi.ResourceOpt) (*Deployment, error)

GetDeployment gets an existing Deployment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDeployment

func NewDeployment(ctx *pulumi.Context,
	name string, args *DeploymentArgs, opts ...pulumi.ResourceOpt) (*Deployment, error)

NewDeployment registers a new resource with the given unique name, arguments, and options.

func (*Deployment) ID

func (r *Deployment) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Deployment) Name

func (r *Deployment) Name() *pulumi.StringOutput

The deployment name.

func (*Deployment) URN

func (r *Deployment) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type DeploymentArgs

type DeploymentArgs struct {
	// The deployment name.
	Name interface{}
}

The set of arguments for constructing a Deployment resource.

type DeploymentState

type DeploymentState struct {
	// The deployment name.
	Name interface{}
}

Input properties used for looking up and filtering Deployment resources.

type Listener

type Listener struct {
	// contains filtered or unexported fields
}

Provides a Spotinst Multai Listener.

func GetListener

func GetListener(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ListenerState, opts ...pulumi.ResourceOpt) (*Listener, error)

GetListener gets an existing Listener resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewListener

func NewListener(ctx *pulumi.Context,
	name string, args *ListenerArgs, opts ...pulumi.ResourceOpt) (*Listener, error)

NewListener registers a new resource with the given unique name, arguments, and options.

func (*Listener) BalancerId

func (r *Listener) BalancerId() *pulumi.StringOutput

The ID of the balancer.

func (*Listener) ID

func (r *Listener) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Listener) Port

func (r *Listener) Port() *pulumi.IntOutput

The port on which the load balancer is listening.

func (*Listener) Protocol

func (r *Listener) Protocol() *pulumi.StringOutput

The protocol to allow connections to the load balancer.

func (*Listener) Tags

func (r *Listener) Tags() *pulumi.ArrayOutput

A list of key:value paired tags.

func (*Listener) TlsConfig

func (r *Listener) TlsConfig() *pulumi.Output

Describes the TLSConfig configuration.

func (*Listener) URN

func (r *Listener) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type ListenerArgs

type ListenerArgs struct {
	// The ID of the balancer.
	BalancerId interface{}
	// The port on which the load balancer is listening.
	Port interface{}
	// The protocol to allow connections to the load balancer.
	Protocol interface{}
	// A list of key:value paired tags.
	Tags interface{}
	// Describes the TLSConfig configuration.
	TlsConfig interface{}
}

The set of arguments for constructing a Listener resource.

type ListenerState

type ListenerState struct {
	// The ID of the balancer.
	BalancerId interface{}
	// The port on which the load balancer is listening.
	Port interface{}
	// The protocol to allow connections to the load balancer.
	Protocol interface{}
	// A list of key:value paired tags.
	Tags interface{}
	// Describes the TLSConfig configuration.
	TlsConfig interface{}
}

Input properties used for looking up and filtering Listener resources.

type RoutingRule

type RoutingRule struct {
	// contains filtered or unexported fields
}

Provides a Spotinst Multai Routing Rule.

func GetRoutingRule

func GetRoutingRule(ctx *pulumi.Context,
	name string, id pulumi.ID, state *RoutingRuleState, opts ...pulumi.ResourceOpt) (*RoutingRule, error)

GetRoutingRule gets an existing RoutingRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRoutingRule

func NewRoutingRule(ctx *pulumi.Context,
	name string, args *RoutingRuleArgs, opts ...pulumi.ResourceOpt) (*RoutingRule, error)

NewRoutingRule registers a new resource with the given unique name, arguments, and options.

func (*RoutingRule) BalancerId

func (r *RoutingRule) BalancerId() *pulumi.StringOutput

The ID of the balancer.

func (*RoutingRule) ID

func (r *RoutingRule) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*RoutingRule) ListenerId

func (r *RoutingRule) ListenerId() *pulumi.StringOutput

The ID of the listener.

func (*RoutingRule) MiddlewareIds

func (r *RoutingRule) MiddlewareIds() *pulumi.ArrayOutput

func (*RoutingRule) Priority

func (r *RoutingRule) Priority() *pulumi.IntOutput

func (*RoutingRule) Route

func (r *RoutingRule) Route() *pulumi.StringOutput

Route defines a simple language for matching HTTP requests and route the traffic accordingly. Route provides series of matchers that follow the syntax: Path matcher: — Path("/foo/bar") // trie-based PathRegexp(“/foo/.*”) // regexp-based Method matcher: — Method(“GET”) // trie-based MethodRegexp(“POST|PUT”) // regexp based Header matcher: — Header(“Content-Type”, “application/json”) // trie-based HeaderRegexp(“Content-Type”, “application/.*”) // regexp based Matchers can be combined using && operator: — Method(“POST”) && Path("/v1")

func (*RoutingRule) Strategy

func (r *RoutingRule) Strategy() *pulumi.StringOutput

Balancing strategy. Valid values: `ROUNDROBIN`, `RANDOM`, `LEASTCONN`, `IPHASH`.

func (*RoutingRule) Tags

func (r *RoutingRule) Tags() *pulumi.ArrayOutput

A list of key:value paired tags.

func (*RoutingRule) TargetSetIds

func (r *RoutingRule) TargetSetIds() *pulumi.ArrayOutput

func (*RoutingRule) URN

func (r *RoutingRule) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type RoutingRuleArgs

type RoutingRuleArgs struct {
	// The ID of the balancer.
	BalancerId interface{}
	// The ID of the listener.
	ListenerId    interface{}
	MiddlewareIds interface{}
	Priority      interface{}
	// Route defines a simple language for matching HTTP requests and route the traffic accordingly. Route provides series of matchers that follow the syntax: Path matcher: — Path("/foo/bar") // trie-based PathRegexp(“/foo/.*”) // regexp-based Method matcher: — Method(“GET”) // trie-based MethodRegexp(“POST|PUT”) // regexp based Header matcher: — Header(“Content-Type”, “application/json”) // trie-based HeaderRegexp(“Content-Type”, “application/.*”) // regexp based Matchers can be combined using && operator: — Method(“POST”) && Path("/v1")
	Route interface{}
	// Balancing strategy. Valid values: `ROUNDROBIN`, `RANDOM`, `LEASTCONN`, `IPHASH`.
	Strategy interface{}
	// A list of key:value paired tags.
	Tags         interface{}
	TargetSetIds interface{}
}

The set of arguments for constructing a RoutingRule resource.

type RoutingRuleState

type RoutingRuleState struct {
	// The ID of the balancer.
	BalancerId interface{}
	// The ID of the listener.
	ListenerId    interface{}
	MiddlewareIds interface{}
	Priority      interface{}
	// Route defines a simple language for matching HTTP requests and route the traffic accordingly. Route provides series of matchers that follow the syntax: Path matcher: — Path("/foo/bar") // trie-based PathRegexp(“/foo/.*”) // regexp-based Method matcher: — Method(“GET”) // trie-based MethodRegexp(“POST|PUT”) // regexp based Header matcher: — Header(“Content-Type”, “application/json”) // trie-based HeaderRegexp(“Content-Type”, “application/.*”) // regexp based Matchers can be combined using && operator: — Method(“POST”) && Path("/v1")
	Route interface{}
	// Balancing strategy. Valid values: `ROUNDROBIN`, `RANDOM`, `LEASTCONN`, `IPHASH`.
	Strategy interface{}
	// A list of key:value paired tags.
	Tags         interface{}
	TargetSetIds interface{}
}

Input properties used for looking up and filtering RoutingRule resources.

type Target

type Target struct {
	// contains filtered or unexported fields
}

Provides a Spotinst Multai Target.

func GetTarget

func GetTarget(ctx *pulumi.Context,
	name string, id pulumi.ID, state *TargetState, opts ...pulumi.ResourceOpt) (*Target, error)

GetTarget gets an existing Target resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTarget

func NewTarget(ctx *pulumi.Context,
	name string, args *TargetArgs, opts ...pulumi.ResourceOpt) (*Target, error)

NewTarget registers a new resource with the given unique name, arguments, and options.

func (*Target) BalancerId

func (r *Target) BalancerId() *pulumi.StringOutput

The ID of the balancer.

func (*Target) Host

func (r *Target) Host() *pulumi.StringOutput

The address (IP or URL) of the targets to register

func (*Target) ID

func (r *Target) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Target) Name

func (r *Target) Name() *pulumi.StringOutput

The name of the Target . Must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.

func (*Target) Port

func (r *Target) Port() *pulumi.IntOutput

The port the target will register to.

func (*Target) Tags

func (r *Target) Tags() *pulumi.ArrayOutput

A list of key:value paired tags.

func (*Target) TargetSetId

func (r *Target) TargetSetId() *pulumi.StringOutput

The ID of the target set.

func (*Target) URN

func (r *Target) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*Target) Weight

func (r *Target) Weight() *pulumi.IntOutput

Defines how traffic is distributed between targets.

type TargetArgs

type TargetArgs struct {
	// The ID of the balancer.
	BalancerId interface{}
	// The address (IP or URL) of the targets to register
	Host interface{}
	// The name of the Target . Must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
	Name interface{}
	// The port the target will register to.
	Port interface{}
	// A list of key:value paired tags.
	Tags interface{}
	// The ID of the target set.
	TargetSetId interface{}
	// Defines how traffic is distributed between targets.
	Weight interface{}
}

The set of arguments for constructing a Target resource.

type TargetSet

type TargetSet struct {
	// contains filtered or unexported fields
}

Provides a Spotinst Multai Target Set.

func GetTargetSet

func GetTargetSet(ctx *pulumi.Context,
	name string, id pulumi.ID, state *TargetSetState, opts ...pulumi.ResourceOpt) (*TargetSet, error)

GetTargetSet gets an existing TargetSet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTargetSet

func NewTargetSet(ctx *pulumi.Context,
	name string, args *TargetSetArgs, opts ...pulumi.ResourceOpt) (*TargetSet, error)

NewTargetSet registers a new resource with the given unique name, arguments, and options.

func (*TargetSet) BalancerId

func (r *TargetSet) BalancerId() *pulumi.StringOutput

The id of the balancer.

func (*TargetSet) DeploymentId

func (r *TargetSet) DeploymentId() *pulumi.StringOutput

The id of the deployment.

func (*TargetSet) HealthCheck

func (r *TargetSet) HealthCheck() *pulumi.Output

func (*TargetSet) ID

func (r *TargetSet) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*TargetSet) Name

func (r *TargetSet) Name() *pulumi.StringOutput

The name of the Target Set. Must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.

func (*TargetSet) Port

func (r *TargetSet) Port() *pulumi.IntOutput

The port on which the load balancer is listening.

func (*TargetSet) Protocol

func (r *TargetSet) Protocol() *pulumi.StringOutput

The protocol to allow connections to the target for the health check.

func (*TargetSet) Tags

func (r *TargetSet) Tags() *pulumi.ArrayOutput

A list of key:value paired tags.

func (*TargetSet) URN

func (r *TargetSet) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*TargetSet) Weight

func (r *TargetSet) Weight() *pulumi.IntOutput

Defines how traffic is distributed between the Target Set.

type TargetSetArgs

type TargetSetArgs struct {
	// The id of the balancer.
	BalancerId interface{}
	// The id of the deployment.
	DeploymentId interface{}
	HealthCheck  interface{}
	// The name of the Target Set. Must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
	Name interface{}
	// The port on which the load balancer is listening.
	Port interface{}
	// The protocol to allow connections to the target for the health check.
	Protocol interface{}
	// A list of key:value paired tags.
	Tags interface{}
	// Defines how traffic is distributed between the Target Set.
	Weight interface{}
}

The set of arguments for constructing a TargetSet resource.

type TargetSetState

type TargetSetState struct {
	// The id of the balancer.
	BalancerId interface{}
	// The id of the deployment.
	DeploymentId interface{}
	HealthCheck  interface{}
	// The name of the Target Set. Must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
	Name interface{}
	// The port on which the load balancer is listening.
	Port interface{}
	// The protocol to allow connections to the target for the health check.
	Protocol interface{}
	// A list of key:value paired tags.
	Tags interface{}
	// Defines how traffic is distributed between the Target Set.
	Weight interface{}
}

Input properties used for looking up and filtering TargetSet resources.

type TargetState

type TargetState struct {
	// The ID of the balancer.
	BalancerId interface{}
	// The address (IP or URL) of the targets to register
	Host interface{}
	// The name of the Target . Must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
	Name interface{}
	// The port the target will register to.
	Port interface{}
	// A list of key:value paired tags.
	Tags interface{}
	// The ID of the target set.
	TargetSetId interface{}
	// Defines how traffic is distributed between targets.
	Weight interface{}
}

Input properties used for looking up and filtering Target resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL