UNPKG

@pulumi/nomad

Version:

A Pulumi package for creating and managing nomad cloud resources.

56 lines (55 loc) 1.41 kB
import * as pulumi from "@pulumi/pulumi"; /** * Retrieve a list of dynamic plugins in Nomad. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nomad from "@pulumi/nomad"; * * const example = nomad.getPlugins({}); * ``` */ export declare function getPlugins(args?: GetPluginsArgs, opts?: pulumi.InvokeOptions): Promise<GetPluginsResult>; /** * A collection of arguments for invoking getPlugins. */ export interface GetPluginsArgs { type?: string; } /** * A collection of values returned by getPlugins. */ export interface GetPluginsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * `(list of maps)` a list of dynamic plugins registered in the cluster. */ readonly plugins: { [key: string]: string; }[]; readonly type?: string; } /** * Retrieve a list of dynamic plugins in Nomad. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nomad from "@pulumi/nomad"; * * const example = nomad.getPlugins({}); * ``` */ export declare function getPluginsOutput(args?: GetPluginsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPluginsResult>; /** * A collection of arguments for invoking getPlugins. */ export interface GetPluginsOutputArgs { type?: pulumi.Input<string>; }