@pulumi/wavefront
Version:
A Pulumi package for creating and managing wavefront cloud resources.
78 lines (77 loc) • 2.24 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Use this data source to get information about all Wavefront dashboards.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as wavefront from "@pulumi/wavefront";
*
* // Get the information about all dashboards.
* const example = wavefront.getDashboards({
* limit: 10,
* offset: 0,
* });
* ```
*/
export declare function getDashboards(args?: GetDashboardsArgs, opts?: pulumi.InvokeOptions): Promise<GetDashboardsResult>;
/**
* A collection of arguments for invoking getDashboards.
*/
export interface GetDashboardsArgs {
/**
* Limit is the maximum number of results to be returned. Defaults to 100.
*/
limit?: number;
/**
* Offset is the offset from the first result to be returned. Defaults to 0.
*/
offset?: number;
}
/**
* A collection of values returned by getDashboards.
*/
export interface GetDashboardsResult {
/**
* List of all Wavefront dashboards. For each dashboard you will see a list of attributes.
*/
readonly dashboards: outputs.GetDashboardsDashboard[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly limit?: number;
readonly offset?: number;
}
/**
* Use this data source to get information about all Wavefront dashboards.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as wavefront from "@pulumi/wavefront";
*
* // Get the information about all dashboards.
* const example = wavefront.getDashboards({
* limit: 10,
* offset: 0,
* });
* ```
*/
export declare function getDashboardsOutput(args?: GetDashboardsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDashboardsResult>;
/**
* A collection of arguments for invoking getDashboards.
*/
export interface GetDashboardsOutputArgs {
/**
* Limit is the maximum number of results to be returned. Defaults to 100.
*/
limit?: pulumi.Input<number>;
/**
* Offset is the offset from the first result to be returned. Defaults to 0.
*/
offset?: pulumi.Input<number>;
}