consul.getCatalogService
Explore with Pulumi AI
Using getCatalogService
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 getCatalogService(args: GetCatalogServiceArgs, opts?: InvokeOptions): Promise<GetCatalogServiceResult>
function getCatalogServiceOutput(args: GetCatalogServiceOutputArgs, opts?: InvokeOptions): Output<GetCatalogServiceResult>
def get_catalog_service(datacenter: Optional[str] = None,
filter: Optional[str] = None,
name: Optional[str] = None,
query_options: Optional[Sequence[GetCatalogServiceQueryOption]] = None,
tag: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCatalogServiceResult
def get_catalog_service_output(datacenter: Optional[pulumi.Input[str]] = None,
filter: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
query_options: Optional[pulumi.Input[Sequence[pulumi.Input[GetCatalogServiceQueryOptionArgs]]]] = None,
tag: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCatalogServiceResult]
func GetCatalogService(ctx *Context, args *GetCatalogServiceArgs, opts ...InvokeOption) (*GetCatalogServiceResult, error)
func GetCatalogServiceOutput(ctx *Context, args *GetCatalogServiceOutputArgs, opts ...InvokeOption) GetCatalogServiceResultOutput
> Note: This function is named GetCatalogService
in the Go SDK.
public static class GetCatalogService
{
public static Task<GetCatalogServiceResult> InvokeAsync(GetCatalogServiceArgs args, InvokeOptions? opts = null)
public static Output<GetCatalogServiceResult> Invoke(GetCatalogServiceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCatalogServiceResult> getCatalogService(GetCatalogServiceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: consul:index/getCatalogService:getCatalogService
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Datacenter string
- Filter string
- Query
Options List<GetCatalog Service Query Option> - Tag string
- Name string
- Datacenter string
- Filter string
- Query
Options []GetCatalog Service Query Option - Tag string
- name String
- datacenter String
- filter String
- query
Options List<GetCatalog Service Query Option> - tag String
- name string
- datacenter string
- filter string
- query
Options GetCatalog Service Query Option[] - tag string
- name String
- datacenter String
- filter String
- query
Options List<Property Map> - tag String
getCatalogService Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
- Services
List<Get
Catalog Service Service> - Datacenter string
- Filter string
- Query
Options List<GetCatalog Service Query Option> - Tag string
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
- Services
[]Get
Catalog Service Service - Datacenter string
- Filter string
- Query
Options []GetCatalog Service Query Option - Tag string
- id String
The provider-assigned unique ID for this managed resource.
- name String
- services
List<Get
Catalog Service Service> - datacenter String
- filter String
- query
Options List<GetCatalog Service Query Option> - tag String
- id string
The provider-assigned unique ID for this managed resource.
- name string
- services
Get
Catalog Service Service[] - datacenter string
- filter string
- query
Options GetCatalog Service Query Option[] - tag string
- id str
The provider-assigned unique ID for this managed resource.
- name str
- services
Sequence[Get
Catalog Service Service] - datacenter str
- filter str
- query_
options Sequence[GetCatalog Service Query Option] - tag str
- id String
The provider-assigned unique ID for this managed resource.
- name String
- services List<Property Map>
- datacenter String
- filter String
- query
Options List<Property Map> - tag String
Supporting Types
GetCatalogServiceQueryOption
- Allow
Stale bool - Datacenter string
- Namespace string
- Near string
- Node
Meta Dictionary<string, string> - Partition string
- Require
Consistent bool - Token string
- Wait
Index int - Wait
Time string
- Allow
Stale bool - Datacenter string
- Namespace string
- Near string
- Node
Meta map[string]string - Partition string
- Require
Consistent bool - Token string
- Wait
Index int - Wait
Time string
- allow
Stale Boolean - datacenter String
- namespace String
- near String
- node
Meta Map<String,String> - partition String
- require
Consistent Boolean - token String
- wait
Index Integer - wait
Time String
- allow
Stale boolean - datacenter string
- namespace string
- near string
- node
Meta {[key: string]: string} - partition string
- require
Consistent boolean - token string
- wait
Index number - wait
Time string
- allow_
stale bool - datacenter str
- namespace str
- near str
- node_
meta Mapping[str, str] - partition str
- require_
consistent bool - token str
- wait_
index int - wait_
time str
- allow
Stale Boolean - datacenter String
- namespace String
- near String
- node
Meta Map<String> - partition String
- require
Consistent Boolean - token String
- wait
Index Number - wait
Time String
GetCatalogServiceService
- Address string
- Create
Index string - Enable
Tag stringOverride - Id string
- Meta Dictionary<string, string>
- Modify
Index string - Name string
- Node
Address string - Node
Id string - Node
Meta Dictionary<string, string> - Node
Name string - Port string
- Tagged
Addresses Dictionary<string, string> - List<string>
- Address string
- Create
Index string - Enable
Tag stringOverride - Id string
- Meta map[string]string
- Modify
Index string - Name string
- Node
Address string - Node
Id string - Node
Meta map[string]string - Node
Name string - Port string
- Tagged
Addresses map[string]string - []string
- address String
- create
Index String - enable
Tag StringOverride - id String
- meta Map<String,String>
- modify
Index String - name String
- node
Address String - node
Id String - node
Meta Map<String,String> - node
Name String - port String
- tagged
Addresses Map<String,String> - List<String>
- address string
- create
Index string - enable
Tag stringOverride - id string
- meta {[key: string]: string}
- modify
Index string - name string
- node
Address string - node
Id string - node
Meta {[key: string]: string} - node
Name string - port string
- tagged
Addresses {[key: string]: string} - string[]
- address str
- create_
index str - enable_
tag_ stroverride - 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] - Sequence[str]
- address String
- create
Index String - enable
Tag StringOverride - id String
- meta Map<String>
- modify
Index String - name String
- node
Address String - node
Id String - node
Meta Map<String> - node
Name String - port String
- tagged
Addresses Map<String> - List<String>
Package Details
- Repository
- HashiCorp Consul pulumi/pulumi-consul
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
consul
Terraform Provider.