junipermist.org.Wlantemplate
Explore with Pulumi AI
This resource manages the Org WLAN Templates. A WLAN template is a collection of WLANs, tunneling policies, and wxlan policies. It is used to create and manage wlan configurations at an organizational level. WLAN templates allow for modular, scalable, and easy-to-manage configuration of ssids and their application to specific sites, site groups, or ap device profiles. They are valuable for automating configuration across multiple sites and profiles, making it easier to scale efficiently.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.junipermist.org.Wlantemplate;
import com.pulumi.junipermist.org.WlantemplateArgs;
import com.pulumi.junipermist.org.inputs.WlantemplateAppliesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var wlantempalteOne = new Wlantemplate("wlantempalteOne", WlantemplateArgs.builder()
.name("wlantempalte_one")
.orgId(terraformTest.id())
.applies(WlantemplateAppliesArgs.builder()
.site_ids(terraformSite.id())
.build())
.build());
}
}
resources:
wlantempalteOne:
type: junipermist:org:Wlantemplate
name: wlantempalte_one
properties:
name: wlantempalte_one
orgId: ${terraformTest.id}
applies:
site_ids:
- ${terraformSite.id}
Create Wlantemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Wlantemplate(name: string, args: WlantemplateArgs, opts?: CustomResourceOptions);
@overload
def Wlantemplate(resource_name: str,
args: WlantemplateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Wlantemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
org_id: Optional[str] = None,
applies: Optional[WlantemplateAppliesArgs] = None,
deviceprofile_ids: Optional[Sequence[str]] = None,
exceptions: Optional[WlantemplateExceptionsArgs] = None,
filter_by_deviceprofile: Optional[bool] = None,
name: Optional[str] = None)
func NewWlantemplate(ctx *Context, name string, args WlantemplateArgs, opts ...ResourceOption) (*Wlantemplate, error)
public Wlantemplate(string name, WlantemplateArgs args, CustomResourceOptions? opts = null)
public Wlantemplate(String name, WlantemplateArgs args)
public Wlantemplate(String name, WlantemplateArgs args, CustomResourceOptions options)
type: junipermist:org:Wlantemplate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args WlantemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args WlantemplateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WlantemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WlantemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WlantemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var wlantemplateResource = new JuniperMist.Org.Wlantemplate("wlantemplateResource", new()
{
OrgId = "string",
Applies = new JuniperMist.Org.Inputs.WlantemplateAppliesArgs
{
OrgId = "string",
SiteIds = new[]
{
"string",
},
SitegroupIds = new[]
{
"string",
},
},
DeviceprofileIds = new[]
{
"string",
},
Exceptions = new JuniperMist.Org.Inputs.WlantemplateExceptionsArgs
{
SiteIds = new[]
{
"string",
},
SitegroupIds = new[]
{
"string",
},
},
FilterByDeviceprofile = false,
Name = "string",
});
example, err := org.NewWlantemplate(ctx, "wlantemplateResource", &org.WlantemplateArgs{
OrgId: pulumi.String("string"),
Applies: &org.WlantemplateAppliesArgs{
OrgId: pulumi.String("string"),
SiteIds: pulumi.StringArray{
pulumi.String("string"),
},
SitegroupIds: pulumi.StringArray{
pulumi.String("string"),
},
},
DeviceprofileIds: pulumi.StringArray{
pulumi.String("string"),
},
Exceptions: &org.WlantemplateExceptionsArgs{
SiteIds: pulumi.StringArray{
pulumi.String("string"),
},
SitegroupIds: pulumi.StringArray{
pulumi.String("string"),
},
},
FilterByDeviceprofile: pulumi.Bool(false),
Name: pulumi.String("string"),
})
var wlantemplateResource = new Wlantemplate("wlantemplateResource", WlantemplateArgs.builder()
.orgId("string")
.applies(WlantemplateAppliesArgs.builder()
.orgId("string")
.siteIds("string")
.sitegroupIds("string")
.build())
.deviceprofileIds("string")
.exceptions(WlantemplateExceptionsArgs.builder()
.siteIds("string")
.sitegroupIds("string")
.build())
.filterByDeviceprofile(false)
.name("string")
.build());
wlantemplate_resource = junipermist.org.Wlantemplate("wlantemplateResource",
org_id="string",
applies={
"org_id": "string",
"site_ids": ["string"],
"sitegroup_ids": ["string"],
},
deviceprofile_ids=["string"],
exceptions={
"site_ids": ["string"],
"sitegroup_ids": ["string"],
},
filter_by_deviceprofile=False,
name="string")
const wlantemplateResource = new junipermist.org.Wlantemplate("wlantemplateResource", {
orgId: "string",
applies: {
orgId: "string",
siteIds: ["string"],
sitegroupIds: ["string"],
},
deviceprofileIds: ["string"],
exceptions: {
siteIds: ["string"],
sitegroupIds: ["string"],
},
filterByDeviceprofile: false,
name: "string",
});
type: junipermist:org:Wlantemplate
properties:
applies:
orgId: string
siteIds:
- string
sitegroupIds:
- string
deviceprofileIds:
- string
exceptions:
siteIds:
- string
sitegroupIds:
- string
filterByDeviceprofile: false
name: string
orgId: string
Wlantemplate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Wlantemplate resource accepts the following input properties:
- Org
Id string - Applies
Pulumi.
Juniper Mist. Org. Inputs. Wlantemplate Applies - where this template should be applied to, can be orgid, siteids, sitegroup_ids
- Deviceprofile
Ids List<string> - list of Device Profile ids
- Exceptions
Pulumi.
Juniper Mist. Org. Inputs. Wlantemplate Exceptions - where this template should not be applied to (takes precedence)
- Filter
By boolDeviceprofile - whether to further filter by Device Profile
- Name string
- Org
Id string - Applies
Wlantemplate
Applies Args - where this template should be applied to, can be orgid, siteids, sitegroup_ids
- Deviceprofile
Ids []string - list of Device Profile ids
- Exceptions
Wlantemplate
Exceptions Args - where this template should not be applied to (takes precedence)
- Filter
By boolDeviceprofile - whether to further filter by Device Profile
- Name string
- org
Id String - applies
Wlantemplate
Applies - where this template should be applied to, can be orgid, siteids, sitegroup_ids
- deviceprofile
Ids List<String> - list of Device Profile ids
- exceptions
Wlantemplate
Exceptions - where this template should not be applied to (takes precedence)
- filter
By BooleanDeviceprofile - whether to further filter by Device Profile
- name String
- org
Id string - applies
Wlantemplate
Applies - where this template should be applied to, can be orgid, siteids, sitegroup_ids
- deviceprofile
Ids string[] - list of Device Profile ids
- exceptions
Wlantemplate
Exceptions - where this template should not be applied to (takes precedence)
- filter
By booleanDeviceprofile - whether to further filter by Device Profile
- name string
- org_
id str - applies
Wlantemplate
Applies Args - where this template should be applied to, can be orgid, siteids, sitegroup_ids
- deviceprofile_
ids Sequence[str] - list of Device Profile ids
- exceptions
Wlantemplate
Exceptions Args - where this template should not be applied to (takes precedence)
- filter_
by_ booldeviceprofile - whether to further filter by Device Profile
- name str
- org
Id String - applies Property Map
- where this template should be applied to, can be orgid, siteids, sitegroup_ids
- deviceprofile
Ids List<String> - list of Device Profile ids
- exceptions Property Map
- where this template should not be applied to (takes precedence)
- filter
By BooleanDeviceprofile - whether to further filter by Device Profile
- name String
Outputs
All input properties are implicitly available as output properties. Additionally, the Wlantemplate resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Wlantemplate Resource
Get an existing Wlantemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: WlantemplateState, opts?: CustomResourceOptions): Wlantemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
applies: Optional[WlantemplateAppliesArgs] = None,
deviceprofile_ids: Optional[Sequence[str]] = None,
exceptions: Optional[WlantemplateExceptionsArgs] = None,
filter_by_deviceprofile: Optional[bool] = None,
name: Optional[str] = None,
org_id: Optional[str] = None) -> Wlantemplate
func GetWlantemplate(ctx *Context, name string, id IDInput, state *WlantemplateState, opts ...ResourceOption) (*Wlantemplate, error)
public static Wlantemplate Get(string name, Input<string> id, WlantemplateState? state, CustomResourceOptions? opts = null)
public static Wlantemplate get(String name, Output<String> id, WlantemplateState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Applies
Pulumi.
Juniper Mist. Org. Inputs. Wlantemplate Applies - where this template should be applied to, can be orgid, siteids, sitegroup_ids
- Deviceprofile
Ids List<string> - list of Device Profile ids
- Exceptions
Pulumi.
Juniper Mist. Org. Inputs. Wlantemplate Exceptions - where this template should not be applied to (takes precedence)
- Filter
By boolDeviceprofile - whether to further filter by Device Profile
- Name string
- Org
Id string
- Applies
Wlantemplate
Applies Args - where this template should be applied to, can be orgid, siteids, sitegroup_ids
- Deviceprofile
Ids []string - list of Device Profile ids
- Exceptions
Wlantemplate
Exceptions Args - where this template should not be applied to (takes precedence)
- Filter
By boolDeviceprofile - whether to further filter by Device Profile
- Name string
- Org
Id string
- applies
Wlantemplate
Applies - where this template should be applied to, can be orgid, siteids, sitegroup_ids
- deviceprofile
Ids List<String> - list of Device Profile ids
- exceptions
Wlantemplate
Exceptions - where this template should not be applied to (takes precedence)
- filter
By BooleanDeviceprofile - whether to further filter by Device Profile
- name String
- org
Id String
- applies
Wlantemplate
Applies - where this template should be applied to, can be orgid, siteids, sitegroup_ids
- deviceprofile
Ids string[] - list of Device Profile ids
- exceptions
Wlantemplate
Exceptions - where this template should not be applied to (takes precedence)
- filter
By booleanDeviceprofile - whether to further filter by Device Profile
- name string
- org
Id string
- applies
Wlantemplate
Applies Args - where this template should be applied to, can be orgid, siteids, sitegroup_ids
- deviceprofile_
ids Sequence[str] - list of Device Profile ids
- exceptions
Wlantemplate
Exceptions Args - where this template should not be applied to (takes precedence)
- filter_
by_ booldeviceprofile - whether to further filter by Device Profile
- name str
- org_
id str
- applies Property Map
- where this template should be applied to, can be orgid, siteids, sitegroup_ids
- deviceprofile
Ids List<String> - list of Device Profile ids
- exceptions Property Map
- where this template should not be applied to (takes precedence)
- filter
By BooleanDeviceprofile - whether to further filter by Device Profile
- name String
- org
Id String
Supporting Types
WlantemplateApplies, WlantemplateAppliesArgs
- Org
Id string - Site
Ids List<string> - list of site ids
- Sitegroup
Ids List<string> - list of sitegroup ids
- Org
Id string - Site
Ids []string - list of site ids
- Sitegroup
Ids []string - list of sitegroup ids
- org
Id String - site
Ids List<String> - list of site ids
- sitegroup
Ids List<String> - list of sitegroup ids
- org
Id string - site
Ids string[] - list of site ids
- sitegroup
Ids string[] - list of sitegroup ids
- org_
id str - site_
ids Sequence[str] - list of site ids
- sitegroup_
ids Sequence[str] - list of sitegroup ids
- org
Id String - site
Ids List<String> - list of site ids
- sitegroup
Ids List<String> - list of sitegroup ids
WlantemplateExceptions, WlantemplateExceptionsArgs
- Site
Ids List<string> - list of site ids
- Sitegroup
Ids List<string> - list of sitegroup ids
- Site
Ids []string - list of site ids
- Sitegroup
Ids []string - list of sitegroup ids
- site
Ids List<String> - list of site ids
- sitegroup
Ids List<String> - list of sitegroup ids
- site
Ids string[] - list of site ids
- sitegroup
Ids string[] - list of sitegroup ids
- site_
ids Sequence[str] - list of site ids
- sitegroup_
ids Sequence[str] - list of sitegroup ids
- site
Ids List<String> - list of site ids
- sitegroup
Ids List<String> - list of sitegroup ids
Import
Using pulumi import
, import mist_org_wlantemplate
with:
Org WLAN Template can be imported by specifying the org_id and the wlantemplate_id
$ pulumi import junipermist:org/wlantemplate:Wlantemplate wlantemplate_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3c42998-9012-4859-9743-6b9bee475309
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- junipermist pulumi/pulumi-junipermist
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mist
Terraform Provider.