Class GetServiceArgs
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 GetServiceArgs : InvokeArgs
Constructors
View SourceGetServiceArgs()
Declaration
public GetServiceArgs()
Properties
View SourceDatacenter
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 |
Name
The service name to select.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
QueryOptions
See below.
Declaration
public List<GetServiceQueryOptionArgs> QueryOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<GetServiceQueryOptionArgs> |
Tag
A single tag that can be used to filter the list of nodes to return based on a single matching tag..
Declaration
public string Tag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |