@pulumiverse/fortios
Version:
A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0
150 lines • 9.28 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.Hsprofile = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* Configure hotspot profile.
*
* ## Import
*
* WirelessControllerHotspot20 HsProfile can be imported using any of these accepted formats:
*
* ```sh
* $ pulumi import fortios:wirelesscontroller/hotspot20/hsprofile:Hsprofile labelname {{name}}
* ```
*
* If you do not want to import arguments of block:
*
* $ export "FORTIOS_IMPORT_TABLE"="false"
*
* ```sh
* $ pulumi import fortios:wirelesscontroller/hotspot20/hsprofile:Hsprofile labelname {{name}}
* ```
*
* $ unset "FORTIOS_IMPORT_TABLE"
*/
class Hsprofile extends pulumi.CustomResource {
/**
* Get an existing Hsprofile 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 Hsprofile(name, state, Object.assign(Object.assign({}, opts), { id: id }));
}
/**
* Returns true if the given object is an instance of Hsprofile. 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'] === Hsprofile.__pulumiType;
}
constructor(name, argsOrState, opts) {
let resourceInputs = {};
opts = opts || {};
if (opts.id) {
const state = argsOrState;
resourceInputs["accessNetworkAsra"] = state ? state.accessNetworkAsra : undefined;
resourceInputs["accessNetworkEsr"] = state ? state.accessNetworkEsr : undefined;
resourceInputs["accessNetworkInternet"] = state ? state.accessNetworkInternet : undefined;
resourceInputs["accessNetworkType"] = state ? state.accessNetworkType : undefined;
resourceInputs["accessNetworkUesa"] = state ? state.accessNetworkUesa : undefined;
resourceInputs["adviceOfCharge"] = state ? state.adviceOfCharge : undefined;
resourceInputs["anqpDomainId"] = state ? state.anqpDomainId : undefined;
resourceInputs["bssTransition"] = state ? state.bssTransition : undefined;
resourceInputs["connCap"] = state ? state.connCap : undefined;
resourceInputs["deauthRequestTimeout"] = state ? state.deauthRequestTimeout : undefined;
resourceInputs["dgaf"] = state ? state.dgaf : undefined;
resourceInputs["domainName"] = state ? state.domainName : undefined;
resourceInputs["dynamicSortSubtable"] = state ? state.dynamicSortSubtable : undefined;
resourceInputs["gasComebackDelay"] = state ? state.gasComebackDelay : undefined;
resourceInputs["gasFragmentationLimit"] = state ? state.gasFragmentationLimit : undefined;
resourceInputs["getAllTables"] = state ? state.getAllTables : undefined;
resourceInputs["hessid"] = state ? state.hessid : undefined;
resourceInputs["ipAddrType"] = state ? state.ipAddrType : undefined;
resourceInputs["l2tif"] = state ? state.l2tif : undefined;
resourceInputs["n3gppPlmn"] = state ? state.n3gppPlmn : undefined;
resourceInputs["naiRealm"] = state ? state.naiRealm : undefined;
resourceInputs["name"] = state ? state.name : undefined;
resourceInputs["networkAuth"] = state ? state.networkAuth : undefined;
resourceInputs["operFriendlyName"] = state ? state.operFriendlyName : undefined;
resourceInputs["operIcon"] = state ? state.operIcon : undefined;
resourceInputs["osuProviderNai"] = state ? state.osuProviderNai : undefined;
resourceInputs["osuProviders"] = state ? state.osuProviders : undefined;
resourceInputs["osuSsid"] = state ? state.osuSsid : undefined;
resourceInputs["pameBi"] = state ? state.pameBi : undefined;
resourceInputs["proxyArp"] = state ? state.proxyArp : undefined;
resourceInputs["qosMap"] = state ? state.qosMap : undefined;
resourceInputs["release"] = state ? state.release : undefined;
resourceInputs["roamingConsortium"] = state ? state.roamingConsortium : undefined;
resourceInputs["termsAndConditions"] = state ? state.termsAndConditions : undefined;
resourceInputs["vdomparam"] = state ? state.vdomparam : undefined;
resourceInputs["venueGroup"] = state ? state.venueGroup : undefined;
resourceInputs["venueName"] = state ? state.venueName : undefined;
resourceInputs["venueType"] = state ? state.venueType : undefined;
resourceInputs["venueUrl"] = state ? state.venueUrl : undefined;
resourceInputs["wanMetrics"] = state ? state.wanMetrics : undefined;
resourceInputs["wnmSleepMode"] = state ? state.wnmSleepMode : undefined;
}
else {
const args = argsOrState;
resourceInputs["accessNetworkAsra"] = args ? args.accessNetworkAsra : undefined;
resourceInputs["accessNetworkEsr"] = args ? args.accessNetworkEsr : undefined;
resourceInputs["accessNetworkInternet"] = args ? args.accessNetworkInternet : undefined;
resourceInputs["accessNetworkType"] = args ? args.accessNetworkType : undefined;
resourceInputs["accessNetworkUesa"] = args ? args.accessNetworkUesa : undefined;
resourceInputs["adviceOfCharge"] = args ? args.adviceOfCharge : undefined;
resourceInputs["anqpDomainId"] = args ? args.anqpDomainId : undefined;
resourceInputs["bssTransition"] = args ? args.bssTransition : undefined;
resourceInputs["connCap"] = args ? args.connCap : undefined;
resourceInputs["deauthRequestTimeout"] = args ? args.deauthRequestTimeout : undefined;
resourceInputs["dgaf"] = args ? args.dgaf : undefined;
resourceInputs["domainName"] = args ? args.domainName : undefined;
resourceInputs["dynamicSortSubtable"] = args ? args.dynamicSortSubtable : undefined;
resourceInputs["gasComebackDelay"] = args ? args.gasComebackDelay : undefined;
resourceInputs["gasFragmentationLimit"] = args ? args.gasFragmentationLimit : undefined;
resourceInputs["getAllTables"] = args ? args.getAllTables : undefined;
resourceInputs["hessid"] = args ? args.hessid : undefined;
resourceInputs["ipAddrType"] = args ? args.ipAddrType : undefined;
resourceInputs["l2tif"] = args ? args.l2tif : undefined;
resourceInputs["n3gppPlmn"] = args ? args.n3gppPlmn : undefined;
resourceInputs["naiRealm"] = args ? args.naiRealm : undefined;
resourceInputs["name"] = args ? args.name : undefined;
resourceInputs["networkAuth"] = args ? args.networkAuth : undefined;
resourceInputs["operFriendlyName"] = args ? args.operFriendlyName : undefined;
resourceInputs["operIcon"] = args ? args.operIcon : undefined;
resourceInputs["osuProviderNai"] = args ? args.osuProviderNai : undefined;
resourceInputs["osuProviders"] = args ? args.osuProviders : undefined;
resourceInputs["osuSsid"] = args ? args.osuSsid : undefined;
resourceInputs["pameBi"] = args ? args.pameBi : undefined;
resourceInputs["proxyArp"] = args ? args.proxyArp : undefined;
resourceInputs["qosMap"] = args ? args.qosMap : undefined;
resourceInputs["release"] = args ? args.release : undefined;
resourceInputs["roamingConsortium"] = args ? args.roamingConsortium : undefined;
resourceInputs["termsAndConditions"] = args ? args.termsAndConditions : undefined;
resourceInputs["vdomparam"] = args ? args.vdomparam : undefined;
resourceInputs["venueGroup"] = args ? args.venueGroup : undefined;
resourceInputs["venueName"] = args ? args.venueName : undefined;
resourceInputs["venueType"] = args ? args.venueType : undefined;
resourceInputs["venueUrl"] = args ? args.venueUrl : undefined;
resourceInputs["wanMetrics"] = args ? args.wanMetrics : undefined;
resourceInputs["wnmSleepMode"] = args ? args.wnmSleepMode : undefined;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(Hsprofile.__pulumiType, name, resourceInputs, opts);
}
}
exports.Hsprofile = Hsprofile;
/** @internal */
Hsprofile.__pulumiType = 'fortios:wirelesscontroller/hotspot20/hsprofile:Hsprofile';
//# sourceMappingURL=hsprofile.js.map
;