@pulumiverse/fortios
Version:
A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0
108 lines • 6.07 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.Accessproxy6 = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Configure IPv6 access proxy. Applies to FortiOS Version `>= 7.0.1`.
*
* ## Import
*
* Firewall AccessProxy6 can be imported using any of these accepted formats:
*
* ```sh
* $ pulumi import fortios:firewall/accessproxy6:Accessproxy6 labelname {{name}}
* ```
*
* If you do not want to import arguments of block:
*
* $ export "FORTIOS_IMPORT_TABLE"="false"
*
* ```sh
* $ pulumi import fortios:firewall/accessproxy6:Accessproxy6 labelname {{name}}
* ```
*
* $ unset "FORTIOS_IMPORT_TABLE"
*/
class Accessproxy6 extends pulumi.CustomResource {
/**
* Get an existing Accessproxy6 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 Accessproxy6(name, state, Object.assign(Object.assign({}, opts), { id: id }));
}
/**
* Returns true if the given object is an instance of Accessproxy6. 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'] === Accessproxy6.__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["svrPoolServerMaxConcurrentRequest"] = state ? state.svrPoolServerMaxConcurrentRequest : 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["svrPoolServerMaxConcurrentRequest"] = args ? args.svrPoolServerMaxConcurrentRequest : 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(Accessproxy6.__pulumiType, name, resourceInputs, opts);
}
}
exports.Accessproxy6 = Accessproxy6;
/** @internal */
Accessproxy6.__pulumiType = 'fortios:firewall/accessproxy6:Accessproxy6';
//# sourceMappingURL=accessproxy6.js.map
;