@lubyou/pulumi-fortios
Version:
A Pulumi package for creating and managing fortios cloud resources.
95 lines • 6.25 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.UserSetting = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
class UserSetting extends pulumi.CustomResource {
/**
* Get an existing UserSetting 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 UserSetting(name, state, Object.assign(Object.assign({}, opts), { id: id }));
}
/**
* Returns true if the given object is an instance of UserSetting. 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'] === UserSetting.__pulumiType;
}
constructor(name, argsOrState, opts) {
let resourceInputs = {};
opts = opts || {};
if (opts.id) {
const state = argsOrState;
resourceInputs["authBlackoutTime"] = state ? state.authBlackoutTime : undefined;
resourceInputs["authCaCert"] = state ? state.authCaCert : undefined;
resourceInputs["authCert"] = state ? state.authCert : undefined;
resourceInputs["authHttpBasic"] = state ? state.authHttpBasic : undefined;
resourceInputs["authInvalidMax"] = state ? state.authInvalidMax : undefined;
resourceInputs["authLockoutDuration"] = state ? state.authLockoutDuration : undefined;
resourceInputs["authLockoutThreshold"] = state ? state.authLockoutThreshold : undefined;
resourceInputs["authOnDemand"] = state ? state.authOnDemand : undefined;
resourceInputs["authPortalTimeout"] = state ? state.authPortalTimeout : undefined;
resourceInputs["authPorts"] = state ? state.authPorts : undefined;
resourceInputs["authSecureHttp"] = state ? state.authSecureHttp : undefined;
resourceInputs["authSrcMac"] = state ? state.authSrcMac : undefined;
resourceInputs["authSslAllowRenegotiation"] = state ? state.authSslAllowRenegotiation : undefined;
resourceInputs["authSslMaxProtoVersion"] = state ? state.authSslMaxProtoVersion : undefined;
resourceInputs["authSslMinProtoVersion"] = state ? state.authSslMinProtoVersion : undefined;
resourceInputs["authSslSigalgs"] = state ? state.authSslSigalgs : undefined;
resourceInputs["authTimeout"] = state ? state.authTimeout : undefined;
resourceInputs["authTimeoutType"] = state ? state.authTimeoutType : undefined;
resourceInputs["authType"] = state ? state.authType : undefined;
resourceInputs["dynamicSortSubtable"] = state ? state.dynamicSortSubtable : undefined;
resourceInputs["getAllTables"] = state ? state.getAllTables : undefined;
resourceInputs["perPolicyDisclaimer"] = state ? state.perPolicyDisclaimer : undefined;
resourceInputs["radiusSesTimeoutAct"] = state ? state.radiusSesTimeoutAct : undefined;
resourceInputs["vdomparam"] = state ? state.vdomparam : undefined;
}
else {
const args = argsOrState;
resourceInputs["authBlackoutTime"] = args ? args.authBlackoutTime : undefined;
resourceInputs["authCaCert"] = args ? args.authCaCert : undefined;
resourceInputs["authCert"] = args ? args.authCert : undefined;
resourceInputs["authHttpBasic"] = args ? args.authHttpBasic : undefined;
resourceInputs["authInvalidMax"] = args ? args.authInvalidMax : undefined;
resourceInputs["authLockoutDuration"] = args ? args.authLockoutDuration : undefined;
resourceInputs["authLockoutThreshold"] = args ? args.authLockoutThreshold : undefined;
resourceInputs["authOnDemand"] = args ? args.authOnDemand : undefined;
resourceInputs["authPortalTimeout"] = args ? args.authPortalTimeout : undefined;
resourceInputs["authPorts"] = args ? args.authPorts : undefined;
resourceInputs["authSecureHttp"] = args ? args.authSecureHttp : undefined;
resourceInputs["authSrcMac"] = args ? args.authSrcMac : undefined;
resourceInputs["authSslAllowRenegotiation"] = args ? args.authSslAllowRenegotiation : undefined;
resourceInputs["authSslMaxProtoVersion"] = args ? args.authSslMaxProtoVersion : undefined;
resourceInputs["authSslMinProtoVersion"] = args ? args.authSslMinProtoVersion : undefined;
resourceInputs["authSslSigalgs"] = args ? args.authSslSigalgs : undefined;
resourceInputs["authTimeout"] = args ? args.authTimeout : undefined;
resourceInputs["authTimeoutType"] = args ? args.authTimeoutType : undefined;
resourceInputs["authType"] = args ? args.authType : undefined;
resourceInputs["dynamicSortSubtable"] = args ? args.dynamicSortSubtable : undefined;
resourceInputs["getAllTables"] = args ? args.getAllTables : undefined;
resourceInputs["perPolicyDisclaimer"] = args ? args.perPolicyDisclaimer : undefined;
resourceInputs["radiusSesTimeoutAct"] = args ? args.radiusSesTimeoutAct : undefined;
resourceInputs["vdomparam"] = args ? args.vdomparam : undefined;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(UserSetting.__pulumiType, name, resourceInputs, opts);
}
}
exports.UserSetting = UserSetting;
/** @internal */
UserSetting.__pulumiType = 'fortios:index/userSetting:UserSetting';
//# sourceMappingURL=userSetting.js.map