Class ServiceState
Inherited Members
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 SourceServiceState()
Declaration
public ServiceState()
Properties
View SourceAddress
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> |
Checks
Declaration
public InputList<ServiceCheckGetArgs> Checks { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<ServiceCheckGetArgs> |
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> |
External
Declaration
public Input<bool> External { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
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> |
Name
The name of the health-check.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Namespace
The namespace to create the service within.
Declaration
public Input<string> Namespace { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
Port
The port of the service.
Declaration
public Input<int> Port { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
ServiceId
- If the service ID is not provided, it will be defaulted to the value
of the
nameattribute.
Declaration
public Input<string> ServiceId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |