consul.getCatalogNodes
Explore with Pulumi AI
Using getCatalogNodes
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 getCatalogNodes(args: GetCatalogNodesArgs, opts?: InvokeOptions): Promise<GetCatalogNodesResult>
function getCatalogNodesOutput(args: GetCatalogNodesOutputArgs, opts?: InvokeOptions): Output<GetCatalogNodesResult>
def get_catalog_nodes(query_options: Optional[Sequence[GetCatalogNodesQueryOption]] = None,
opts: Optional[InvokeOptions] = None) -> GetCatalogNodesResult
def get_catalog_nodes_output(query_options: Optional[pulumi.Input[Sequence[pulumi.Input[GetCatalogNodesQueryOptionArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCatalogNodesResult]
func GetCatalogNodes(ctx *Context, args *GetCatalogNodesArgs, opts ...InvokeOption) (*GetCatalogNodesResult, error)
func GetCatalogNodesOutput(ctx *Context, args *GetCatalogNodesOutputArgs, opts ...InvokeOption) GetCatalogNodesResultOutput
> Note: This function is named GetCatalogNodes
in the Go SDK.
public static class GetCatalogNodes
{
public static Task<GetCatalogNodesResult> InvokeAsync(GetCatalogNodesArgs args, InvokeOptions? opts = null)
public static Output<GetCatalogNodesResult> Invoke(GetCatalogNodesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCatalogNodesResult> getCatalogNodes(GetCatalogNodesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: consul:index/getCatalogNodes:getCatalogNodes
arguments:
# arguments dictionary
The following arguments are supported:
getCatalogNodes Result
The following output properties are available:
- Datacenter string
- Id string
The provider-assigned unique ID for this managed resource.
- Node
Ids List<string> - Node
Names List<string> - Nodes
List<Get
Catalog Nodes Node> - Query
Options List<GetCatalog Nodes Query Option>
- Datacenter string
- Id string
The provider-assigned unique ID for this managed resource.
- Node
Ids []string - Node
Names []string - Nodes
[]Get
Catalog Nodes Node - Query
Options []GetCatalog Nodes Query Option
- datacenter String
- id String
The provider-assigned unique ID for this managed resource.
- node
Ids List<String> - node
Names List<String> - nodes
List<Get
Catalog Nodes Node> - query
Options List<GetCatalog Nodes Query Option>
- datacenter string
- id string
The provider-assigned unique ID for this managed resource.
- node
Ids string[] - node
Names string[] - nodes
Get
Catalog Nodes Node[] - query
Options GetCatalog Nodes Query Option[]
- datacenter str
- id str
The provider-assigned unique ID for this managed resource.
- node_
ids Sequence[str] - node_
names Sequence[str] - nodes
Sequence[Get
Catalog Nodes Node] - query_
options Sequence[GetCatalog Nodes Query Option]
- datacenter String
- id String
The provider-assigned unique ID for this managed resource.
- node
Ids List<String> - node
Names List<String> - nodes List<Property Map>
- query
Options List<Property Map>
Supporting Types
GetCatalogNodesNode
- Address string
- Id string
- Meta Dictionary<string, string>
- Name string
- Tagged
Addresses Dictionary<string, string>
- Address string
- Id string
- Meta map[string]string
- Name string
- Tagged
Addresses map[string]string
- address String
- id String
- meta Map<String,String>
- name String
- tagged
Addresses Map<String,String>
- address string
- id string
- meta {[key: string]: string}
- name string
- tagged
Addresses {[key: string]: string}
- address str
- id str
- meta Mapping[str, str]
- name str
- tagged_
addresses Mapping[str, str]
- address String
- id String
- meta Map<String>
- name String
- tagged
Addresses Map<String>
GetCatalogNodesQueryOption
- Allow
Stale bool - Datacenter 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
- 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
- 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
- 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
- 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
- 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.