@pulumiverse/fortios
Version:
A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0
124 lines • 7.37 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.Fctemsoverride = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Configure FortiClient Enterprise Management Server (EMS) entries. Applies to FortiOS Version `>= 7.4.0`.
*
* ## Import
*
* EndpointControl FctemsOverride can be imported using any of these accepted formats:
*
* ```sh
* $ pulumi import fortios:endpointcontrol/fctemsoverride:Fctemsoverride labelname {{ems_id}}
* ```
*
* If you do not want to import arguments of block:
*
* $ export "FORTIOS_IMPORT_TABLE"="false"
*
* ```sh
* $ pulumi import fortios:endpointcontrol/fctemsoverride:Fctemsoverride labelname {{ems_id}}
* ```
*
* $ unset "FORTIOS_IMPORT_TABLE"
*/
class Fctemsoverride extends pulumi.CustomResource {
/**
* Get an existing Fctemsoverride 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 Fctemsoverride(name, state, Object.assign(Object.assign({}, opts), { id: id }));
}
/**
* Returns true if the given object is an instance of Fctemsoverride. 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'] === Fctemsoverride.__pulumiType;
}
constructor(name, argsOrState, opts) {
let resourceInputs = {};
opts = opts || {};
if (opts.id) {
const state = argsOrState;
resourceInputs["callTimeout"] = state ? state.callTimeout : undefined;
resourceInputs["capabilities"] = state ? state.capabilities : undefined;
resourceInputs["cloudAuthenticationAccessKey"] = state ? state.cloudAuthenticationAccessKey : undefined;
resourceInputs["cloudServerType"] = state ? state.cloudServerType : undefined;
resourceInputs["dirtyReason"] = state ? state.dirtyReason : undefined;
resourceInputs["emsId"] = state ? state.emsId : undefined;
resourceInputs["fortinetoneCloudAuthentication"] = state ? state.fortinetoneCloudAuthentication : undefined;
resourceInputs["httpsPort"] = state ? state.httpsPort : undefined;
resourceInputs["interface"] = state ? state.interface : undefined;
resourceInputs["interfaceSelectMethod"] = state ? state.interfaceSelectMethod : undefined;
resourceInputs["name"] = state ? state.name : undefined;
resourceInputs["outOfSyncThreshold"] = state ? state.outOfSyncThreshold : undefined;
resourceInputs["preserveSslSession"] = state ? state.preserveSslSession : undefined;
resourceInputs["pullAvatars"] = state ? state.pullAvatars : undefined;
resourceInputs["pullMalwareHash"] = state ? state.pullMalwareHash : undefined;
resourceInputs["pullSysinfo"] = state ? state.pullSysinfo : undefined;
resourceInputs["pullTags"] = state ? state.pullTags : undefined;
resourceInputs["pullVulnerabilities"] = state ? state.pullVulnerabilities : undefined;
resourceInputs["sendTagsToAllVdoms"] = state ? state.sendTagsToAllVdoms : undefined;
resourceInputs["serialNumber"] = state ? state.serialNumber : undefined;
resourceInputs["server"] = state ? state.server : undefined;
resourceInputs["sourceIp"] = state ? state.sourceIp : undefined;
resourceInputs["status"] = state ? state.status : undefined;
resourceInputs["tenantId"] = state ? state.tenantId : undefined;
resourceInputs["trustCaCn"] = state ? state.trustCaCn : undefined;
resourceInputs["vdomparam"] = state ? state.vdomparam : undefined;
resourceInputs["verifyingCa"] = state ? state.verifyingCa : undefined;
resourceInputs["websocketOverride"] = state ? state.websocketOverride : undefined;
}
else {
const args = argsOrState;
resourceInputs["callTimeout"] = args ? args.callTimeout : undefined;
resourceInputs["capabilities"] = args ? args.capabilities : undefined;
resourceInputs["cloudAuthenticationAccessKey"] = args ? args.cloudAuthenticationAccessKey : undefined;
resourceInputs["cloudServerType"] = args ? args.cloudServerType : undefined;
resourceInputs["dirtyReason"] = args ? args.dirtyReason : undefined;
resourceInputs["emsId"] = args ? args.emsId : undefined;
resourceInputs["fortinetoneCloudAuthentication"] = args ? args.fortinetoneCloudAuthentication : undefined;
resourceInputs["httpsPort"] = args ? args.httpsPort : undefined;
resourceInputs["interface"] = args ? args.interface : undefined;
resourceInputs["interfaceSelectMethod"] = args ? args.interfaceSelectMethod : undefined;
resourceInputs["name"] = args ? args.name : undefined;
resourceInputs["outOfSyncThreshold"] = args ? args.outOfSyncThreshold : undefined;
resourceInputs["preserveSslSession"] = args ? args.preserveSslSession : undefined;
resourceInputs["pullAvatars"] = args ? args.pullAvatars : undefined;
resourceInputs["pullMalwareHash"] = args ? args.pullMalwareHash : undefined;
resourceInputs["pullSysinfo"] = args ? args.pullSysinfo : undefined;
resourceInputs["pullTags"] = args ? args.pullTags : undefined;
resourceInputs["pullVulnerabilities"] = args ? args.pullVulnerabilities : undefined;
resourceInputs["sendTagsToAllVdoms"] = args ? args.sendTagsToAllVdoms : undefined;
resourceInputs["serialNumber"] = args ? args.serialNumber : undefined;
resourceInputs["server"] = args ? args.server : undefined;
resourceInputs["sourceIp"] = args ? args.sourceIp : undefined;
resourceInputs["status"] = args ? args.status : undefined;
resourceInputs["tenantId"] = args ? args.tenantId : undefined;
resourceInputs["trustCaCn"] = args ? args.trustCaCn : undefined;
resourceInputs["vdomparam"] = args ? args.vdomparam : undefined;
resourceInputs["verifyingCa"] = args ? args.verifyingCa : undefined;
resourceInputs["websocketOverride"] = args ? args.websocketOverride : undefined;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(Fctemsoverride.__pulumiType, name, resourceInputs, opts);
}
}
exports.Fctemsoverride = Fctemsoverride;
/** @internal */
Fctemsoverride.__pulumiType = 'fortios:endpointcontrol/fctemsoverride:Fctemsoverride';
//# sourceMappingURL=fctemsoverride.js.map
;