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

getCatalogService

Using getCatalogService

function getCatalogService(args: GetCatalogServiceArgs, opts?: InvokeOptions): Promise<GetCatalogServiceResult>
def get_catalog_service(datacenter: Optional[str] = None, filter: Optional[str] = None, name: Optional[str] = None, query_options: Optional[Sequence[GetCatalogServiceQueryOptionArgs]] = None, tag: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> GetCatalogServiceResult
func GetCatalogService(ctx *Context, args *GetCatalogServiceArgs, opts ...InvokeOption) (*GetCatalogServiceResult, error)

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

public static class GetCatalogService {
    public static Task<GetCatalogServiceResult> InvokeAsync(GetCatalogServiceArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

getCatalogService Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Name string
Services List<GetCatalogServiceService>
Datacenter string
Filter string
QueryOptions List<GetCatalogServiceQueryOption>
Tag string
Id string

The provider-assigned unique ID for this managed resource.

Name string
Services []GetCatalogServiceService
Datacenter string
Filter string
QueryOptions []GetCatalogServiceQueryOption
Tag string
id string

The provider-assigned unique ID for this managed resource.

name string
services GetCatalogServiceService[]
datacenter string
filter string
queryOptions GetCatalogServiceQueryOption[]
tag string
id str

The provider-assigned unique ID for this managed resource.

name str
services Sequence[GetCatalogServiceService]
datacenter str
filter str
query_options Sequence[GetCatalogServiceQueryOption]
tag str

Supporting Types

GetCatalogServiceQueryOption

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

GetCatalogServiceService

Address string
CreateIndex string
EnableTagOverride string
Id string
Meta Dictionary<string, string>
ModifyIndex string
Name string
NodeAddress string
NodeId string
NodeMeta Dictionary<string, string>
NodeName string
Port string
TaggedAddresses Dictionary<string, string>
Tags List<string>
Address string
CreateIndex string
EnableTagOverride string
Id string
Meta map[string]string
ModifyIndex string
Name string
NodeAddress string
NodeId string
NodeMeta map[string]string
NodeName string
Port string
TaggedAddresses map[string]string
Tags []string
address string
createIndex string
enableTagOverride string
id string
meta {[key: string]: string}
modifyIndex string
name string
nodeAddress string
nodeId string
nodeMeta {[key: string]: string}
nodeName string
port string
taggedAddresses {[key: string]: string}
tags string[]
address str
create_index str
enable_tag_override str
id str
meta Mapping[str, str]
modify_index str
name str
node_address str
node_id str
node_meta Mapping[str, str]
node_name str
port str
tagged_addresses Mapping[str, str]
tags Sequence[str]

Package Details

Repository
https://github.com/pulumi/pulumi-consul
License
Apache-2.0
Notes
This Pulumi package is based on the consul Terraform Provider.