UNPKG

@natzka-oss/pulumi-netbox

Version:

A Pulumi package for creating and managing Netbox cloud resources.

46 lines (45 loc) 1.25 kB
import * as pulumi from "@pulumi/pulumi"; export declare function getLocation(args?: GetLocationArgs, opts?: pulumi.InvokeOptions): Promise<GetLocationResult>; /** * A collection of arguments for invoking getLocation. */ export interface GetLocationArgs { /** * The ID of this resource. */ id?: string; name?: string; parentId?: number; siteId?: number; slug?: string; } /** * A collection of values returned by getLocation. */ export interface GetLocationResult { readonly description: string; /** * The ID of this resource. */ readonly id: string; readonly name?: string; readonly parentId: number; readonly siteId: number; readonly slug?: string; readonly status: string; readonly tenantId: number; } export declare function getLocationOutput(args?: GetLocationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLocationResult>; /** * A collection of arguments for invoking getLocation. */ export interface GetLocationOutputArgs { /** * The ID of this resource. */ id?: pulumi.Input<string>; name?: pulumi.Input<string>; parentId?: pulumi.Input<number>; siteId?: pulumi.Input<number>; slug?: pulumi.Input<string>; }