UNPKG

@pulumi/nomad

Version:

A Pulumi package for creating and managing nomad cloud resources.

71 lines (70 loc) 1.73 kB
import * as pulumi from "@pulumi/pulumi"; /** * Retrieve information on an ACL Policy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nomad from "@pulumi/nomad"; * * const myPolicy = nomad.getAclPolicy({ * name: "my-policy", * }); * ``` */ export declare function getAclPolicy(args: GetAclPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetAclPolicyResult>; /** * A collection of arguments for invoking getAclPolicy. */ export interface GetAclPolicyArgs { /** * `(string)` - the name of the ACL Policy. */ name: string; } /** * A collection of values returned by getAclPolicy. */ export interface GetAclPolicyResult { /** * `(string)` - the description of the ACL Policy. */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * `(string)` - the name of the ACL Policy. */ readonly name: string; /** * `(string)` - the ACL Policy rules in HCL format. */ readonly rules: string; } /** * Retrieve information on an ACL Policy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nomad from "@pulumi/nomad"; * * const myPolicy = nomad.getAclPolicy({ * name: "my-policy", * }); * ``` */ export declare function getAclPolicyOutput(args: GetAclPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAclPolicyResult>; /** * A collection of arguments for invoking getAclPolicy. */ export interface GetAclPolicyOutputArgs { /** * `(string)` - the name of the ACL Policy. */ name: pulumi.Input<string>; }