UNPKG

@pulumi/scm

Version:

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

147 lines (146 loc) 3.5 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.getSecurityRuleList({ * folder: "Shared", * position: "pre", * }); * ``` */ export declare function getSecurityRuleList(args?: GetSecurityRuleListArgs, opts?: pulumi.InvokeOptions): Promise<GetSecurityRuleListResult>; /** * A collection of arguments for invoking getSecurityRuleList. */ export interface GetSecurityRuleListArgs { /** * The Device param. */ device?: string; /** * The Folder param. */ 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; /** * The Position param. String must be one of these: `"pre"`, `"post"`. Default: `"pre"`. */ position?: string; /** * The Snippet param. */ snippet?: string; } /** * A collection of values returned by getSecurityRuleList. */ export interface GetSecurityRuleListResult { /** * The Data param. */ readonly datas: outputs.GetSecurityRuleListData[]; /** * The Device param. */ readonly device?: string; /** * The Folder param. */ 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; /** * The Position param. String must be one of these: `"pre"`, `"post"`. Default: `"pre"`. */ readonly position: string; /** * The Snippet param. */ readonly snippet?: string; 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.getSecurityRuleList({ * folder: "Shared", * position: "pre", * }); * ``` */ export declare function getSecurityRuleListOutput(args?: GetSecurityRuleListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSecurityRuleListResult>; /** * A collection of arguments for invoking getSecurityRuleList. */ export interface GetSecurityRuleListOutputArgs { /** * The Device param. */ device?: pulumi.Input<string>; /** * The Folder param. */ 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>; /** * The Position param. String must be one of these: `"pre"`, `"post"`. Default: `"pre"`. */ position?: pulumi.Input<string>; /** * The Snippet param. */ snippet?: pulumi.Input<string>; }