1. Packages
  2. Packages
  3. Panos Provider
  4. API Docs
  5. getVlan
Viewing docs for panos 2.0.12
published on Wednesday, Jun 17, 2026 by paloaltonetworks
Viewing docs for panos 2.0.12
published on Wednesday, Jun 17, 2026 by paloaltonetworks

    Using getVlan

    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 getVlan(args: GetVlanArgs, opts?: InvokeOptions): Promise<GetVlanResult>
    function getVlanOutput(args: GetVlanOutputArgs, opts?: InvokeOptions): Output<GetVlanResult>
    def get_vlan(interfaces: Optional[Sequence[str]] = None,
                 location: Optional[GetVlanLocation] = None,
                 name: Optional[str] = None,
                 virtual_interface: Optional[GetVlanVirtualInterface] = None,
                 opts: Optional[InvokeOptions] = None) -> GetVlanResult
    def get_vlan_output(interfaces: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
                 location: pulumi.Input[Optional[GetVlanLocationArgs]] = None,
                 name: pulumi.Input[Optional[str]] = None,
                 virtual_interface: pulumi.Input[Optional[GetVlanVirtualInterfaceArgs]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetVlanResult]
    func LookupVlan(ctx *Context, args *LookupVlanArgs, opts ...InvokeOption) (*LookupVlanResult, error)
    func LookupVlanOutput(ctx *Context, args *LookupVlanOutputArgs, opts ...InvokeOption) LookupVlanResultOutput

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

    public static class GetVlan 
    {
        public static Task<GetVlanResult> InvokeAsync(GetVlanArgs args, InvokeOptions? opts = null)
        public static Output<GetVlanResult> Invoke(GetVlanInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVlanResult> getVlan(GetVlanArgs args, InvokeOptions options)
    public static Output<GetVlanResult> getVlan(GetVlanArgs args, InvokeOptions options)
    
    fn::invoke:
      function: panos:index/getVlan:getVlan
      arguments:
        # arguments dictionary
    data "panos_getvlan" "name" {
        # arguments
    }

    The following arguments are supported:

    location object
    The location of this object.
    name string
    interfaces list(string)
    virtual_interface object
    location Property Map
    The location of this object.
    name String
    interfaces List<String>
    virtualInterface Property Map

    getVlan Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Interfaces List<string>
    Location GetVlanLocation
    The location of this object.
    Name string
    VirtualInterface GetVlanVirtualInterface
    Id string
    The provider-assigned unique ID for this managed resource.
    Interfaces []string
    Location GetVlanLocation
    The location of this object.
    Name string
    VirtualInterface GetVlanVirtualInterface
    id string
    The provider-assigned unique ID for this managed resource.
    interfaces list(string)
    location object
    The location of this object.
    name string
    virtual_interface object
    id String
    The provider-assigned unique ID for this managed resource.
    interfaces List<String>
    location GetVlanLocation
    The location of this object.
    name String
    virtualInterface GetVlanVirtualInterface
    id string
    The provider-assigned unique ID for this managed resource.
    interfaces string[]
    location GetVlanLocation
    The location of this object.
    name string
    virtualInterface GetVlanVirtualInterface
    id str
    The provider-assigned unique ID for this managed resource.
    interfaces Sequence[str]
    location GetVlanLocation
    The location of this object.
    name str
    virtual_interface GetVlanVirtualInterface
    id String
    The provider-assigned unique ID for this managed resource.
    interfaces List<String>
    location Property Map
    The location of this object.
    name String
    virtualInterface Property Map

    Supporting Types

    GetVlanLocation

    Ngfw GetVlanLocationNgfw
    Located in a specific NGFW device
    Template GetVlanLocationTemplate
    Located in a specific template
    TemplateStack GetVlanLocationTemplateStack
    Located in a specific template stack
    Ngfw GetVlanLocationNgfw
    Located in a specific NGFW device
    Template GetVlanLocationTemplate
    Located in a specific template
    TemplateStack GetVlanLocationTemplateStack
    Located in a specific template stack
    ngfw object
    Located in a specific NGFW device
    template object
    Located in a specific template
    template_stack object
    Located in a specific template stack
    ngfw GetVlanLocationNgfw
    Located in a specific NGFW device
    template GetVlanLocationTemplate
    Located in a specific template
    templateStack GetVlanLocationTemplateStack
    Located in a specific template stack
    ngfw GetVlanLocationNgfw
    Located in a specific NGFW device
    template GetVlanLocationTemplate
    Located in a specific template
    templateStack GetVlanLocationTemplateStack
    Located in a specific template stack
    ngfw GetVlanLocationNgfw
    Located in a specific NGFW device
    template GetVlanLocationTemplate
    Located in a specific template
    template_stack GetVlanLocationTemplateStack
    Located in a specific template stack
    ngfw Property Map
    Located in a specific NGFW device
    template Property Map
    Located in a specific template
    templateStack Property Map
    Located in a specific template stack

    GetVlanLocationNgfw

    NgfwDevice string
    The NGFW device
    NgfwDevice string
    The NGFW device
    ngfw_device string
    The NGFW device
    ngfwDevice String
    The NGFW device
    ngfwDevice string
    The NGFW device
    ngfw_device str
    The NGFW device
    ngfwDevice String
    The NGFW device

    GetVlanLocationTemplate

    Name string
    Specific Panorama template
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    Name string
    Specific Panorama template
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    name string
    Specific Panorama template
    ngfw_device string
    The NGFW device
    panorama_device string
    Specific Panorama device
    name String
    Specific Panorama template
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device
    name string
    Specific Panorama template
    ngfwDevice string
    The NGFW device
    panoramaDevice string
    Specific Panorama device
    name str
    Specific Panorama template
    ngfw_device str
    The NGFW device
    panorama_device str
    Specific Panorama device
    name String
    Specific Panorama template
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device

    GetVlanLocationTemplateStack

    Name string
    Specific Panorama template stack
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    Name string
    Specific Panorama template stack
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    name string
    Specific Panorama template stack
    ngfw_device string
    The NGFW device
    panorama_device string
    Specific Panorama device
    name String
    Specific Panorama template stack
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device
    name string
    Specific Panorama template stack
    ngfwDevice string
    The NGFW device
    panoramaDevice string
    Specific Panorama device
    name str
    Specific Panorama template stack
    ngfw_device str
    The NGFW device
    panorama_device str
    Specific Panorama device
    name String
    Specific Panorama template stack
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device

    GetVlanVirtualInterface

    Interface string
    Virtual interface
    Interface string
    Virtual interface
    interface string
    Virtual interface
    interface_ String
    Virtual interface
    interface string
    Virtual interface
    interface str
    Virtual interface
    interface String
    Virtual interface

    Package Details

    Repository
    panos paloaltonetworks/terraform-provider-panos
    License
    Notes
    This Pulumi package is based on the panos Terraform Provider.
    Viewing docs for panos 2.0.12
    published on Wednesday, Jun 17, 2026 by paloaltonetworks

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial