@lubyou/pulumi-fortios
Version:
A Pulumi package for creating and managing fortios cloud resources.
85 lines • 5.39 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.FirewallAccessProxy = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
class FirewallAccessProxy extends pulumi.CustomResource {
/**
* Get an existing FirewallAccessProxy 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 FirewallAccessProxy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
}
/**
* Returns true if the given object is an instance of FirewallAccessProxy. 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'] === FirewallAccessProxy.__pulumiType;
}
constructor(name, argsOrState, opts) {
let resourceInputs = {};
opts = opts || {};
if (opts.id) {
const state = argsOrState;
resourceInputs["addVhostDomainToDnsdb"] = state ? state.addVhostDomainToDnsdb : undefined;
resourceInputs["apiGateway6s"] = state ? state.apiGateway6s : undefined;
resourceInputs["apiGateways"] = state ? state.apiGateways : undefined;
resourceInputs["authPortal"] = state ? state.authPortal : undefined;
resourceInputs["authVirtualHost"] = state ? state.authVirtualHost : undefined;
resourceInputs["clientCert"] = state ? state.clientCert : undefined;
resourceInputs["decryptedTrafficMirror"] = state ? state.decryptedTrafficMirror : undefined;
resourceInputs["dynamicSortSubtable"] = state ? state.dynamicSortSubtable : undefined;
resourceInputs["emptyCertAction"] = state ? state.emptyCertAction : undefined;
resourceInputs["getAllTables"] = state ? state.getAllTables : undefined;
resourceInputs["httpSupportedMaxVersion"] = state ? state.httpSupportedMaxVersion : undefined;
resourceInputs["logBlockedTraffic"] = state ? state.logBlockedTraffic : undefined;
resourceInputs["name"] = state ? state.name : undefined;
resourceInputs["svrPoolMultiplex"] = state ? state.svrPoolMultiplex : undefined;
resourceInputs["svrPoolServerMaxRequest"] = state ? state.svrPoolServerMaxRequest : undefined;
resourceInputs["svrPoolTtl"] = state ? state.svrPoolTtl : undefined;
resourceInputs["userAgentDetect"] = state ? state.userAgentDetect : undefined;
resourceInputs["vdomparam"] = state ? state.vdomparam : undefined;
resourceInputs["vip"] = state ? state.vip : undefined;
}
else {
const args = argsOrState;
resourceInputs["addVhostDomainToDnsdb"] = args ? args.addVhostDomainToDnsdb : undefined;
resourceInputs["apiGateway6s"] = args ? args.apiGateway6s : undefined;
resourceInputs["apiGateways"] = args ? args.apiGateways : undefined;
resourceInputs["authPortal"] = args ? args.authPortal : undefined;
resourceInputs["authVirtualHost"] = args ? args.authVirtualHost : undefined;
resourceInputs["clientCert"] = args ? args.clientCert : undefined;
resourceInputs["decryptedTrafficMirror"] = args ? args.decryptedTrafficMirror : undefined;
resourceInputs["dynamicSortSubtable"] = args ? args.dynamicSortSubtable : undefined;
resourceInputs["emptyCertAction"] = args ? args.emptyCertAction : undefined;
resourceInputs["getAllTables"] = args ? args.getAllTables : undefined;
resourceInputs["httpSupportedMaxVersion"] = args ? args.httpSupportedMaxVersion : undefined;
resourceInputs["logBlockedTraffic"] = args ? args.logBlockedTraffic : undefined;
resourceInputs["name"] = args ? args.name : undefined;
resourceInputs["svrPoolMultiplex"] = args ? args.svrPoolMultiplex : undefined;
resourceInputs["svrPoolServerMaxRequest"] = args ? args.svrPoolServerMaxRequest : undefined;
resourceInputs["svrPoolTtl"] = args ? args.svrPoolTtl : undefined;
resourceInputs["userAgentDetect"] = args ? args.userAgentDetect : undefined;
resourceInputs["vdomparam"] = args ? args.vdomparam : undefined;
resourceInputs["vip"] = args ? args.vip : undefined;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(FirewallAccessProxy.__pulumiType, name, resourceInputs, opts);
}
}
exports.FirewallAccessProxy = FirewallAccessProxy;
/** @internal */
FirewallAccessProxy.__pulumiType = 'fortios:index/firewallAccessProxy:FirewallAccessProxy';
//# sourceMappingURL=firewallAccessProxy.js.map