@pulumi/juniper-mist
Version:
A Pulumi package for creating and managing Juniper Mist resources.
240 lines (239 loc) • 7.5 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* This resource manages the Site basic information.
*
* This resource can be used to assign templates to a site, or to change basic information (e.g. Site Address)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as junipermist from "@pulumi/juniper-mist";
*
* const juniperFrance = new junipermist.site.Base("juniper_france", {
* orgId: terraformTest.id,
* name: "JNP-FR-PAR",
* countryCode: "FR",
* timezone: "Europe/Paris",
* address: "41 Rue de Villiers, 92100 Neuilly sur Seine, France",
* notes: "Created with Terraform, Updated with Terraform",
* latlng: {
* lat: 48.899268,
* lng: 2.214447,
* },
* sitegroupIds: [
* testGroup.id,
* testGroup2.id,
* ],
* networktemplateId: networktemplateOne.id,
* rftemplateId: rftemplateOne.id,
* gatewaytemplateId: gatewaytemplateOne.id,
* alarmtemplateId: alarmtemplateOne.id,
* });
* ```
*
* ## Import
*
* Using `pulumi import`, import `mist_site` with:
*
* Site can be imported by specifying the site_id
*
* ```sh
* $ pulumi import junipermist:device/base:base site_one d3c42998-9012-4859-9743-6b9bee475309
* ```
*
* @deprecated junipermist.device/base.base has been deprecated in favor of junipermist.site/base.base
*/
export declare class Base extends pulumi.CustomResource {
/**
* Get an existing Base 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?: BaseState, opts?: pulumi.CustomResourceOptions): Base;
/**
* Returns true if the given object is an instance of Base. 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 Base;
/**
* full address of the site
*/
readonly address: pulumi.Output<string>;
/**
* Alarm Template ID, this takes precedence over the Org-level alarmtemplate_id
*/
readonly alarmtemplateId: pulumi.Output<string | undefined>;
/**
* AP Template ID, used by APs
*/
readonly aptemplateId: pulumi.Output<string | undefined>;
/**
* Country code for the site (for AP config generation), in two-character
*/
readonly countryCode: pulumi.Output<string | undefined>;
/**
* Gateway Template ID, used by gateways
*/
readonly gatewaytemplateId: pulumi.Output<string | undefined>;
readonly latlng: pulumi.Output<outputs.device.BaseLatlng | undefined>;
readonly name: pulumi.Output<string>;
/**
* Network Template ID, this takes precedence over Site Settings
*/
readonly networktemplateId: pulumi.Output<string | undefined>;
/**
* Optional, any notes about the site
*/
readonly notes: pulumi.Output<string>;
readonly orgId: pulumi.Output<string>;
/**
* RF Template ID, this takes precedence over Site Settings
*/
readonly rftemplateId: pulumi.Output<string | undefined>;
/**
* SecPolicy ID
*/
readonly secpolicyId: pulumi.Output<string | undefined>;
/**
* Sitegroups this site belongs to
*/
readonly sitegroupIds: pulumi.Output<string[]>;
/**
* Site Template ID
*/
readonly sitetemplateId: pulumi.Output<string | undefined>;
/**
* Timezone the site is at
*/
readonly timezone: pulumi.Output<string>;
readonly tzoffset: pulumi.Output<number>;
/**
* Create a Base 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.
*/
/** @deprecated junipermist.device/base.base has been deprecated in favor of junipermist.site/base.base */
constructor(name: string, args: BaseArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering base resources.
*/
export interface BaseState {
/**
* full address of the site
*/
address?: pulumi.Input<string>;
/**
* Alarm Template ID, this takes precedence over the Org-level alarmtemplate_id
*/
alarmtemplateId?: pulumi.Input<string>;
/**
* AP Template ID, used by APs
*/
aptemplateId?: pulumi.Input<string>;
/**
* Country code for the site (for AP config generation), in two-character
*/
countryCode?: pulumi.Input<string>;
/**
* Gateway Template ID, used by gateways
*/
gatewaytemplateId?: pulumi.Input<string>;
latlng?: pulumi.Input<inputs.device.BaseLatlng>;
name?: pulumi.Input<string>;
/**
* Network Template ID, this takes precedence over Site Settings
*/
networktemplateId?: pulumi.Input<string>;
/**
* Optional, any notes about the site
*/
notes?: pulumi.Input<string>;
orgId?: pulumi.Input<string>;
/**
* RF Template ID, this takes precedence over Site Settings
*/
rftemplateId?: pulumi.Input<string>;
/**
* SecPolicy ID
*/
secpolicyId?: pulumi.Input<string>;
/**
* Sitegroups this site belongs to
*/
sitegroupIds?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Site Template ID
*/
sitetemplateId?: pulumi.Input<string>;
/**
* Timezone the site is at
*/
timezone?: pulumi.Input<string>;
tzoffset?: pulumi.Input<number>;
}
/**
* The set of arguments for constructing a Base resource.
*/
export interface BaseArgs {
/**
* full address of the site
*/
address: pulumi.Input<string>;
/**
* Alarm Template ID, this takes precedence over the Org-level alarmtemplate_id
*/
alarmtemplateId?: pulumi.Input<string>;
/**
* AP Template ID, used by APs
*/
aptemplateId?: pulumi.Input<string>;
/**
* Country code for the site (for AP config generation), in two-character
*/
countryCode?: pulumi.Input<string>;
/**
* Gateway Template ID, used by gateways
*/
gatewaytemplateId?: pulumi.Input<string>;
latlng?: pulumi.Input<inputs.device.BaseLatlng>;
name?: pulumi.Input<string>;
/**
* Network Template ID, this takes precedence over Site Settings
*/
networktemplateId?: pulumi.Input<string>;
/**
* Optional, any notes about the site
*/
notes?: pulumi.Input<string>;
orgId: pulumi.Input<string>;
/**
* RF Template ID, this takes precedence over Site Settings
*/
rftemplateId?: pulumi.Input<string>;
/**
* SecPolicy ID
*/
secpolicyId?: pulumi.Input<string>;
/**
* Sitegroups this site belongs to
*/
sitegroupIds?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Site Template ID
*/
sitetemplateId?: pulumi.Input<string>;
/**
* Timezone the site is at
*/
timezone?: pulumi.Input<string>;
}