Show / Hide Table of Contents

Class GetServices

Inheritance
System.Object
GetServices
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 static class GetServices

Methods

View Source

InvokeAsync(GetServicesArgs, InvokeOptions)

The consul..getServices data source returns a list of Consul services that have been registered with the Consul cluster in a given datacenter. By specifying a different datacenter in the query_options it is possible to retrieve a list of services from a different WAN-attached Consul datacenter.

This data source is different from the consul..Service (singular) data source, which provides a detailed response about a specific Consul service.

{{% examples %}} {{% /examples %}}

Declaration
public static Task<GetServicesResult> InvokeAsync(GetServicesArgs args = null, InvokeOptions options = null)
Parameters
Type Name Description
GetServicesArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetServicesResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.