1. Packages
  2. Juniper Mist
  3. API Docs
  4. org
  5. Wlantemplate
Juniper Mist v0.0.27 published on Friday, Sep 27, 2024 by Pulumi

junipermist.org.Wlantemplate

Explore with Pulumi AI

junipermist logo
Juniper Mist v0.0.27 published on Friday, Sep 27, 2024 by Pulumi

    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=junipermist.org.WlantemplateAppliesArgs(
            org_id="string",
            site_ids=["string"],
            sitegroup_ids=["string"],
        ),
        deviceprofile_ids=["string"],
        exceptions=junipermist.org.WlantemplateExceptionsArgs(
            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

    The Wlantemplate resource accepts the following input properties:

    OrgId string
    Applies Pulumi.JuniperMist.Org.Inputs.WlantemplateApplies
    where this template should be applied to, can be orgid, siteids, sitegroup_ids
    DeviceprofileIds List<string>
    list of Device Profile ids
    Exceptions Pulumi.JuniperMist.Org.Inputs.WlantemplateExceptions
    where this template should not be applied to (takes precedence)
    FilterByDeviceprofile bool
    whether to further filter by Device Profile
    Name string
    OrgId string
    Applies WlantemplateAppliesArgs
    where this template should be applied to, can be orgid, siteids, sitegroup_ids
    DeviceprofileIds []string
    list of Device Profile ids
    Exceptions WlantemplateExceptionsArgs
    where this template should not be applied to (takes precedence)
    FilterByDeviceprofile bool
    whether to further filter by Device Profile
    Name string
    orgId String
    applies WlantemplateApplies
    where this template should be applied to, can be orgid, siteids, sitegroup_ids
    deviceprofileIds List<String>
    list of Device Profile ids
    exceptions WlantemplateExceptions
    where this template should not be applied to (takes precedence)
    filterByDeviceprofile Boolean
    whether to further filter by Device Profile
    name String
    orgId string
    applies WlantemplateApplies
    where this template should be applied to, can be orgid, siteids, sitegroup_ids
    deviceprofileIds string[]
    list of Device Profile ids
    exceptions WlantemplateExceptions
    where this template should not be applied to (takes precedence)
    filterByDeviceprofile boolean
    whether to further filter by Device Profile
    name string
    org_id str
    applies WlantemplateAppliesArgs
    where this template should be applied to, can be orgid, siteids, sitegroup_ids
    deviceprofile_ids Sequence[str]
    list of Device Profile ids
    exceptions WlantemplateExceptionsArgs
    where this template should not be applied to (takes precedence)
    filter_by_deviceprofile bool
    whether to further filter by Device Profile
    name str
    orgId String
    applies Property Map
    where this template should be applied to, can be orgid, siteids, sitegroup_ids
    deviceprofileIds List<String>
    list of Device Profile ids
    exceptions Property Map
    where this template should not be applied to (takes precedence)
    filterByDeviceprofile Boolean
    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.
    The following state arguments are supported:
    Applies Pulumi.JuniperMist.Org.Inputs.WlantemplateApplies
    where this template should be applied to, can be orgid, siteids, sitegroup_ids
    DeviceprofileIds List<string>
    list of Device Profile ids
    Exceptions Pulumi.JuniperMist.Org.Inputs.WlantemplateExceptions
    where this template should not be applied to (takes precedence)
    FilterByDeviceprofile bool
    whether to further filter by Device Profile
    Name string
    OrgId string
    Applies WlantemplateAppliesArgs
    where this template should be applied to, can be orgid, siteids, sitegroup_ids
    DeviceprofileIds []string
    list of Device Profile ids
    Exceptions WlantemplateExceptionsArgs
    where this template should not be applied to (takes precedence)
    FilterByDeviceprofile bool
    whether to further filter by Device Profile
    Name string
    OrgId string
    applies WlantemplateApplies
    where this template should be applied to, can be orgid, siteids, sitegroup_ids
    deviceprofileIds List<String>
    list of Device Profile ids
    exceptions WlantemplateExceptions
    where this template should not be applied to (takes precedence)
    filterByDeviceprofile Boolean
    whether to further filter by Device Profile
    name String
    orgId String
    applies WlantemplateApplies
    where this template should be applied to, can be orgid, siteids, sitegroup_ids
    deviceprofileIds string[]
    list of Device Profile ids
    exceptions WlantemplateExceptions
    where this template should not be applied to (takes precedence)
    filterByDeviceprofile boolean
    whether to further filter by Device Profile
    name string
    orgId string
    applies WlantemplateAppliesArgs
    where this template should be applied to, can be orgid, siteids, sitegroup_ids
    deviceprofile_ids Sequence[str]
    list of Device Profile ids
    exceptions WlantemplateExceptionsArgs
    where this template should not be applied to (takes precedence)
    filter_by_deviceprofile bool
    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
    deviceprofileIds List<String>
    list of Device Profile ids
    exceptions Property Map
    where this template should not be applied to (takes precedence)
    filterByDeviceprofile Boolean
    whether to further filter by Device Profile
    name String
    orgId String

    Supporting Types

    WlantemplateApplies, WlantemplateAppliesArgs

    OrgId string
    SiteIds List<string>
    list of site ids
    SitegroupIds List<string>
    list of sitegroup ids
    OrgId string
    SiteIds []string
    list of site ids
    SitegroupIds []string
    list of sitegroup ids
    orgId String
    siteIds List<String>
    list of site ids
    sitegroupIds List<String>
    list of sitegroup ids
    orgId string
    siteIds string[]
    list of site ids
    sitegroupIds string[]
    list of sitegroup ids
    org_id str
    site_ids Sequence[str]
    list of site ids
    sitegroup_ids Sequence[str]
    list of sitegroup ids
    orgId String
    siteIds List<String>
    list of site ids
    sitegroupIds List<String>
    list of sitegroup ids

    WlantemplateExceptions, WlantemplateExceptionsArgs

    SiteIds List<string>
    list of site ids
    SitegroupIds List<string>
    list of sitegroup ids
    SiteIds []string
    list of site ids
    SitegroupIds []string
    list of sitegroup ids
    siteIds List<String>
    list of site ids
    sitegroupIds List<String>
    list of sitegroup ids
    siteIds string[]
    list of site ids
    sitegroupIds string[]
    list of sitegroup ids
    site_ids Sequence[str]
    list of site ids
    sitegroup_ids Sequence[str]
    list of sitegroup ids
    siteIds List<String>
    list of site ids
    sitegroupIds 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.
    junipermist logo
    Juniper Mist v0.0.27 published on Friday, Sep 27, 2024 by Pulumi