1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. getVedgeInventory
Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi

sdwan.getVedgeInventory

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi

    This data source can read the VEdge Inventory .

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = sdwan.getVedgeInventory({});
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.get_vedge_inventory()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-sdwan/sdk/go/sdwan"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sdwan.GetVedgeInventory(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Sdwan = Pulumi.Sdwan;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Sdwan.GetVedgeInventory.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sdwan.SdwanFunctions;
    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 = SdwanFunctions.getVedgeInventory();
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: sdwan:getVedgeInventory
          Arguments: {}
    

    Using getVedgeInventory

    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 getVedgeInventory(opts?: InvokeOptions): Promise<GetVedgeInventoryResult>
    function getVedgeInventoryOutput(opts?: InvokeOptions): Output<GetVedgeInventoryResult>
    def get_vedge_inventory(opts: Optional[InvokeOptions] = None) -> GetVedgeInventoryResult
    def get_vedge_inventory_output(opts: Optional[InvokeOptions] = None) -> Output[GetVedgeInventoryResult]
    func GetVedgeInventory(ctx *Context, opts ...InvokeOption) (*GetVedgeInventoryResult, error)
    func GetVedgeInventoryOutput(ctx *Context, opts ...InvokeOption) GetVedgeInventoryResultOutput

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

    public static class GetVedgeInventory 
    {
        public static Task<GetVedgeInventoryResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetVedgeInventoryResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVedgeInventoryResult> getVedgeInventory(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: sdwan:index/getVedgeInventory:getVedgeInventory
      arguments:
        # arguments dictionary

    getVedgeInventory Result

    The following output properties are available:

    Devices List<GetVedgeInventoryDevice>
    List of returned devices
    Id string
    The id of the object
    Devices []GetVedgeInventoryDevice
    List of returned devices
    Id string
    The id of the object
    devices List<GetVedgeInventoryDevice>
    List of returned devices
    id String
    The id of the object
    devices GetVedgeInventoryDevice[]
    List of returned devices
    id string
    The id of the object
    devices Sequence[GetVedgeInventoryDevice]
    List of returned devices
    id str
    The id of the object
    devices List<Property Map>
    List of returned devices
    id String
    The id of the object

    Supporting Types

    GetVedgeInventoryDevice

    ChassisNumber string
    Chassis Number
    DeviceType string
    Type of device
    Hostname string
    Hostname for respective device
    SerialNumber string
    Serial number for device. Could be board or virtual identifier
    SiteId string
    Site id for respective device
    Validity string
    Validity of device
    ChassisNumber string
    Chassis Number
    DeviceType string
    Type of device
    Hostname string
    Hostname for respective device
    SerialNumber string
    Serial number for device. Could be board or virtual identifier
    SiteId string
    Site id for respective device
    Validity string
    Validity of device
    chassisNumber String
    Chassis Number
    deviceType String
    Type of device
    hostname String
    Hostname for respective device
    serialNumber String
    Serial number for device. Could be board or virtual identifier
    siteId String
    Site id for respective device
    validity String
    Validity of device
    chassisNumber string
    Chassis Number
    deviceType string
    Type of device
    hostname string
    Hostname for respective device
    serialNumber string
    Serial number for device. Could be board or virtual identifier
    siteId string
    Site id for respective device
    validity string
    Validity of device
    chassis_number str
    Chassis Number
    device_type str
    Type of device
    hostname str
    Hostname for respective device
    serial_number str
    Serial number for device. Could be board or virtual identifier
    site_id str
    Site id for respective device
    validity str
    Validity of device
    chassisNumber String
    Chassis Number
    deviceType String
    Type of device
    hostname String
    Hostname for respective device
    serialNumber String
    Serial number for device. Could be board or virtual identifier
    siteId String
    Site id for respective device
    validity String
    Validity of device

    Package Details

    Repository
    sdwan pulumi/pulumi-sdwan
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sdwan Terraform Provider.
    sdwan logo
    Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi