UNPKG

@pulumi/consul

Version:

A Pulumi package for creating and managing consul resources.

75 lines (74 loc) 1.98 kB
import * as pulumi from "@pulumi/pulumi"; export declare function getConfigEntry(args: GetConfigEntryArgs, opts?: pulumi.InvokeOptions): Promise<GetConfigEntryResult>; /** * A collection of arguments for invoking getConfigEntry. */ export interface GetConfigEntryArgs { /** * The kind of config entry to read. */ kind: string; /** * The name of the config entry to read. */ name: string; /** * The namespace the config entry is associated with. */ namespace?: string; /** * The partition the config entry is associated with. */ partition?: string; } /** * A collection of values returned by getConfigEntry. */ export interface GetConfigEntryResult { /** * The configuration of the config entry. */ readonly configJson: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The kind of config entry to read. */ readonly kind: string; /** * The name of the config entry to read. */ readonly name: string; /** * The namespace the config entry is associated with. */ readonly namespace?: string; /** * The partition the config entry is associated with. */ readonly partition?: string; } export declare function getConfigEntryOutput(args: GetConfigEntryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConfigEntryResult>; /** * A collection of arguments for invoking getConfigEntry. */ export interface GetConfigEntryOutputArgs { /** * The kind of config entry to read. */ kind: pulumi.Input<string>; /** * The name of the config entry to read. */ name: pulumi.Input<string>; /** * The namespace the config entry is associated with. */ namespace?: pulumi.Input<string>; /** * The partition the config entry is associated with. */ partition?: pulumi.Input<string>; }