1. Packages
  2. Cisco Meraki
  3. API Docs
  4. networks
  5. getVlanProfiles
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

meraki.networks.getVlanProfiles

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = meraki.networks.getVlanProfiles({
        iname: "string",
        networkId: "string",
    });
    export const merakiNetworksVlanProfilesExample = example.then(example => example.item);
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.networks.get_vlan_profiles(iname="string",
        network_id="string")
    pulumi.export("merakiNetworksVlanProfilesExample", example.item)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/networks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := networks.LookupVlanProfiles(ctx, &networks.LookupVlanProfilesArgs{
    			Iname:     "string",
    			NetworkId: "string",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiNetworksVlanProfilesExample", example.Item)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Meraki.Networks.GetVlanProfiles.Invoke(new()
        {
            Iname = "string",
            NetworkId = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiNetworksVlanProfilesExample"] = example.Apply(getVlanProfilesResult => getVlanProfilesResult.Item),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.networks.NetworksFunctions;
    import com.pulumi.meraki.networks.inputs.GetVlanProfilesArgs;
    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 example = NetworksFunctions.getVlanProfiles(GetVlanProfilesArgs.builder()
                .iname("string")
                .networkId("string")
                .build());
    
            ctx.export("merakiNetworksVlanProfilesExample", example.applyValue(getVlanProfilesResult -> getVlanProfilesResult.item()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: meraki:networks:getVlanProfiles
          Arguments:
            iname: string
            networkId: string
    outputs:
      merakiNetworksVlanProfilesExample: ${example.item}
    

    Using getVlanProfiles

    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 getVlanProfiles(args: GetVlanProfilesArgs, opts?: InvokeOptions): Promise<GetVlanProfilesResult>
    function getVlanProfilesOutput(args: GetVlanProfilesOutputArgs, opts?: InvokeOptions): Output<GetVlanProfilesResult>
    def get_vlan_profiles(iname: Optional[str] = None,
                          network_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetVlanProfilesResult
    def get_vlan_profiles_output(iname: Optional[pulumi.Input[str]] = None,
                          network_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetVlanProfilesResult]
    func LookupVlanProfiles(ctx *Context, args *LookupVlanProfilesArgs, opts ...InvokeOption) (*LookupVlanProfilesResult, error)
    func LookupVlanProfilesOutput(ctx *Context, args *LookupVlanProfilesOutputArgs, opts ...InvokeOption) LookupVlanProfilesResultOutput

    > Note: This function is named LookupVlanProfiles in the Go SDK.

    public static class GetVlanProfiles 
    {
        public static Task<GetVlanProfilesResult> InvokeAsync(GetVlanProfilesArgs args, InvokeOptions? opts = null)
        public static Output<GetVlanProfilesResult> Invoke(GetVlanProfilesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVlanProfilesResult> getVlanProfiles(GetVlanProfilesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:networks/getVlanProfiles:getVlanProfiles
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Iname string
    iname path parameter.
    NetworkId string
    networkId path parameter. Network ID
    Iname string
    iname path parameter.
    NetworkId string
    networkId path parameter. Network ID
    iname String
    iname path parameter.
    networkId String
    networkId path parameter. Network ID
    iname string
    iname path parameter.
    networkId string
    networkId path parameter. Network ID
    iname str
    iname path parameter.
    network_id str
    networkId path parameter. Network ID
    iname String
    iname path parameter.
    networkId String
    networkId path parameter. Network ID

    getVlanProfiles Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Iname string
    iname path parameter.
    Item GetVlanProfilesItem
    NetworkId string
    networkId path parameter. Network ID
    Id string
    The provider-assigned unique ID for this managed resource.
    Iname string
    iname path parameter.
    Item GetVlanProfilesItem
    NetworkId string
    networkId path parameter. Network ID
    id String
    The provider-assigned unique ID for this managed resource.
    iname String
    iname path parameter.
    item GetVlanProfilesItem
    networkId String
    networkId path parameter. Network ID
    id string
    The provider-assigned unique ID for this managed resource.
    iname string
    iname path parameter.
    item GetVlanProfilesItem
    networkId string
    networkId path parameter. Network ID
    id str
    The provider-assigned unique ID for this managed resource.
    iname str
    iname path parameter.
    item GetVlanProfilesItem
    network_id str
    networkId path parameter. Network ID
    id String
    The provider-assigned unique ID for this managed resource.
    iname String
    iname path parameter.
    item Property Map
    networkId String
    networkId path parameter. Network ID

    Supporting Types

    GetVlanProfilesItem

    Iname string
    IName of the VLAN profile
    IsDefault bool
    Boolean indicating the default VLAN Profile for any device that does not have a profile explicitly assigned
    Name string
    Name of the profile, string length must be from 1 to 255 characters
    VlanGroups List<GetVlanProfilesItemVlanGroup>
    An array of named VLANs
    VlanNames List<GetVlanProfilesItemVlanName>
    An array of named VLANs
    Iname string
    IName of the VLAN profile
    IsDefault bool
    Boolean indicating the default VLAN Profile for any device that does not have a profile explicitly assigned
    Name string
    Name of the profile, string length must be from 1 to 255 characters
    VlanGroups []GetVlanProfilesItemVlanGroup
    An array of named VLANs
    VlanNames []GetVlanProfilesItemVlanName
    An array of named VLANs
    iname String
    IName of the VLAN profile
    isDefault Boolean
    Boolean indicating the default VLAN Profile for any device that does not have a profile explicitly assigned
    name String
    Name of the profile, string length must be from 1 to 255 characters
    vlanGroups List<GetVlanProfilesItemVlanGroup>
    An array of named VLANs
    vlanNames List<GetVlanProfilesItemVlanName>
    An array of named VLANs
    iname string
    IName of the VLAN profile
    isDefault boolean
    Boolean indicating the default VLAN Profile for any device that does not have a profile explicitly assigned
    name string
    Name of the profile, string length must be from 1 to 255 characters
    vlanGroups GetVlanProfilesItemVlanGroup[]
    An array of named VLANs
    vlanNames GetVlanProfilesItemVlanName[]
    An array of named VLANs
    iname str
    IName of the VLAN profile
    is_default bool
    Boolean indicating the default VLAN Profile for any device that does not have a profile explicitly assigned
    name str
    Name of the profile, string length must be from 1 to 255 characters
    vlan_groups Sequence[GetVlanProfilesItemVlanGroup]
    An array of named VLANs
    vlan_names Sequence[GetVlanProfilesItemVlanName]
    An array of named VLANs
    iname String
    IName of the VLAN profile
    isDefault Boolean
    Boolean indicating the default VLAN Profile for any device that does not have a profile explicitly assigned
    name String
    Name of the profile, string length must be from 1 to 255 characters
    vlanGroups List<Property Map>
    An array of named VLANs
    vlanNames List<Property Map>
    An array of named VLANs

    GetVlanProfilesItemVlanGroup

    Name string
    Name of the VLAN, string length must be from 1 to 32 characters
    VlanIds string
    Comma-separated VLAN IDs or ID ranges
    Name string
    Name of the VLAN, string length must be from 1 to 32 characters
    VlanIds string
    Comma-separated VLAN IDs or ID ranges
    name String
    Name of the VLAN, string length must be from 1 to 32 characters
    vlanIds String
    Comma-separated VLAN IDs or ID ranges
    name string
    Name of the VLAN, string length must be from 1 to 32 characters
    vlanIds string
    Comma-separated VLAN IDs or ID ranges
    name str
    Name of the VLAN, string length must be from 1 to 32 characters
    vlan_ids str
    Comma-separated VLAN IDs or ID ranges
    name String
    Name of the VLAN, string length must be from 1 to 32 characters
    vlanIds String
    Comma-separated VLAN IDs or ID ranges

    GetVlanProfilesItemVlanName

    AdaptivePolicyGroup GetVlanProfilesItemVlanNameAdaptivePolicyGroup
    Adaptive Policy Group assigned to Vlan ID
    Name string
    Name of the VLAN, string length must be from 1 to 32 characters
    VlanId string
    VLAN ID
    AdaptivePolicyGroup GetVlanProfilesItemVlanNameAdaptivePolicyGroup
    Adaptive Policy Group assigned to Vlan ID
    Name string
    Name of the VLAN, string length must be from 1 to 32 characters
    VlanId string
    VLAN ID
    adaptivePolicyGroup GetVlanProfilesItemVlanNameAdaptivePolicyGroup
    Adaptive Policy Group assigned to Vlan ID
    name String
    Name of the VLAN, string length must be from 1 to 32 characters
    vlanId String
    VLAN ID
    adaptivePolicyGroup GetVlanProfilesItemVlanNameAdaptivePolicyGroup
    Adaptive Policy Group assigned to Vlan ID
    name string
    Name of the VLAN, string length must be from 1 to 32 characters
    vlanId string
    VLAN ID
    adaptive_policy_group GetVlanProfilesItemVlanNameAdaptivePolicyGroup
    Adaptive Policy Group assigned to Vlan ID
    name str
    Name of the VLAN, string length must be from 1 to 32 characters
    vlan_id str
    VLAN ID
    adaptivePolicyGroup Property Map
    Adaptive Policy Group assigned to Vlan ID
    name String
    Name of the VLAN, string length must be from 1 to 32 characters
    vlanId String
    VLAN ID

    GetVlanProfilesItemVlanNameAdaptivePolicyGroup

    Id string
    Adaptive Policy Group ID
    Name string
    Adaptive Policy Group name
    Id string
    Adaptive Policy Group ID
    Name string
    Adaptive Policy Group name
    id String
    Adaptive Policy Group ID
    name String
    Adaptive Policy Group name
    id string
    Adaptive Policy Group ID
    name string
    Adaptive Policy Group name
    id str
    Adaptive Policy Group ID
    name str
    Adaptive Policy Group name
    id String
    Adaptive Policy Group ID
    name String
    Adaptive Policy Group name

    Package Details

    Repository
    meraki pulumi/pulumi-meraki
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the meraki Terraform Provider.
    meraki logo
    Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi