Class GetServicesQueryOptionArgs
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.Inputs
Assembly: Pulumi.Consul.dll
Syntax
public sealed class GetServicesQueryOptionArgs : InvokeArgs
Constructors
View SourceGetServicesQueryOptionArgs()
Declaration
public GetServicesQueryOptionArgs()
Properties
View SourceAllowStale
When true, the default, allow responses from
Consul servers that are followers.
Declaration
public bool? AllowStale { get; set; }
Property 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 string Datacenter { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Namespace
The namespace to lookup the services.
Declaration
public string Namespace { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Near
Declaration
public string Near { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
NodeMeta
Declaration
public Dictionary<string, string> NodeMeta { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.Dictionary<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 bool? RequireConsistent { get; set; }
Property 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 string Token { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
WaitIndex
Index number used to enable blocking quereis.
Declaration
public int? WaitIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
WaitTime
Max time the client should wait for a blocking query to return.
Declaration
public string WaitTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |