UNPKG

@pulumi/scm

Version:

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

76 lines 2.61 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getAuthenticationRuleListOutput = exports.getAuthenticationRuleList = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Retrieves a listing of config items. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const allPreRules = scm.getAuthenticationRuleList({ * limit: 10, * offset: 15, * position: "pre", * folder: "All", * }); * export const fetchedRuleListSummary = { * countOfRulesFetched: allPreRules.then(allPreRules => allPreRules.total), * firstRuleName: allPreRules.then(allPreRules => allPreRules.datas?.[0]?.name), * }; * ``` */ function getAuthenticationRuleList(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scm:index/getAuthenticationRuleList:getAuthenticationRuleList", { "device": args.device, "folder": args.folder, "limit": args.limit, "name": args.name, "offset": args.offset, "position": args.position, "snippet": args.snippet, }, opts); } exports.getAuthenticationRuleList = getAuthenticationRuleList; /** * Retrieves a listing of config items. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const allPreRules = scm.getAuthenticationRuleList({ * limit: 10, * offset: 15, * position: "pre", * folder: "All", * }); * export const fetchedRuleListSummary = { * countOfRulesFetched: allPreRules.then(allPreRules => allPreRules.total), * firstRuleName: allPreRules.then(allPreRules => allPreRules.datas?.[0]?.name), * }; * ``` */ function getAuthenticationRuleListOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("scm:index/getAuthenticationRuleList:getAuthenticationRuleList", { "device": args.device, "folder": args.folder, "limit": args.limit, "name": args.name, "offset": args.offset, "position": args.position, "snippet": args.snippet, }, opts); } exports.getAuthenticationRuleListOutput = getAuthenticationRuleListOutput; //# sourceMappingURL=getAuthenticationRuleList.js.map