UNPKG

@pulumi/juniper-mist

Version:

A Pulumi package for creating and managing Juniper Mist resources.

218 lines (217 loc) 7.03 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource manages the RF Templates. * * The RF Templates can be used to define Wireless Access Points radio configuration, and can be assigned to the sites * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as junipermist from "@pulumi/juniper-mist"; * * const rftemplateOne = new junipermist.org.Rftemplate("rftemplate_one", { * name: "rftemplate_one", * orgId: terraformTest.id, * band24Usage: "auto", * band5: { * antGain: 2, * power: 8, * channels: [ * 60, * 104, * 132, * ], * bandwidth: 20, * }, * band6: { * antGain: 2, * power: 8, * }, * band24: { * antGain: 1, * allowRrmDisable: true, * powerMin: 18, * powerMax: 18, * bandwidth: 20, * }, * antGain5: 2, * antGain6: 2, * antGain24: 1, * countryCode: "FR", * }); * ``` * * ## Import * * Using `pulumi import`, import `mist_org_rftemplate` with: * * Org RF Template can be imported by specifying the org_id and the rftemplate_id * * ```sh * $ pulumi import junipermist:org/rftemplate:Rftemplate rftemplate_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3c42998-9012-4859-9743-6b9bee475309 * ``` */ export declare class Rftemplate extends pulumi.CustomResource { /** * Get an existing Rftemplate 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?: RftemplateState, opts?: pulumi.CustomResourceOptions): Rftemplate; /** * Returns true if the given object is an instance of Rftemplate. 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 Rftemplate; readonly antGain24: pulumi.Output<number>; readonly antGain5: pulumi.Output<number>; readonly antGain6: pulumi.Output<number>; /** * Radio Band AP settings */ readonly band24: pulumi.Output<outputs.org.RftemplateBand24 | undefined>; /** * enum: `24`, `5`, `6`, `auto` */ readonly band24Usage: pulumi.Output<string | undefined>; /** * Radio Band AP settings */ readonly band5: pulumi.Output<outputs.org.RftemplateBand5 | undefined>; /** * Radio Band AP settings */ readonly band5On24Radio: pulumi.Output<outputs.org.RftemplateBand5On24Radio | undefined>; /** * Radio Band AP settings */ readonly band6: pulumi.Output<outputs.org.RftemplateBand6 | undefined>; /** * Optional, country code to use. If specified, this gets applied to all sites using the RF Template */ readonly countryCode: pulumi.Output<string | undefined>; /** * overwrites for a specific model. If a band is specified, it will shadow the default. Property key is the model name (e.g. "AP63") */ readonly modelSpecific: pulumi.Output<{ [key: string]: outputs.org.RftemplateModelSpecific; } | undefined>; /** * The name of the RF template */ readonly name: pulumi.Output<string>; readonly orgId: pulumi.Output<string>; /** * Whether scanning radio is enabled */ readonly scanningEnabled: pulumi.Output<boolean | undefined>; /** * Create a Rftemplate 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: RftemplateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Rftemplate resources. */ export interface RftemplateState { antGain24?: pulumi.Input<number>; antGain5?: pulumi.Input<number>; antGain6?: pulumi.Input<number>; /** * Radio Band AP settings */ band24?: pulumi.Input<inputs.org.RftemplateBand24>; /** * enum: `24`, `5`, `6`, `auto` */ band24Usage?: pulumi.Input<string>; /** * Radio Band AP settings */ band5?: pulumi.Input<inputs.org.RftemplateBand5>; /** * Radio Band AP settings */ band5On24Radio?: pulumi.Input<inputs.org.RftemplateBand5On24Radio>; /** * Radio Band AP settings */ band6?: pulumi.Input<inputs.org.RftemplateBand6>; /** * Optional, country code to use. If specified, this gets applied to all sites using the RF Template */ countryCode?: pulumi.Input<string>; /** * overwrites for a specific model. If a band is specified, it will shadow the default. Property key is the model name (e.g. "AP63") */ modelSpecific?: pulumi.Input<{ [key: string]: pulumi.Input<inputs.org.RftemplateModelSpecific>; }>; /** * The name of the RF template */ name?: pulumi.Input<string>; orgId?: pulumi.Input<string>; /** * Whether scanning radio is enabled */ scanningEnabled?: pulumi.Input<boolean>; } /** * The set of arguments for constructing a Rftemplate resource. */ export interface RftemplateArgs { antGain24?: pulumi.Input<number>; antGain5?: pulumi.Input<number>; antGain6?: pulumi.Input<number>; /** * Radio Band AP settings */ band24?: pulumi.Input<inputs.org.RftemplateBand24>; /** * enum: `24`, `5`, `6`, `auto` */ band24Usage?: pulumi.Input<string>; /** * Radio Band AP settings */ band5?: pulumi.Input<inputs.org.RftemplateBand5>; /** * Radio Band AP settings */ band5On24Radio?: pulumi.Input<inputs.org.RftemplateBand5On24Radio>; /** * Radio Band AP settings */ band6?: pulumi.Input<inputs.org.RftemplateBand6>; /** * Optional, country code to use. If specified, this gets applied to all sites using the RF Template */ countryCode?: pulumi.Input<string>; /** * overwrites for a specific model. If a band is specified, it will shadow the default. Property key is the model name (e.g. "AP63") */ modelSpecific?: pulumi.Input<{ [key: string]: pulumi.Input<inputs.org.RftemplateModelSpecific>; }>; /** * The name of the RF template */ name?: pulumi.Input<string>; orgId: pulumi.Input<string>; /** * Whether scanning radio is enabled */ scanningEnabled?: pulumi.Input<boolean>; }