Class GetServicesQueryOptionResult
Inheritance
System.Object
GetServicesQueryOptionResult
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.Outputs
Assembly: Pulumi.Consul.dll
Syntax
public sealed class GetServicesQueryOptionResult
Fields
View SourceAllowStale
When true, the default, allow responses from
Consul servers that are followers.
Declaration
public readonly bool? AllowStale
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Datacenter
The Consul datacenter to query. Defaults to the
same value found in query_options parameter specified below, or if that is
empty, the datacenter value found in the Consul agent that this provider is
configured to talk to.
Declaration
public readonly string Datacenter
Field Value
| Type | Description |
|---|---|
| System.String |
Namespace
The namespace to lookup the services.
Declaration
public readonly string Namespace
Field Value
| Type | Description |
|---|---|
| System.String |
Near
Declaration
public readonly string Near
Field Value
| Type | Description |
|---|---|
| System.String |
NodeMeta
Declaration
public readonly ImmutableDictionary<string, string> NodeMeta
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableDictionary<System.String, System.String> |
RequireConsistent
When true force the client to perform a
read on at least quorum servers and verify the result is the same. Defaults
to false.
Declaration
public readonly bool? RequireConsistent
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Token
Specify the Consul ACL token to use when performing the
request. This defaults to the same API token configured by the consul
provider but may be overriden if necessary.
Declaration
public readonly string Token
Field Value
| Type | Description |
|---|---|
| System.String |
WaitIndex
Index number used to enable blocking quereis.
Declaration
public readonly int? WaitIndex
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
WaitTime
Max time the client should wait for a blocking query to return.
Declaration
public readonly string WaitTime
Field Value
| Type | Description |
|---|---|
| System.String |