@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
93 lines (92 loc) • 2.26 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Retrieves a listing of config items.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* const example = scm.getFolderList({});
* ```
*/
export declare function getFolderList(args?: GetFolderListArgs, opts?: pulumi.InvokeOptions): Promise<GetFolderListResult>;
/**
* A collection of arguments for invoking getFolderList.
*/
export interface GetFolderListArgs {
/**
* The Limit param. A limit of -1 will return all configured items. Default: `200`.
*/
limit?: number;
/**
* The Name param.
*/
name?: string;
/**
* The Offset param. Default: `0`.
*/
offset?: number;
}
/**
* A collection of values returned by getFolderList.
*/
export interface GetFolderListResult {
/**
* The Data param.
*/
readonly datas: outputs.GetFolderListData[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The Limit param. A limit of -1 will return all configured items. Default: `200`.
*/
readonly limit: number;
/**
* The Name param.
*/
readonly name?: string;
/**
* The Offset param. Default: `0`.
*/
readonly offset: number;
readonly tfid: string;
/**
* The Total param.
*/
readonly total: number;
}
/**
* Retrieves a listing of config items.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* const example = scm.getFolderList({});
* ```
*/
export declare function getFolderListOutput(args?: GetFolderListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFolderListResult>;
/**
* A collection of arguments for invoking getFolderList.
*/
export interface GetFolderListOutputArgs {
/**
* The Limit param. A limit of -1 will return all configured items. Default: `200`.
*/
limit?: pulumi.Input<number>;
/**
* The Name param.
*/
name?: pulumi.Input<string>;
/**
* The Offset param. Default: `0`.
*/
offset?: pulumi.Input<number>;
}