consul.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>
- Dictionary<string, string>
- Query
Options List<GetCatalog Services Query Option>
- Datacenter string
- Id string
The provider-assigned unique ID for this managed resource.
- Names []string
- Services map[string]string
- map[string]string
- Query
Options []GetCatalog Services Query Option
- datacenter String
- id String
The provider-assigned unique ID for this managed resource.
- names List<String>
- services Map<String,String>
- Map<String,String>
- query
Options List<GetCatalog Services Query Option>
- datacenter string
- id string
The provider-assigned unique ID for this managed resource.
- names string[]
- services {[key: string]: string}
- {[key: string]: string}
- query
Options GetCatalog Services Query Option[]
- datacenter str
- id str
The provider-assigned unique ID for this managed resource.
- names Sequence[str]
- services Mapping[str, str]
- Mapping[str, str]
- query_
options Sequence[GetCatalog Services Query Option]
- datacenter String
- id String
The provider-assigned unique ID for this managed resource.
- names List<String>
- services Map<String>
- Map<String>
- query
Options List<Property Map>
Supporting Types
GetCatalogServicesQueryOption
- 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
Package Details
- Repository
- HashiCorp Consul pulumi/pulumi-consul
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
consul
Terraform Provider.