junipermist.org.getWlantemplates
Explore with Pulumi AI
This datasource provides the list of WLAN Templates in a Mist Organization.
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
import * as pulumi from "@pulumi/pulumi";
import * as junipermist from "@pulumi/junipermist";
const templates = junipermist.org.getWlantemplates({
    orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
});
import pulumi
import pulumi_junipermist as junipermist
templates = junipermist.org.get_wlantemplates(org_id="15fca2ac-b1a6-47cc-9953-cc6906281550")
package main
import (
	"github.com/pulumi/pulumi-junipermist/sdk/go/junipermist/org"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := org.GetWlantemplates(ctx, &org.GetWlantemplatesArgs{
			OrgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using JuniperMist = Pulumi.JuniperMist;
return await Deployment.RunAsync(() => 
{
    var templates = JuniperMist.Org.GetWlantemplates.Invoke(new()
    {
        OrgId = "15fca2ac-b1a6-47cc-9953-cc6906281550",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.junipermist.org.OrgFunctions;
import com.pulumi.junipermist.org.inputs.GetWlantemplatesArgs;
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) {
        final var templates = OrgFunctions.getWlantemplates(GetWlantemplatesArgs.builder()
            .orgId("15fca2ac-b1a6-47cc-9953-cc6906281550")
            .build());
    }
}
variables:
  templates:
    fn::invoke:
      function: junipermist:org:getWlantemplates
      arguments:
        orgId: 15fca2ac-b1a6-47cc-9953-cc6906281550
Using getWlantemplates
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWlantemplates(args: GetWlantemplatesArgs, opts?: InvokeOptions): Promise<GetWlantemplatesResult>
function getWlantemplatesOutput(args: GetWlantemplatesOutputArgs, opts?: InvokeOptions): Output<GetWlantemplatesResult>def get_wlantemplates(org_id: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetWlantemplatesResult
def get_wlantemplates_output(org_id: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetWlantemplatesResult]func GetWlantemplates(ctx *Context, args *GetWlantemplatesArgs, opts ...InvokeOption) (*GetWlantemplatesResult, error)
func GetWlantemplatesOutput(ctx *Context, args *GetWlantemplatesOutputArgs, opts ...InvokeOption) GetWlantemplatesResultOutput> Note: This function is named GetWlantemplates in the Go SDK.
public static class GetWlantemplates 
{
    public static Task<GetWlantemplatesResult> InvokeAsync(GetWlantemplatesArgs args, InvokeOptions? opts = null)
    public static Output<GetWlantemplatesResult> Invoke(GetWlantemplatesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWlantemplatesResult> getWlantemplates(GetWlantemplatesArgs args, InvokeOptions options)
public static Output<GetWlantemplatesResult> getWlantemplates(GetWlantemplatesArgs args, InvokeOptions options)
fn::invoke:
  function: junipermist:org/getWlantemplates:getWlantemplates
  arguments:
    # arguments dictionaryThe following arguments are supported:
- OrgId string
- OrgId string
- orgId String
- orgId string
- org_id str
- orgId String
getWlantemplates Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- OrgId string
- OrgWlantemplates List<Pulumi.Juniper Mist. Org. Outputs. Get Wlantemplates Org Wlantemplate> 
- Id string
- The provider-assigned unique ID for this managed resource.
- OrgId string
- OrgWlantemplates []GetWlantemplates Org Wlantemplate 
- id String
- The provider-assigned unique ID for this managed resource.
- orgId String
- orgWlantemplates List<GetWlantemplates Org Wlantemplate> 
- id string
- The provider-assigned unique ID for this managed resource.
- orgId string
- orgWlantemplates GetWlantemplates Org Wlantemplate[] 
- id str
- The provider-assigned unique ID for this managed resource.
- org_id str
- org_wlantemplates Sequence[GetWlantemplates Org Wlantemplate] 
- id String
- The provider-assigned unique ID for this managed resource.
- orgId String
- orgWlantemplates List<Property Map>
Supporting Types
GetWlantemplatesOrgWlantemplate   
- CreatedTime double
- Id string
- ModifiedTime double
- Name string
- OrgId string
- CreatedTime float64
- Id string
- ModifiedTime float64
- Name string
- OrgId string
- createdTime Double
- id String
- modifiedTime Double
- name String
- orgId String
- createdTime number
- id string
- modifiedTime number
- name string
- orgId string
- created_time float
- id str
- modified_time float
- name str
- org_id str
- createdTime Number
- id String
- modifiedTime Number
- name String
- orgId String
Package Details
- Repository
- junipermist pulumi/pulumi-junipermist
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the mistTerraform Provider.
