UNPKG

@pulumi/scm

Version:

A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1

109 lines (108 loc) 3.15 kB
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.getServiceConnectionList({ * folder: "Service Connections", * }); * ``` */ export declare function getServiceConnectionList(args?: GetServiceConnectionListArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceConnectionListResult>; /** * A collection of arguments for invoking getServiceConnectionList. */ export interface GetServiceConnectionListArgs { /** * The Folder param. String can either be a specific string(`"Service Connections"`) or match this regex: `^[0-9a-zA-Z._\s-]{1,}$`. Default: `"Service Connections"`. */ folder?: string; /** * 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 getServiceConnectionList. */ export interface GetServiceConnectionListResult { /** * The Data param. */ readonly datas: outputs.GetServiceConnectionListData[]; /** * The Folder param. String can either be a specific string(`"Service Connections"`) or match this regex: `^[0-9a-zA-Z._\s-]{1,}$`. Default: `"Service Connections"`. */ readonly folder: string; /** * 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.getServiceConnectionList({ * folder: "Service Connections", * }); * ``` */ export declare function getServiceConnectionListOutput(args?: GetServiceConnectionListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServiceConnectionListResult>; /** * A collection of arguments for invoking getServiceConnectionList. */ export interface GetServiceConnectionListOutputArgs { /** * The Folder param. String can either be a specific string(`"Service Connections"`) or match this regex: `^[0-9a-zA-Z._\s-]{1,}$`. Default: `"Service Connections"`. */ folder?: pulumi.Input<string>; /** * 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>; }