@pulumi/juniper-mist
Version:
A Pulumi package for creating and managing Juniper Mist resources.
99 lines (98 loc) • 3.87 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* This resource is used customize the WLAN Guest Portal.
*
* The WLAN Portal Template can be used to define:
* * Guest Authentication methods and parameters (access duration, ...)
* * Default values of the text fields and labels on the portal
* * Values of the text fields and labels based on the User Agent (`locales` property)
*
* **Notes:**
* * There is no feedback from the API, so there is no possibility to validate the changes. The resource states is directly generated based on the resource plan.* There is no option to delete or revert the changes. Deleting the resource will just remove it from the states. Once removed, it is possible to create a new one. It will replace the previous template
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as junipermist from "@pulumi/juniper-mist";
*
* const wlanOne = new junipermist.org.WlanPortalTemplate("wlan_one", {
* orgId: terraformTest.id,
* wlanId: wlanOneMistOrg.id,
* portalTemplate: {
* smsMessageFormat: "Code {{code}} expires in {{duration}} minutes.",
* smsValidityDuration: 10,
* pageTitle: "Welcome To My Demo Portal",
* locales: {
* "fr-FR": {
* pageTitle: "Bienvenue sur mon portail de démo",
* },
* },
* },
* });
* ```
*/
export declare class WlanPortalTemplate extends pulumi.CustomResource {
/**
* Get an existing WlanPortalTemplate 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: string, id: pulumi.Input<pulumi.ID>, state?: WlanPortalTemplateState, opts?: pulumi.CustomResourceOptions): WlanPortalTemplate;
/**
* Returns true if the given object is an instance of WlanPortalTemplate. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is WlanPortalTemplate;
readonly orgId: pulumi.Output<string>;
/**
* Portal template wlan settings
*/
readonly portalTemplate: pulumi.Output<outputs.org.WlanPortalTemplatePortalTemplate>;
/**
* Org WLAN ID
*/
readonly wlanId: pulumi.Output<string>;
/**
* Create a WlanPortalTemplate resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: WlanPortalTemplateArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering WlanPortalTemplate resources.
*/
export interface WlanPortalTemplateState {
orgId?: pulumi.Input<string>;
/**
* Portal template wlan settings
*/
portalTemplate?: pulumi.Input<inputs.org.WlanPortalTemplatePortalTemplate>;
/**
* Org WLAN ID
*/
wlanId?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a WlanPortalTemplate resource.
*/
export interface WlanPortalTemplateArgs {
orgId: pulumi.Input<string>;
/**
* Portal template wlan settings
*/
portalTemplate: pulumi.Input<inputs.org.WlanPortalTemplatePortalTemplate>;
/**
* Org WLAN ID
*/
wlanId: pulumi.Input<string>;
}