UNPKG

@pulumiverse/fortios

Version:

A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0

112 lines 6.06 kB
"use strict"; // *** 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.Vdomproperty = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Configure VDOM property. * * ## Import * * System VdomProperty can be imported using any of these accepted formats: * * ```sh * $ pulumi import fortios:system/vdomproperty:Vdomproperty labelname {{name}} * ``` * * If you do not want to import arguments of block: * * $ export "FORTIOS_IMPORT_TABLE"="false" * * ```sh * $ pulumi import fortios:system/vdomproperty:Vdomproperty labelname {{name}} * ``` * * $ unset "FORTIOS_IMPORT_TABLE" */ class Vdomproperty extends pulumi.CustomResource { /** * Get an existing Vdomproperty 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 Vdomproperty(name, state, Object.assign(Object.assign({}, opts), { id: id })); } /** * Returns true if the given object is an instance of Vdomproperty. 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'] === Vdomproperty.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["customService"] = state ? state.customService : undefined; resourceInputs["description"] = state ? state.description : undefined; resourceInputs["dialupTunnel"] = state ? state.dialupTunnel : undefined; resourceInputs["firewallAddress"] = state ? state.firewallAddress : undefined; resourceInputs["firewallAddrgrp"] = state ? state.firewallAddrgrp : undefined; resourceInputs["firewallPolicy"] = state ? state.firewallPolicy : undefined; resourceInputs["ipsecPhase1"] = state ? state.ipsecPhase1 : undefined; resourceInputs["ipsecPhase1Interface"] = state ? state.ipsecPhase1Interface : undefined; resourceInputs["ipsecPhase2"] = state ? state.ipsecPhase2 : undefined; resourceInputs["ipsecPhase2Interface"] = state ? state.ipsecPhase2Interface : undefined; resourceInputs["logDiskQuota"] = state ? state.logDiskQuota : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["onetimeSchedule"] = state ? state.onetimeSchedule : undefined; resourceInputs["proxy"] = state ? state.proxy : undefined; resourceInputs["recurringSchedule"] = state ? state.recurringSchedule : undefined; resourceInputs["serviceGroup"] = state ? state.serviceGroup : undefined; resourceInputs["session"] = state ? state.session : undefined; resourceInputs["snmpIndex"] = state ? state.snmpIndex : undefined; resourceInputs["sslvpn"] = state ? state.sslvpn : undefined; resourceInputs["user"] = state ? state.user : undefined; resourceInputs["userGroup"] = state ? state.userGroup : undefined; resourceInputs["vdomparam"] = state ? state.vdomparam : undefined; } else { const args = argsOrState; resourceInputs["customService"] = args ? args.customService : undefined; resourceInputs["description"] = args ? args.description : undefined; resourceInputs["dialupTunnel"] = args ? args.dialupTunnel : undefined; resourceInputs["firewallAddress"] = args ? args.firewallAddress : undefined; resourceInputs["firewallAddrgrp"] = args ? args.firewallAddrgrp : undefined; resourceInputs["firewallPolicy"] = args ? args.firewallPolicy : undefined; resourceInputs["ipsecPhase1"] = args ? args.ipsecPhase1 : undefined; resourceInputs["ipsecPhase1Interface"] = args ? args.ipsecPhase1Interface : undefined; resourceInputs["ipsecPhase2"] = args ? args.ipsecPhase2 : undefined; resourceInputs["ipsecPhase2Interface"] = args ? args.ipsecPhase2Interface : undefined; resourceInputs["logDiskQuota"] = args ? args.logDiskQuota : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["onetimeSchedule"] = args ? args.onetimeSchedule : undefined; resourceInputs["proxy"] = args ? args.proxy : undefined; resourceInputs["recurringSchedule"] = args ? args.recurringSchedule : undefined; resourceInputs["serviceGroup"] = args ? args.serviceGroup : undefined; resourceInputs["session"] = args ? args.session : undefined; resourceInputs["snmpIndex"] = args ? args.snmpIndex : undefined; resourceInputs["sslvpn"] = args ? args.sslvpn : undefined; resourceInputs["user"] = args ? args.user : undefined; resourceInputs["userGroup"] = args ? args.userGroup : undefined; resourceInputs["vdomparam"] = args ? args.vdomparam : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(Vdomproperty.__pulumiType, name, resourceInputs, opts); } } exports.Vdomproperty = Vdomproperty; /** @internal */ Vdomproperty.__pulumiType = 'fortios:system/vdomproperty:Vdomproperty'; //# sourceMappingURL=vdomproperty.js.map