Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

getCatalogServices

Using getCatalogServices

function getCatalogServices(args: GetCatalogServicesArgs, opts?: InvokeOptions): Promise<GetCatalogServicesResult>
def get_catalog_services(query_options: Optional[Sequence[GetCatalogServicesQueryOptionArgs]] = None, opts: Optional[InvokeOptions] = None) -> GetCatalogServicesResult
func GetCatalogServices(ctx *Context, args *GetCatalogServicesArgs, opts ...InvokeOption) (*GetCatalogServicesResult, error)

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

public static class GetCatalogServices {
    public static Task<GetCatalogServicesResult> InvokeAsync(GetCatalogServicesArgs args, InvokeOptions? opts = null)
}

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>
QueryOptions List<GetCatalogServicesQueryOption>
Datacenter string
Id string

The provider-assigned unique ID for this managed resource.

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

The provider-assigned unique ID for this managed resource.

names string[]
services {[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]
query_options Sequence[GetCatalogServicesQueryOption]

Supporting Types

GetCatalogServicesQueryOption

AllowStale bool
Datacenter string
Namespace string
Near string
NodeMeta Dictionary<string, string>
RequireConsistent bool
Token string
WaitIndex int
WaitTime string
AllowStale bool
Datacenter string
Namespace string
Near string
NodeMeta map[string]string
RequireConsistent bool
Token string
WaitIndex int
WaitTime string
allowStale boolean
datacenter string
namespace string
near string
nodeMeta {[key: string]: 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.