@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
70 lines • 2.44 kB
JavaScript
;
// *** 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.getServiceSettingListOutput = exports.getServiceSettingList = 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 allSettings = scm.getServiceSettingList({
* folder: "All",
* });
* export const fetchedSettingListSummary = {
* countOfSettingsFetched: allSettings.then(allSettings => allSettings.total),
* dnsSetting: allSettings.then(allSettings => allSettings.datas?.[0]?.services?.dnsSetting),
* };
* ```
*/
function getServiceSettingList(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("scm:index/getServiceSettingList:getServiceSettingList", {
"device": args.device,
"folder": args.folder,
"limit": args.limit,
"name": args.name,
"offset": args.offset,
"snippet": args.snippet,
}, opts);
}
exports.getServiceSettingList = getServiceSettingList;
/**
* Retrieves a listing of config items.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* const allSettings = scm.getServiceSettingList({
* folder: "All",
* });
* export const fetchedSettingListSummary = {
* countOfSettingsFetched: allSettings.then(allSettings => allSettings.total),
* dnsSetting: allSettings.then(allSettings => allSettings.datas?.[0]?.services?.dnsSetting),
* };
* ```
*/
function getServiceSettingListOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("scm:index/getServiceSettingList:getServiceSettingList", {
"device": args.device,
"folder": args.folder,
"limit": args.limit,
"name": args.name,
"offset": args.offset,
"snippet": args.snippet,
}, opts);
}
exports.getServiceSettingListOutput = getServiceSettingListOutput;
//# sourceMappingURL=getServiceSettingList.js.map