Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi
sdwan.getVedgeInventory
Explore with Pulumi AI
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, map[string]interface{}{}, 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<Get
Vedge Inventory Device> - List of returned devices
- Id string
- The id of the object
- Devices
[]Get
Vedge Inventory Device - List of returned devices
- Id string
- The id of the object
- devices
List<Get
Vedge Inventory Device> - List of returned devices
- id String
- The id of the object
- devices
Get
Vedge Inventory Device[] - List of returned devices
- id string
- The id of the object
- devices
Sequence[Get
Vedge Inventory Device] - 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
- Chassis
Number string - Chassis Number
- Device
Type string - Type of device
- Hostname string
- Hostname for respective device
- Serial
Number string - Serial number for device. Could be board or virtual identifier
- Site
Id string - Site id for respective device
- Validity string
- Validity of device
- Chassis
Number string - Chassis Number
- Device
Type string - Type of device
- Hostname string
- Hostname for respective device
- Serial
Number string - Serial number for device. Could be board or virtual identifier
- Site
Id string - Site id for respective device
- Validity string
- Validity of device
- chassis
Number String - Chassis Number
- device
Type String - Type of device
- hostname String
- Hostname for respective device
- serial
Number String - Serial number for device. Could be board or virtual identifier
- site
Id String - Site id for respective device
- validity String
- Validity of device
- chassis
Number string - Chassis Number
- device
Type string - Type of device
- hostname string
- Hostname for respective device
- serial
Number string - Serial number for device. Could be board or virtual identifier
- site
Id 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
- chassis
Number String - Chassis Number
- device
Type String - Type of device
- hostname String
- Hostname for respective device
- serial
Number String - Serial number for device. Could be board or virtual identifier
- site
Id 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.