getCatalogServices

Using getCatalogServices

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getCatalogServices(args: GetCatalogServicesArgs, opts?: InvokeOptions): Promise<GetCatalogServicesResult>
function getCatalogServicesOutput(args: GetCatalogServicesOutputArgs, opts?: InvokeOptions): Output<GetCatalogServicesResult>
def get_catalog_services(query_options: Optional[Sequence[GetCatalogServicesQueryOption]] = None,
                         opts: Optional[InvokeOptions] = None) -> GetCatalogServicesResult
def get_catalog_services_output(query_options: Optional[pulumi.Input[Sequence[pulumi.Input[GetCatalogServicesQueryOptionArgs]]]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetCatalogServicesResult]
func GetCatalogServices(ctx *Context, args *GetCatalogServicesArgs, opts ...InvokeOption) (*GetCatalogServicesResult, error)
func GetCatalogServicesOutput(ctx *Context, args *GetCatalogServicesOutputArgs, opts ...InvokeOption) GetCatalogServicesResultOutput

> Note: This function is named GetCatalogServices in the Go SDK.

public static class GetCatalogServices 
{
    public static Task<GetCatalogServicesResult> InvokeAsync(GetCatalogServicesArgs args, InvokeOptions? opts = null)
    public static Output<GetCatalogServicesResult> Invoke(GetCatalogServicesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCatalogServicesResult> getCatalogServices(GetCatalogServicesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: consul:index/getCatalogServices:getCatalogServices
  arguments:
    # arguments dictionary

The following arguments are supported:

getCatalogServices Result

The following output properties are available:

Datacenter string
Id string

The provider-assigned unique ID for this managed resource.

Names List<string>
Services Dictionary<string, string>
Tags Dictionary<string, string>
QueryOptions List<GetCatalogServicesQueryOption>
Datacenter string
Id string

The provider-assigned unique ID for this managed resource.

Names []string
Services map[string]string
Tags map[string]string
QueryOptions []GetCatalogServicesQueryOption
datacenter String
id String

The provider-assigned unique ID for this managed resource.

names List<String>
services Map<String,String>
tags Map<String,String>
queryOptions List<GetCatalogServicesQueryOption>
datacenter string
id string

The provider-assigned unique ID for this managed resource.

names string[]
services {[key: string]: string}
tags {[key: string]: string}
queryOptions GetCatalogServicesQueryOption[]
datacenter str
id str

The provider-assigned unique ID for this managed resource.

names Sequence[str]
services Mapping[str, str]
tags Mapping[str, str]
query_options Sequence[GetCatalogServicesQueryOption]
datacenter String
id String

The provider-assigned unique ID for this managed resource.

names List<String>
services Map<String>
tags Map<String>
queryOptions List<Property Map>

Supporting Types

GetCatalogServicesQueryOption

AllowStale bool
Datacenter string
Namespace string
Near string
NodeMeta Dictionary<string, string>
Partition string
RequireConsistent bool
Token string
WaitIndex int
WaitTime string
AllowStale bool
Datacenter string
Namespace string
Near string
NodeMeta map[string]string
Partition string
RequireConsistent bool
Token string
WaitIndex int
WaitTime string
allowStale Boolean
datacenter String
namespace String
near String
nodeMeta Map<String,String>
partition String
requireConsistent Boolean
token String
waitIndex Integer
waitTime String
allowStale boolean
datacenter string
namespace string
near string
nodeMeta {[key: string]: string}
partition string
requireConsistent boolean
token string
waitIndex number
waitTime string
allowStale Boolean
datacenter String
namespace String
near String
nodeMeta Map<String>
partition String
requireConsistent Boolean
token String
waitIndex Number
waitTime String

Package Details

Repository
https://github.com/pulumi/pulumi-consul
License
Apache-2.0
Notes

This Pulumi package is based on the consul Terraform Provider.