Show / Hide Table of Contents

Class ServiceState

Inheritance
System.Object
InputArgs
ResourceArgs
ServiceState
Inherited Members
ResourceArgs.Empty
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.Consul
Assembly: Pulumi.Consul.dll
Syntax
public sealed class ServiceState : ResourceArgs

Constructors

View Source

ServiceState()

Declaration
public ServiceState()

Properties

View Source

Address

The address of the service. Defaults to the address of the node.

Declaration
public Input<string> Address { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Checks

Declaration
public InputList<ServiceCheckGetArgs> Checks { get; set; }
Property Value
Type Description
InputList<ServiceCheckGetArgs>
View Source

Datacenter

The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.

Declaration
public Input<string> Datacenter { get; set; }
Property Value
Type Description
Input<System.String>
View Source

External

Declaration
public Input<bool> External { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Meta

A map of arbitrary KV metadata linked to the service instance.

Declaration
public InputMap<string> Meta { get; set; }
Property Value
Type Description
InputMap<System.String>
View Source

Name

The name of the health-check.

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

Namespace

The namespace to create the service within.

Declaration
public Input<string> Namespace { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Node

The name of the node the to register the service on.

Declaration
public Input<string> Node { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Port

The port of the service.

Declaration
public Input<int> Port { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

ServiceId

  • If the service ID is not provided, it will be defaulted to the value of the name attribute.
Declaration
public Input<string> ServiceId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Tags

A list of values that are opaque to Consul, but can be used to distinguish between services or nodes.

Declaration
public InputList<string> Tags { get; set; }
Property Value
Type Description
InputList<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.