1. Packages
  2. Juniper Mist
  3. API Docs
  4. device
  5. getSwitchStats
Juniper Mist v0.1.1 published on Monday, Nov 4, 2024 by Pulumi

junipermist.device.getSwitchStats

Explore with Pulumi AI

junipermist logo
Juniper Mist v0.1.1 published on Monday, Nov 4, 2024 by Pulumi

    This data source provides the list of Switches with their statistics.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as junipermist from "@pulumi/junipermist";
    
    const switchStats = junipermist.device.getSwitchStats({
        orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
    });
    
    import pulumi
    import pulumi_junipermist as junipermist
    
    switch_stats = junipermist.device.get_switch_stats(org_id="15fca2ac-b1a6-47cc-9953-cc6906281550")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-junipermist/sdk/go/junipermist/device"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := device.GetSwitchStats(ctx, &device.GetSwitchStatsArgs{
    			OrgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using JuniperMist = Pulumi.JuniperMist;
    
    return await Deployment.RunAsync(() => 
    {
        var switchStats = JuniperMist.Device.GetSwitchStats.Invoke(new()
        {
            OrgId = "15fca2ac-b1a6-47cc-9953-cc6906281550",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.junipermist.device.DeviceFunctions;
    import com.pulumi.junipermist.device.inputs.GetSwitchStatsArgs;
    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 switchStats = DeviceFunctions.getSwitchStats(GetSwitchStatsArgs.builder()
                .orgId("15fca2ac-b1a6-47cc-9953-cc6906281550")
                .build());
    
        }
    }
    
    variables:
      switchStats:
        fn::invoke:
          Function: junipermist:device:getSwitchStats
          Arguments:
            orgId: 15fca2ac-b1a6-47cc-9953-cc6906281550
    

    Using getSwitchStats

    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 getSwitchStats(args: GetSwitchStatsArgs, opts?: InvokeOptions): Promise<GetSwitchStatsResult>
    function getSwitchStatsOutput(args: GetSwitchStatsOutputArgs, opts?: InvokeOptions): Output<GetSwitchStatsResult>
    def get_switch_stats(duration: Optional[str] = None,
                         end: Optional[int] = None,
                         evpn_unused: Optional[str] = None,
                         evpntopo_id: Optional[str] = None,
                         mac: Optional[str] = None,
                         org_id: Optional[str] = None,
                         site_id: Optional[str] = None,
                         start: Optional[int] = None,
                         status: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetSwitchStatsResult
    def get_switch_stats_output(duration: Optional[pulumi.Input[str]] = None,
                         end: Optional[pulumi.Input[int]] = None,
                         evpn_unused: Optional[pulumi.Input[str]] = None,
                         evpntopo_id: Optional[pulumi.Input[str]] = None,
                         mac: Optional[pulumi.Input[str]] = None,
                         org_id: Optional[pulumi.Input[str]] = None,
                         site_id: Optional[pulumi.Input[str]] = None,
                         start: Optional[pulumi.Input[int]] = None,
                         status: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetSwitchStatsResult]
    func GetSwitchStats(ctx *Context, args *GetSwitchStatsArgs, opts ...InvokeOption) (*GetSwitchStatsResult, error)
    func GetSwitchStatsOutput(ctx *Context, args *GetSwitchStatsOutputArgs, opts ...InvokeOption) GetSwitchStatsResultOutput

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

    public static class GetSwitchStats 
    {
        public static Task<GetSwitchStatsResult> InvokeAsync(GetSwitchStatsArgs args, InvokeOptions? opts = null)
        public static Output<GetSwitchStatsResult> Invoke(GetSwitchStatsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSwitchStatsResult> getSwitchStats(GetSwitchStatsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: junipermist:device/getSwitchStats:getSwitchStats
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OrgId string
    Duration string
    duration like 7d, 2w
    End int
    end datetime, can be epoch or relative time like -1d, -2h; now if not specified
    EvpnUnused string
    if evpn_unused==true, find EVPN eligible switches which don’t belong to any EVPN Topology yet
    EvpntopoId string
    EVPN Topology ID
    Mac string
    SiteId string
    Start int
    start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified
    Status string
    OrgId string
    Duration string
    duration like 7d, 2w
    End int
    end datetime, can be epoch or relative time like -1d, -2h; now if not specified
    EvpnUnused string
    if evpn_unused==true, find EVPN eligible switches which don’t belong to any EVPN Topology yet
    EvpntopoId string
    EVPN Topology ID
    Mac string
    SiteId string
    Start int
    start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified
    Status string
    orgId String
    duration String
    duration like 7d, 2w
    end Integer
    end datetime, can be epoch or relative time like -1d, -2h; now if not specified
    evpnUnused String
    if evpn_unused==true, find EVPN eligible switches which don’t belong to any EVPN Topology yet
    evpntopoId String
    EVPN Topology ID
    mac String
    siteId String
    start Integer
    start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified
    status String
    orgId string
    duration string
    duration like 7d, 2w
    end number
    end datetime, can be epoch or relative time like -1d, -2h; now if not specified
    evpnUnused string
    if evpn_unused==true, find EVPN eligible switches which don’t belong to any EVPN Topology yet
    evpntopoId string
    EVPN Topology ID
    mac string
    siteId string
    start number
    start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified
    status string
    org_id str
    duration str
    duration like 7d, 2w
    end int
    end datetime, can be epoch or relative time like -1d, -2h; now if not specified
    evpn_unused str
    if evpn_unused==true, find EVPN eligible switches which don’t belong to any EVPN Topology yet
    evpntopo_id str
    EVPN Topology ID
    mac str
    site_id str
    start int
    start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified
    status str
    orgId String
    duration String
    duration like 7d, 2w
    end Number
    end datetime, can be epoch or relative time like -1d, -2h; now if not specified
    evpnUnused String
    if evpn_unused==true, find EVPN eligible switches which don’t belong to any EVPN Topology yet
    evpntopoId String
    EVPN Topology ID
    mac String
    siteId String
    start Number
    start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified
    status String

    getSwitchStats Result

    The following output properties are available:

    DeviceSwitchStats List<Pulumi.JuniperMist.Device.Outputs.GetSwitchStatsDeviceSwitchStat>
    Id string
    The provider-assigned unique ID for this managed resource.
    OrgId string
    Duration string
    duration like 7d, 2w
    End int
    end datetime, can be epoch or relative time like -1d, -2h; now if not specified
    EvpnUnused string
    if evpn_unused==true, find EVPN eligible switches which don’t belong to any EVPN Topology yet
    EvpntopoId string
    EVPN Topology ID
    Mac string
    SiteId string
    Start int
    start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified
    Status string
    DeviceSwitchStats []GetSwitchStatsDeviceSwitchStat
    Id string
    The provider-assigned unique ID for this managed resource.
    OrgId string
    Duration string
    duration like 7d, 2w
    End int
    end datetime, can be epoch or relative time like -1d, -2h; now if not specified
    EvpnUnused string
    if evpn_unused==true, find EVPN eligible switches which don’t belong to any EVPN Topology yet
    EvpntopoId string
    EVPN Topology ID
    Mac string
    SiteId string
    Start int
    start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified
    Status string
    deviceSwitchStats List<GetSwitchStatsDeviceSwitchStat>
    id String
    The provider-assigned unique ID for this managed resource.
    orgId String
    duration String
    duration like 7d, 2w
    end Integer
    end datetime, can be epoch or relative time like -1d, -2h; now if not specified
    evpnUnused String
    if evpn_unused==true, find EVPN eligible switches which don’t belong to any EVPN Topology yet
    evpntopoId String
    EVPN Topology ID
    mac String
    siteId String
    start Integer
    start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified
    status String
    deviceSwitchStats GetSwitchStatsDeviceSwitchStat[]
    id string
    The provider-assigned unique ID for this managed resource.
    orgId string
    duration string
    duration like 7d, 2w
    end number
    end datetime, can be epoch or relative time like -1d, -2h; now if not specified
    evpnUnused string
    if evpn_unused==true, find EVPN eligible switches which don’t belong to any EVPN Topology yet
    evpntopoId string
    EVPN Topology ID
    mac string
    siteId string
    start number
    start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified
    status string
    device_switch_stats Sequence[GetSwitchStatsDeviceSwitchStat]
    id str
    The provider-assigned unique ID for this managed resource.
    org_id str
    duration str
    duration like 7d, 2w
    end int
    end datetime, can be epoch or relative time like -1d, -2h; now if not specified
    evpn_unused str
    if evpn_unused==true, find EVPN eligible switches which don’t belong to any EVPN Topology yet
    evpntopo_id str
    EVPN Topology ID
    mac str
    site_id str
    start int
    start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified
    status str
    deviceSwitchStats List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.
    orgId String
    duration String
    duration like 7d, 2w
    end Number
    end datetime, can be epoch or relative time like -1d, -2h; now if not specified
    evpnUnused String
    if evpn_unused==true, find EVPN eligible switches which don’t belong to any EVPN Topology yet
    evpntopoId String
    EVPN Topology ID
    mac String
    siteId String
    start Number
    start datetime, can be epoch or relative time like -1d, -1w; -1d if not specified
    status String

    Supporting Types

    GetSwitchStatsDeviceSwitchStat

    ApRedundancy Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatApRedundancy
    ArpTableStats Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatArpTableStats
    CertExpiry int
    Clients List<Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatClient>
    ClientsStats Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatClientsStats
    ConfigStatus string
    CpuStat Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatCpuStat
    CreatedTime int
    DeviceprofileId string
    DhcpdStat Dictionary<string, Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatDhcpdStat>
    Property key is the network name
    EvpntopoId string
    FwVersionsOutofsync bool
    Fwupdate Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatFwupdate
    HasPcap bool
    whether the switch supports packet capture
    Hostname string
    hostname reported by the device
    HwRev string
    device hardware revision number
    Id string
    IfStat Dictionary<string, Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatIfStat>
    Property key is the interface name
    Ip string
    IpStat Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatIpStat
    LastSeen double
    LastTrouble Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatLastTrouble
    last trouble code of switch
    Mac string
    MacTableStats Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatMacTableStats
    MapId string
    MemoryStat Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatMemoryStat
    memory usage stat (for virtual chassis, memory usage of master RE)
    Model string
    ModifiedTime int
    ModuleStats List<Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatModuleStat>
    Name string
    device name if configured
    OrgId string
    RouteSummaryStats Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatRouteSummaryStats
    Serial string
    ServiceStat Dictionary<string, Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatServiceStat>
    SiteId string
    Status string
    Uptime double
    VcMac string
    VcSetupInfo Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatVcSetupInfo
    Version string
    ApRedundancy GetSwitchStatsDeviceSwitchStatApRedundancy
    ArpTableStats GetSwitchStatsDeviceSwitchStatArpTableStats
    CertExpiry int
    Clients []GetSwitchStatsDeviceSwitchStatClient
    ClientsStats GetSwitchStatsDeviceSwitchStatClientsStats
    ConfigStatus string
    CpuStat GetSwitchStatsDeviceSwitchStatCpuStat
    CreatedTime int
    DeviceprofileId string
    DhcpdStat map[string]GetSwitchStatsDeviceSwitchStatDhcpdStat
    Property key is the network name
    EvpntopoId string
    FwVersionsOutofsync bool
    Fwupdate GetSwitchStatsDeviceSwitchStatFwupdate
    HasPcap bool
    whether the switch supports packet capture
    Hostname string
    hostname reported by the device
    HwRev string
    device hardware revision number
    Id string
    IfStat map[string]GetSwitchStatsDeviceSwitchStatIfStat
    Property key is the interface name
    Ip string
    IpStat GetSwitchStatsDeviceSwitchStatIpStat
    LastSeen float64
    LastTrouble GetSwitchStatsDeviceSwitchStatLastTrouble
    last trouble code of switch
    Mac string
    MacTableStats GetSwitchStatsDeviceSwitchStatMacTableStats
    MapId string
    MemoryStat GetSwitchStatsDeviceSwitchStatMemoryStat
    memory usage stat (for virtual chassis, memory usage of master RE)
    Model string
    ModifiedTime int
    ModuleStats []GetSwitchStatsDeviceSwitchStatModuleStat
    Name string
    device name if configured
    OrgId string
    RouteSummaryStats GetSwitchStatsDeviceSwitchStatRouteSummaryStats
    Serial string
    ServiceStat map[string]GetSwitchStatsDeviceSwitchStatServiceStat
    SiteId string
    Status string
    Uptime float64
    VcMac string
    VcSetupInfo GetSwitchStatsDeviceSwitchStatVcSetupInfo
    Version string
    apRedundancy GetSwitchStatsDeviceSwitchStatApRedundancy
    arpTableStats GetSwitchStatsDeviceSwitchStatArpTableStats
    certExpiry Integer
    clients List<GetSwitchStatsDeviceSwitchStatClient>
    clientsStats GetSwitchStatsDeviceSwitchStatClientsStats
    configStatus String
    cpuStat GetSwitchStatsDeviceSwitchStatCpuStat
    createdTime Integer
    deviceprofileId String
    dhcpdStat Map<String,GetSwitchStatsDeviceSwitchStatDhcpdStat>
    Property key is the network name
    evpntopoId String
    fwVersionsOutofsync Boolean
    fwupdate GetSwitchStatsDeviceSwitchStatFwupdate
    hasPcap Boolean
    whether the switch supports packet capture
    hostname String
    hostname reported by the device
    hwRev String
    device hardware revision number
    id String
    ifStat Map<String,GetSwitchStatsDeviceSwitchStatIfStat>
    Property key is the interface name
    ip String
    ipStat GetSwitchStatsDeviceSwitchStatIpStat
    lastSeen Double
    lastTrouble GetSwitchStatsDeviceSwitchStatLastTrouble
    last trouble code of switch
    mac String
    macTableStats GetSwitchStatsDeviceSwitchStatMacTableStats
    mapId String
    memoryStat GetSwitchStatsDeviceSwitchStatMemoryStat
    memory usage stat (for virtual chassis, memory usage of master RE)
    model String
    modifiedTime Integer
    moduleStats List<GetSwitchStatsDeviceSwitchStatModuleStat>
    name String
    device name if configured
    orgId String
    routeSummaryStats GetSwitchStatsDeviceSwitchStatRouteSummaryStats
    serial String
    serviceStat Map<String,GetSwitchStatsDeviceSwitchStatServiceStat>
    siteId String
    status String
    uptime Double
    vcMac String
    vcSetupInfo GetSwitchStatsDeviceSwitchStatVcSetupInfo
    version String
    apRedundancy GetSwitchStatsDeviceSwitchStatApRedundancy
    arpTableStats GetSwitchStatsDeviceSwitchStatArpTableStats
    certExpiry number
    clients GetSwitchStatsDeviceSwitchStatClient[]
    clientsStats GetSwitchStatsDeviceSwitchStatClientsStats
    configStatus string
    cpuStat GetSwitchStatsDeviceSwitchStatCpuStat
    createdTime number
    deviceprofileId string
    dhcpdStat {[key: string]: GetSwitchStatsDeviceSwitchStatDhcpdStat}
    Property key is the network name
    evpntopoId string
    fwVersionsOutofsync boolean
    fwupdate GetSwitchStatsDeviceSwitchStatFwupdate
    hasPcap boolean
    whether the switch supports packet capture
    hostname string
    hostname reported by the device
    hwRev string
    device hardware revision number
    id string
    ifStat {[key: string]: GetSwitchStatsDeviceSwitchStatIfStat}
    Property key is the interface name
    ip string
    ipStat GetSwitchStatsDeviceSwitchStatIpStat
    lastSeen number
    lastTrouble GetSwitchStatsDeviceSwitchStatLastTrouble
    last trouble code of switch
    mac string
    macTableStats GetSwitchStatsDeviceSwitchStatMacTableStats
    mapId string
    memoryStat GetSwitchStatsDeviceSwitchStatMemoryStat
    memory usage stat (for virtual chassis, memory usage of master RE)
    model string
    modifiedTime number
    moduleStats GetSwitchStatsDeviceSwitchStatModuleStat[]
    name string
    device name if configured
    orgId string
    routeSummaryStats GetSwitchStatsDeviceSwitchStatRouteSummaryStats
    serial string
    serviceStat {[key: string]: GetSwitchStatsDeviceSwitchStatServiceStat}
    siteId string
    status string
    uptime number
    vcMac string
    vcSetupInfo GetSwitchStatsDeviceSwitchStatVcSetupInfo
    version string
    ap_redundancy GetSwitchStatsDeviceSwitchStatApRedundancy
    arp_table_stats GetSwitchStatsDeviceSwitchStatArpTableStats
    cert_expiry int
    clients Sequence[GetSwitchStatsDeviceSwitchStatClient]
    clients_stats GetSwitchStatsDeviceSwitchStatClientsStats
    config_status str
    cpu_stat GetSwitchStatsDeviceSwitchStatCpuStat
    created_time int
    deviceprofile_id str
    dhcpd_stat Mapping[str, GetSwitchStatsDeviceSwitchStatDhcpdStat]
    Property key is the network name
    evpntopo_id str
    fw_versions_outofsync bool
    fwupdate GetSwitchStatsDeviceSwitchStatFwupdate
    has_pcap bool
    whether the switch supports packet capture
    hostname str
    hostname reported by the device
    hw_rev str
    device hardware revision number
    id str
    if_stat Mapping[str, GetSwitchStatsDeviceSwitchStatIfStat]
    Property key is the interface name
    ip str
    ip_stat GetSwitchStatsDeviceSwitchStatIpStat
    last_seen float
    last_trouble GetSwitchStatsDeviceSwitchStatLastTrouble
    last trouble code of switch
    mac str
    mac_table_stats GetSwitchStatsDeviceSwitchStatMacTableStats
    map_id str
    memory_stat GetSwitchStatsDeviceSwitchStatMemoryStat
    memory usage stat (for virtual chassis, memory usage of master RE)
    model str
    modified_time int
    module_stats Sequence[GetSwitchStatsDeviceSwitchStatModuleStat]
    name str
    device name if configured
    org_id str
    route_summary_stats GetSwitchStatsDeviceSwitchStatRouteSummaryStats
    serial str
    service_stat Mapping[str, GetSwitchStatsDeviceSwitchStatServiceStat]
    site_id str
    status str
    uptime float
    vc_mac str
    vc_setup_info GetSwitchStatsDeviceSwitchStatVcSetupInfo
    version str
    apRedundancy Property Map
    arpTableStats Property Map
    certExpiry Number
    clients List<Property Map>
    clientsStats Property Map
    configStatus String
    cpuStat Property Map
    createdTime Number
    deviceprofileId String
    dhcpdStat Map<Property Map>
    Property key is the network name
    evpntopoId String
    fwVersionsOutofsync Boolean
    fwupdate Property Map
    hasPcap Boolean
    whether the switch supports packet capture
    hostname String
    hostname reported by the device
    hwRev String
    device hardware revision number
    id String
    ifStat Map<Property Map>
    Property key is the interface name
    ip String
    ipStat Property Map
    lastSeen Number
    lastTrouble Property Map
    last trouble code of switch
    mac String
    macTableStats Property Map
    mapId String
    memoryStat Property Map
    memory usage stat (for virtual chassis, memory usage of master RE)
    model String
    modifiedTime Number
    moduleStats List<Property Map>
    name String
    device name if configured
    orgId String
    routeSummaryStats Property Map
    serial String
    serviceStat Map<Property Map>
    siteId String
    status String
    uptime Number
    vcMac String
    vcSetupInfo Property Map
    version String

    GetSwitchStatsDeviceSwitchStatApRedundancy

    Modules Dictionary<string, Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatApRedundancyModules>
    for a VC / stacked switches.
    NumAps int
    NumApsWithSwitchRedundancy int
    Modules map[string]GetSwitchStatsDeviceSwitchStatApRedundancyModules
    for a VC / stacked switches.
    NumAps int
    NumApsWithSwitchRedundancy int
    modules Map<String,GetSwitchStatsDeviceSwitchStatApRedundancyModules>
    for a VC / stacked switches.
    numAps Integer
    numApsWithSwitchRedundancy Integer
    modules {[key: string]: GetSwitchStatsDeviceSwitchStatApRedundancyModules}
    for a VC / stacked switches.
    numAps number
    numApsWithSwitchRedundancy number
    modules Mapping[str, GetSwitchStatsDeviceSwitchStatApRedundancyModules]
    for a VC / stacked switches.
    num_aps int
    num_aps_with_switch_redundancy int
    modules Map<Property Map>
    for a VC / stacked switches.
    numAps Number
    numApsWithSwitchRedundancy Number

    GetSwitchStatsDeviceSwitchStatApRedundancyModules

    GetSwitchStatsDeviceSwitchStatArpTableStats

    GetSwitchStatsDeviceSwitchStatClient

    DeviceMac string
    Hostname string
    Mac string
    PortId string
    DeviceMac string
    Hostname string
    Mac string
    PortId string
    deviceMac String
    hostname String
    mac String
    portId String
    deviceMac string
    hostname string
    mac string
    portId string
    deviceMac String
    hostname String
    mac String
    portId String

    GetSwitchStatsDeviceSwitchStatClientsStats

    GetSwitchStatsDeviceSwitchStatClientsStatsTotal

    NumAps List<int>
    NumWiredClients int
    numAps List<Integer>
    numWiredClients Integer
    numAps number[]
    numWiredClients number
    num_aps Sequence[int]
    num_wired_clients int
    numAps List<Number>
    numWiredClients Number

    GetSwitchStatsDeviceSwitchStatCpuStat

    Idle double
    Percentage of CPU time that is idle
    Interrupt double
    Percentage of CPU time being used by interrupts
    LoadAvgs List<double>
    Load averages for the last 1, 5, and 15 minutes
    System double
    Percentage of CPU time being used by system processes
    User double
    Percentage of CPU time being used by user processe
    Idle float64
    Percentage of CPU time that is idle
    Interrupt float64
    Percentage of CPU time being used by interrupts
    LoadAvgs []float64
    Load averages for the last 1, 5, and 15 minutes
    System float64
    Percentage of CPU time being used by system processes
    User float64
    Percentage of CPU time being used by user processe
    idle Double
    Percentage of CPU time that is idle
    interrupt Double
    Percentage of CPU time being used by interrupts
    loadAvgs List<Double>
    Load averages for the last 1, 5, and 15 minutes
    system Double
    Percentage of CPU time being used by system processes
    user Double
    Percentage of CPU time being used by user processe
    idle number
    Percentage of CPU time that is idle
    interrupt number
    Percentage of CPU time being used by interrupts
    loadAvgs number[]
    Load averages for the last 1, 5, and 15 minutes
    system number
    Percentage of CPU time being used by system processes
    user number
    Percentage of CPU time being used by user processe
    idle float
    Percentage of CPU time that is idle
    interrupt float
    Percentage of CPU time being used by interrupts
    load_avgs Sequence[float]
    Load averages for the last 1, 5, and 15 minutes
    system float
    Percentage of CPU time being used by system processes
    user float
    Percentage of CPU time being used by user processe
    idle Number
    Percentage of CPU time that is idle
    interrupt Number
    Percentage of CPU time being used by interrupts
    loadAvgs List<Number>
    Load averages for the last 1, 5, and 15 minutes
    system Number
    Percentage of CPU time being used by system processes
    user Number
    Percentage of CPU time being used by user processe

    GetSwitchStatsDeviceSwitchStatDhcpdStat

    numIps Integer
    numLeased Integer
    numIps number
    numLeased number
    numIps Number
    numLeased Number

    GetSwitchStatsDeviceSwitchStatFwupdate

    Progress int
    Status string
    StatusId int
    Timestamp double
    WillRetry bool
    Progress int
    Status string
    StatusId int
    Timestamp float64
    WillRetry bool
    progress Integer
    status String
    statusId Integer
    timestamp Double
    willRetry Boolean
    progress number
    status string
    statusId number
    timestamp number
    willRetry boolean
    progress Number
    status String
    statusId Number
    timestamp Number
    willRetry Boolean

    GetSwitchStatsDeviceSwitchStatIfStat

    addressMode String
    ips List<String>
    natAddresses List<String>
    networkName String
    portId String
    portUsage String
    redundancyState String
    rxBytes Integer
    rxPkts Integer
    servpInfo GetSwitchStatsDeviceSwitchStatIfStatServpInfo
    txBytes Integer
    txPkts Integer
    up Boolean
    vlan Integer
    wanName String
    wanType String
    addressMode String
    ips List<String>
    natAddresses List<String>
    networkName String
    portId String
    portUsage String
    redundancyState String
    rxBytes Number
    rxPkts Number
    servpInfo Property Map
    txBytes Number
    txPkts Number
    up Boolean
    vlan Number
    wanName String
    wanType String

    GetSwitchStatsDeviceSwitchStatIfStatServpInfo

    Asn string
    City string
    CountryCode string
    Latitude double
    Longitude double
    Org string
    RegionCode string
    Asn string
    City string
    CountryCode string
    Latitude float64
    Longitude float64
    Org string
    RegionCode string
    asn String
    city String
    countryCode String
    latitude Double
    longitude Double
    org String
    regionCode String
    asn string
    city string
    countryCode string
    latitude number
    longitude number
    org string
    regionCode string
    asn String
    city String
    countryCode String
    latitude Number
    longitude Number
    org String
    regionCode String

    GetSwitchStatsDeviceSwitchStatIpStat

    DhcpServer string
    Dns List<string>
    DnsSuffixes List<string>
    Gateway string
    Gateway6 string
    Ip string
    Ip6 string
    Ips Dictionary<string, string>
    Netmask string
    Netmask6 string
    DhcpServer string
    Dns []string
    DnsSuffixes []string
    Gateway string
    Gateway6 string
    Ip string
    Ip6 string
    Ips map[string]string
    Netmask string
    Netmask6 string
    dhcpServer String
    dns List<String>
    dnsSuffixes List<String>
    gateway String
    gateway6 String
    ip String
    ip6 String
    ips Map<String,String>
    netmask String
    netmask6 String
    dhcpServer string
    dns string[]
    dnsSuffixes string[]
    gateway string
    gateway6 string
    ip string
    ip6 string
    ips {[key: string]: string}
    netmask string
    netmask6 string
    dhcp_server str
    dns Sequence[str]
    dns_suffixes Sequence[str]
    gateway str
    gateway6 str
    ip str
    ip6 str
    ips Mapping[str, str]
    netmask str
    netmask6 str
    dhcpServer String
    dns List<String>
    dnsSuffixes List<String>
    gateway String
    gateway6 String
    ip String
    ip6 String
    ips Map<String>
    netmask String
    netmask6 String

    GetSwitchStatsDeviceSwitchStatLastTrouble

    Code string
    Code definitions list at /api/v1/consts/apledstatus
    Timestamp int
    Code string
    Code definitions list at /api/v1/consts/apledstatus
    Timestamp int
    code String
    Code definitions list at /api/v1/consts/apledstatus
    timestamp Integer
    code string
    Code definitions list at /api/v1/consts/apledstatus
    timestamp number
    code str
    Code definitions list at /api/v1/consts/apledstatus
    timestamp int
    code String
    Code definitions list at /api/v1/consts/apledstatus
    timestamp Number

    GetSwitchStatsDeviceSwitchStatMacTableStats

    GetSwitchStatsDeviceSwitchStatMemoryStat

    Usage double
    Usage float64
    usage Double
    usage number
    usage float
    usage Number

    GetSwitchStatsDeviceSwitchStatModuleStat

    BackupVersion string
    BiosVersion string
    CpldVersion string
    Errors List<Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatModuleStatError>
    used to report all error states the device node is running into. An error should always have type and since fields, and could have some other fields specific to that type.
    Fans List<Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatModuleStatFan>
    FpcIdx int
    FpgaVersion string
    LastSeen double
    Model string
    OpticsCpldVersion string
    PendingVersion string
    Pics List<Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatModuleStatPic>
    Poe Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatModuleStatPoe
    PoeVersion string
    PowerCpldVersion string
    Psuses List<Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatModuleStatPsus>
    ReFpgaVersion string
    RecoveryVersion string
    Serial string
    Status string
    Temperatures List<Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatModuleStatTemperature>
    TmcFpgaVersion string
    UbootVersion string
    Uptime int
    VcLinks List<Pulumi.JuniperMist.Device.Inputs.GetSwitchStatsDeviceSwitchStatModuleStatVcLink>
    VcMode string
    VcRole string
    master / backup / linecard
    VcState string
    Version string
    BackupVersion string
    BiosVersion string
    CpldVersion string
    Errors []GetSwitchStatsDeviceSwitchStatModuleStatError
    used to report all error states the device node is running into. An error should always have type and since fields, and could have some other fields specific to that type.
    Fans []GetSwitchStatsDeviceSwitchStatModuleStatFan
    FpcIdx int
    FpgaVersion string
    LastSeen float64
    Model string
    OpticsCpldVersion string
    PendingVersion string
    Pics []GetSwitchStatsDeviceSwitchStatModuleStatPic
    Poe GetSwitchStatsDeviceSwitchStatModuleStatPoe
    PoeVersion string
    PowerCpldVersion string
    Psuses []GetSwitchStatsDeviceSwitchStatModuleStatPsus
    ReFpgaVersion string
    RecoveryVersion string
    Serial string
    Status string
    Temperatures []GetSwitchStatsDeviceSwitchStatModuleStatTemperature
    TmcFpgaVersion string
    UbootVersion string
    Uptime int
    VcLinks []GetSwitchStatsDeviceSwitchStatModuleStatVcLink
    VcMode string
    VcRole string
    master / backup / linecard
    VcState string
    Version string
    backupVersion String
    biosVersion String
    cpldVersion String
    errors List<GetSwitchStatsDeviceSwitchStatModuleStatError>
    used to report all error states the device node is running into. An error should always have type and since fields, and could have some other fields specific to that type.
    fans List<GetSwitchStatsDeviceSwitchStatModuleStatFan>
    fpcIdx Integer
    fpgaVersion String
    lastSeen Double
    model String
    opticsCpldVersion String
    pendingVersion String
    pics List<GetSwitchStatsDeviceSwitchStatModuleStatPic>
    poe GetSwitchStatsDeviceSwitchStatModuleStatPoe
    poeVersion String
    powerCpldVersion String
    psuses List<GetSwitchStatsDeviceSwitchStatModuleStatPsus>
    reFpgaVersion String
    recoveryVersion String
    serial String
    status String
    temperatures List<GetSwitchStatsDeviceSwitchStatModuleStatTemperature>
    tmcFpgaVersion String
    ubootVersion String
    uptime Integer
    vcLinks List<GetSwitchStatsDeviceSwitchStatModuleStatVcLink>
    vcMode String
    vcRole String
    master / backup / linecard
    vcState String
    version String
    backupVersion string
    biosVersion string
    cpldVersion string
    errors GetSwitchStatsDeviceSwitchStatModuleStatError[]
    used to report all error states the device node is running into. An error should always have type and since fields, and could have some other fields specific to that type.
    fans GetSwitchStatsDeviceSwitchStatModuleStatFan[]
    fpcIdx number
    fpgaVersion string
    lastSeen number
    model string
    opticsCpldVersion string
    pendingVersion string
    pics GetSwitchStatsDeviceSwitchStatModuleStatPic[]
    poe GetSwitchStatsDeviceSwitchStatModuleStatPoe
    poeVersion string
    powerCpldVersion string
    psuses GetSwitchStatsDeviceSwitchStatModuleStatPsus[]
    reFpgaVersion string
    recoveryVersion string
    serial string
    status string
    temperatures GetSwitchStatsDeviceSwitchStatModuleStatTemperature[]
    tmcFpgaVersion string
    ubootVersion string
    uptime number
    vcLinks GetSwitchStatsDeviceSwitchStatModuleStatVcLink[]
    vcMode string
    vcRole string
    master / backup / linecard
    vcState string
    version string
    backup_version str
    bios_version str
    cpld_version str
    errors Sequence[GetSwitchStatsDeviceSwitchStatModuleStatError]
    used to report all error states the device node is running into. An error should always have type and since fields, and could have some other fields specific to that type.
    fans Sequence[GetSwitchStatsDeviceSwitchStatModuleStatFan]
    fpc_idx int
    fpga_version str
    last_seen float
    model str
    optics_cpld_version str
    pending_version str
    pics Sequence[GetSwitchStatsDeviceSwitchStatModuleStatPic]
    poe GetSwitchStatsDeviceSwitchStatModuleStatPoe
    poe_version str
    power_cpld_version str
    psuses Sequence[GetSwitchStatsDeviceSwitchStatModuleStatPsus]
    re_fpga_version str
    recovery_version str
    serial str
    status str
    temperatures Sequence[GetSwitchStatsDeviceSwitchStatModuleStatTemperature]
    tmc_fpga_version str
    uboot_version str
    uptime int
    vc_links Sequence[GetSwitchStatsDeviceSwitchStatModuleStatVcLink]
    vc_mode str
    vc_role str
    master / backup / linecard
    vc_state str
    version str
    backupVersion String
    biosVersion String
    cpldVersion String
    errors List<Property Map>
    used to report all error states the device node is running into. An error should always have type and since fields, and could have some other fields specific to that type.
    fans List<Property Map>
    fpcIdx Number
    fpgaVersion String
    lastSeen Number
    model String
    opticsCpldVersion String
    pendingVersion String
    pics List<Property Map>
    poe Property Map
    poeVersion String
    powerCpldVersion String
    psuses List<Property Map>
    reFpgaVersion String
    recoveryVersion String
    serial String
    status String
    temperatures List<Property Map>
    tmcFpgaVersion String
    ubootVersion String
    uptime Number
    vcLinks List<Property Map>
    vcMode String
    vcRole String
    master / backup / linecard
    vcState String
    version String

    GetSwitchStatsDeviceSwitchStatModuleStatError

    Feature string
    MinimumVersion string
    Reason string
    Since int
    Type string
    Feature string
    MinimumVersion string
    Reason string
    Since int
    Type string
    feature String
    minimumVersion String
    reason String
    since Integer
    type String
    feature string
    minimumVersion string
    reason string
    since number
    type string
    feature String
    minimumVersion String
    reason String
    since Number
    type String

    GetSwitchStatsDeviceSwitchStatModuleStatFan

    Airflow string
    Name string
    Status string
    Airflow string
    Name string
    Status string
    airflow String
    name String
    status String
    airflow string
    name string
    status string
    airflow str
    name str
    status str
    airflow String
    name String
    status String

    GetSwitchStatsDeviceSwitchStatModuleStatPic

    GetSwitchStatsDeviceSwitchStatModuleStatPicPortGroup

    Count int
    Type string
    Count int
    Type string
    count Integer
    type String
    count number
    type string
    count int
    type str
    count Number
    type String

    GetSwitchStatsDeviceSwitchStatModuleStatPoe

    MaxPower double
    PowerDraw double
    MaxPower float64
    PowerDraw float64
    maxPower Double
    powerDraw Double
    maxPower number
    powerDraw number
    maxPower Number
    powerDraw Number

    GetSwitchStatsDeviceSwitchStatModuleStatPsus

    Name string
    Status string
    Name string
    Status string
    name String
    status String
    name string
    status string
    name str
    status str
    name String
    status String

    GetSwitchStatsDeviceSwitchStatModuleStatTemperature

    Celsius double
    Name string
    Status string
    Celsius float64
    Name string
    Status string
    celsius Double
    name String
    status String
    celsius number
    name string
    status string
    celsius float
    name str
    status str
    celsius Number
    name String
    status String

    GetSwitchStatsDeviceSwitchStatRouteSummaryStats

    GetSwitchStatsDeviceSwitchStatServiceStat

    GetSwitchStatsDeviceSwitchStatVcSetupInfo

    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.1.1 published on Monday, Nov 4, 2024 by Pulumi