@lubyou/pulumi-fortios
Version:
A Pulumi package for creating and managing fortios cloud resources.
89 lines • 5.82 kB
JavaScript
;
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.ApplicationList = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
class ApplicationList extends pulumi.CustomResource {
/**
* Get an existing ApplicationList resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name, id, state, opts) {
return new ApplicationList(name, state, Object.assign(Object.assign({}, opts), { id: id }));
}
/**
* Returns true if the given object is an instance of ApplicationList. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj) {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === ApplicationList.__pulumiType;
}
constructor(name, argsOrState, opts) {
let resourceInputs = {};
opts = opts || {};
if (opts.id) {
const state = argsOrState;
resourceInputs["appReplacemsg"] = state ? state.appReplacemsg : undefined;
resourceInputs["comment"] = state ? state.comment : undefined;
resourceInputs["controlDefaultNetworkServices"] = state ? state.controlDefaultNetworkServices : undefined;
resourceInputs["deepAppInspection"] = state ? state.deepAppInspection : undefined;
resourceInputs["defaultNetworkServices"] = state ? state.defaultNetworkServices : undefined;
resourceInputs["dynamicSortSubtable"] = state ? state.dynamicSortSubtable : undefined;
resourceInputs["enforceDefaultAppPort"] = state ? state.enforceDefaultAppPort : undefined;
resourceInputs["entries"] = state ? state.entries : undefined;
resourceInputs["extendedLog"] = state ? state.extendedLog : undefined;
resourceInputs["forceInclusionSslDiSigs"] = state ? state.forceInclusionSslDiSigs : undefined;
resourceInputs["getAllTables"] = state ? state.getAllTables : undefined;
resourceInputs["name"] = state ? state.name : undefined;
resourceInputs["options"] = state ? state.options : undefined;
resourceInputs["otherApplicationAction"] = state ? state.otherApplicationAction : undefined;
resourceInputs["otherApplicationLog"] = state ? state.otherApplicationLog : undefined;
resourceInputs["p2pBlackList"] = state ? state.p2pBlackList : undefined;
resourceInputs["p2pBlockList"] = state ? state.p2pBlockList : undefined;
resourceInputs["replacemsgGroup"] = state ? state.replacemsgGroup : undefined;
resourceInputs["unknownApplicationAction"] = state ? state.unknownApplicationAction : undefined;
resourceInputs["unknownApplicationLog"] = state ? state.unknownApplicationLog : undefined;
resourceInputs["vdomparam"] = state ? state.vdomparam : undefined;
}
else {
const args = argsOrState;
resourceInputs["appReplacemsg"] = args ? args.appReplacemsg : undefined;
resourceInputs["comment"] = args ? args.comment : undefined;
resourceInputs["controlDefaultNetworkServices"] = args ? args.controlDefaultNetworkServices : undefined;
resourceInputs["deepAppInspection"] = args ? args.deepAppInspection : undefined;
resourceInputs["defaultNetworkServices"] = args ? args.defaultNetworkServices : undefined;
resourceInputs["dynamicSortSubtable"] = args ? args.dynamicSortSubtable : undefined;
resourceInputs["enforceDefaultAppPort"] = args ? args.enforceDefaultAppPort : undefined;
resourceInputs["entries"] = args ? args.entries : undefined;
resourceInputs["extendedLog"] = args ? args.extendedLog : undefined;
resourceInputs["forceInclusionSslDiSigs"] = args ? args.forceInclusionSslDiSigs : undefined;
resourceInputs["getAllTables"] = args ? args.getAllTables : undefined;
resourceInputs["name"] = args ? args.name : undefined;
resourceInputs["options"] = args ? args.options : undefined;
resourceInputs["otherApplicationAction"] = args ? args.otherApplicationAction : undefined;
resourceInputs["otherApplicationLog"] = args ? args.otherApplicationLog : undefined;
resourceInputs["p2pBlackList"] = args ? args.p2pBlackList : undefined;
resourceInputs["p2pBlockList"] = args ? args.p2pBlockList : undefined;
resourceInputs["replacemsgGroup"] = args ? args.replacemsgGroup : undefined;
resourceInputs["unknownApplicationAction"] = args ? args.unknownApplicationAction : undefined;
resourceInputs["unknownApplicationLog"] = args ? args.unknownApplicationLog : undefined;
resourceInputs["vdomparam"] = args ? args.vdomparam : undefined;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(ApplicationList.__pulumiType, name, resourceInputs, opts);
}
}
exports.ApplicationList = ApplicationList;
/** @internal */
ApplicationList.__pulumiType = 'fortios:index/applicationList:ApplicationList';
//# sourceMappingURL=applicationList.js.map