UNPKG

pulumi-netbox

Version:

A Pulumi package for creating and managing Netbox resources.

40 lines (39 loc) 1.05 kB
import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as netbox from "@pulumi/netbox"; * * const customerA = pulumi.output(netbox.getTenant({ * name: "Customer A", * })); * ``` */ export declare function getTenant(args: GetTenantArgs, opts?: pulumi.InvokeOptions): Promise<GetTenantResult>; /** * A collection of arguments for invoking getTenant. */ export interface GetTenantArgs { name: string; } /** * A collection of values returned by getTenant. */ export interface GetTenantResult { readonly groupId: number; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; readonly slug: string; } export declare function getTenantOutput(args: GetTenantOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTenantResult>; /** * A collection of arguments for invoking getTenant. */ export interface GetTenantOutputArgs { name: pulumi.Input<string>; }