consul.getConfigEntry
Explore with Pulumi AI
Using getConfigEntry
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 getConfigEntry(args: GetConfigEntryArgs, opts?: InvokeOptions): Promise<GetConfigEntryResult>
function getConfigEntryOutput(args: GetConfigEntryOutputArgs, opts?: InvokeOptions): Output<GetConfigEntryResult>
def get_config_entry(kind: Optional[str] = None,
name: Optional[str] = None,
namespace: Optional[str] = None,
partition: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConfigEntryResult
def get_config_entry_output(kind: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
namespace: Optional[pulumi.Input[str]] = None,
partition: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConfigEntryResult]
func LookupConfigEntry(ctx *Context, args *LookupConfigEntryArgs, opts ...InvokeOption) (*LookupConfigEntryResult, error)
func LookupConfigEntryOutput(ctx *Context, args *LookupConfigEntryOutputArgs, opts ...InvokeOption) LookupConfigEntryResultOutput
> Note: This function is named LookupConfigEntry
in the Go SDK.
public static class GetConfigEntry
{
public static Task<GetConfigEntryResult> InvokeAsync(GetConfigEntryArgs args, InvokeOptions? opts = null)
public static Output<GetConfigEntryResult> Invoke(GetConfigEntryInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetConfigEntryResult> getConfigEntry(GetConfigEntryArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: consul:index/getConfigEntry:getConfigEntry
arguments:
# arguments dictionary
The following arguments are supported:
getConfigEntry Result
The following output properties are available:
- Config
Json string The configuration of the config entry.
- Id string
The provider-assigned unique ID for this managed resource.
- Kind string
The kind of config entry to read.
- Name string
The name of the config entry to read.
- Namespace string
The namespace the config entry is associated with.
- Partition string
The partition the config entry is associated with.
- Config
Json string The configuration of the config entry.
- Id string
The provider-assigned unique ID for this managed resource.
- Kind string
The kind of config entry to read.
- Name string
The name of the config entry to read.
- Namespace string
The namespace the config entry is associated with.
- Partition string
The partition the config entry is associated with.
- config
Json String The configuration of the config entry.
- id String
The provider-assigned unique ID for this managed resource.
- kind String
The kind of config entry to read.
- name String
The name of the config entry to read.
- namespace String
The namespace the config entry is associated with.
- partition String
The partition the config entry is associated with.
- config
Json string The configuration of the config entry.
- id string
The provider-assigned unique ID for this managed resource.
- kind string
The kind of config entry to read.
- name string
The name of the config entry to read.
- namespace string
The namespace the config entry is associated with.
- partition string
The partition the config entry is associated with.
- config_
json str The configuration of the config entry.
- id str
The provider-assigned unique ID for this managed resource.
- kind str
The kind of config entry to read.
- name str
The name of the config entry to read.
- namespace str
The namespace the config entry is associated with.
- partition str
The partition the config entry is associated with.
- config
Json String The configuration of the config entry.
- id String
The provider-assigned unique ID for this managed resource.
- kind String
The kind of config entry to read.
- name String
The name of the config entry to read.
- namespace String
The namespace the config entry is associated with.
- partition String
The partition the config entry is associated with.
Package Details
- Repository
- HashiCorp Consul pulumi/pulumi-consul
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
consul
Terraform Provider.