@natzka-oss/pulumi-netbox
Version:
A Pulumi package for creating and managing Netbox cloud resources.
41 lines (40 loc) • 1.25 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
export declare function getTenants(args?: GetTenantsArgs, opts?: pulumi.InvokeOptions): Promise<GetTenantsResult>;
/**
* A collection of arguments for invoking getTenants.
*/
export interface GetTenantsArgs {
filters?: inputs.tenancy.GetTenantsFilter[];
/**
* Defaults to `1000`.
*/
limit?: number;
}
/**
* A collection of values returned by getTenants.
*/
export interface GetTenantsResult {
readonly filters?: outputs.tenancy.GetTenantsFilter[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Defaults to `1000`.
*/
readonly limit?: number;
readonly tenants: outputs.tenancy.GetTenantsTenant[];
}
export declare function getTenantsOutput(args?: GetTenantsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTenantsResult>;
/**
* A collection of arguments for invoking getTenants.
*/
export interface GetTenantsOutputArgs {
filters?: pulumi.Input<pulumi.Input<inputs.tenancy.GetTenantsFilterArgs>[]>;
/**
* Defaults to `1000`.
*/
limit?: pulumi.Input<number>;
}