Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getSystem
Explore with Pulumi AI
This data source can read the System configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;
return await Deployment.RunAsync(() => 
{
    var example = Iosxe.GetSystem.Invoke();
});
package main
import (
	"github.com/lbrlabs/pulumi-iosxe/sdk/go/iosxe"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := iosxe.LookupSystem(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.iosxe.IosxeFunctions;
import com.pulumi.iosxe.inputs.GetSystemArgs;
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 = IosxeFunctions.getSystem();
    }
}
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_system()
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getSystem({});
variables:
  example:
    fn::invoke:
      Function: iosxe:getSystem
      Arguments: {}
Using getSystem
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 getSystem(args: GetSystemArgs, opts?: InvokeOptions): Promise<GetSystemResult>
function getSystemOutput(args: GetSystemOutputArgs, opts?: InvokeOptions): Output<GetSystemResult>def get_system(device: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetSystemResult
def get_system_output(device: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetSystemResult]func LookupSystem(ctx *Context, args *LookupSystemArgs, opts ...InvokeOption) (*LookupSystemResult, error)
func LookupSystemOutput(ctx *Context, args *LookupSystemOutputArgs, opts ...InvokeOption) LookupSystemResultOutput> Note: This function is named LookupSystem in the Go SDK.
public static class GetSystem 
{
    public static Task<GetSystemResult> InvokeAsync(GetSystemArgs args, InvokeOptions? opts = null)
    public static Output<GetSystemResult> Invoke(GetSystemInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSystemResult> getSystem(GetSystemArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: iosxe:index/getSystem:getSystem
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Device string
- A device name from the provider configuration.
- Device string
- A device name from the provider configuration.
- device String
- A device name from the provider configuration.
- device string
- A device name from the provider configuration.
- device str
- A device name from the provider configuration.
- device String
- A device name from the provider configuration.
getSystem Result
The following output properties are available:
- Hostname string
- Set system's network name
- Id string
- The path of the retrieved object.
- IpDomain boolLookup 
- Enable IP Domain Name System hostname translation
- IpDomain stringName 
- Define the default domain name
- IpMulticast boolRouting 
- Enable IP multicast forwarding
- IpMulticast boolRouting Distributed 
- Distributed multicast switching
- IpRouting bool
- Enable or disable IP routing
- IpSource boolRoute 
- Process packets with source routing header options
- Ipv6UnicastRouting bool
- Enable unicast routing
- LoginDelay int
- Set delay between successive fail login
- LoginOn boolFailure 
- Set options for failed login attempt
- LoginOn boolFailure Log 
- Generate syslogs on failure logins
- LoginOn boolSuccess 
- Set options for successful login attempt
- LoginOn boolSuccess Log 
- Generate syslogs on successful logins
- Mtu int
- MulticastRouting boolSwitch 
- Enable IP multicast forwarding, some XE devices use this option instead of multicast_routing.
- MulticastRouting List<Lbrlabs.Vrfs Pulumi Package. Iosxe. Outputs. Get System Multicast Routing Vrf> 
- Select VPN Routing/Forwarding instance
- Device string
- A device name from the provider configuration.
- Hostname string
- Set system's network name
- Id string
- The path of the retrieved object.
- IpDomain boolLookup 
- Enable IP Domain Name System hostname translation
- IpDomain stringName 
- Define the default domain name
- IpMulticast boolRouting 
- Enable IP multicast forwarding
- IpMulticast boolRouting Distributed 
- Distributed multicast switching
- IpRouting bool
- Enable or disable IP routing
- IpSource boolRoute 
- Process packets with source routing header options
- Ipv6UnicastRouting bool
- Enable unicast routing
- LoginDelay int
- Set delay between successive fail login
- LoginOn boolFailure 
- Set options for failed login attempt
- LoginOn boolFailure Log 
- Generate syslogs on failure logins
- LoginOn boolSuccess 
- Set options for successful login attempt
- LoginOn boolSuccess Log 
- Generate syslogs on successful logins
- Mtu int
- MulticastRouting boolSwitch 
- Enable IP multicast forwarding, some XE devices use this option instead of multicast_routing.
- MulticastRouting []GetVrfs System Multicast Routing Vrf 
- Select VPN Routing/Forwarding instance
- Device string
- A device name from the provider configuration.
- hostname String
- Set system's network name
- id String
- The path of the retrieved object.
- ipDomain BooleanLookup 
- Enable IP Domain Name System hostname translation
- ipDomain StringName 
- Define the default domain name
- ipMulticast BooleanRouting 
- Enable IP multicast forwarding
- ipMulticast BooleanRouting Distributed 
- Distributed multicast switching
- ipRouting Boolean
- Enable or disable IP routing
- ipSource BooleanRoute 
- Process packets with source routing header options
- ipv6UnicastRouting Boolean
- Enable unicast routing
- loginDelay Integer
- Set delay between successive fail login
- loginOn BooleanFailure 
- Set options for failed login attempt
- loginOn BooleanFailure Log 
- Generate syslogs on failure logins
- loginOn BooleanSuccess 
- Set options for successful login attempt
- loginOn BooleanSuccess Log 
- Generate syslogs on successful logins
- mtu Integer
- multicastRouting BooleanSwitch 
- Enable IP multicast forwarding, some XE devices use this option instead of multicast_routing.
- multicastRouting List<GetVrfs System Multicast Routing Vrf> 
- Select VPN Routing/Forwarding instance
- device String
- A device name from the provider configuration.
- hostname string
- Set system's network name
- id string
- The path of the retrieved object.
- ipDomain booleanLookup 
- Enable IP Domain Name System hostname translation
- ipDomain stringName 
- Define the default domain name
- ipMulticast booleanRouting 
- Enable IP multicast forwarding
- ipMulticast booleanRouting Distributed 
- Distributed multicast switching
- ipRouting boolean
- Enable or disable IP routing
- ipSource booleanRoute 
- Process packets with source routing header options
- ipv6UnicastRouting boolean
- Enable unicast routing
- loginDelay number
- Set delay between successive fail login
- loginOn booleanFailure 
- Set options for failed login attempt
- loginOn booleanFailure Log 
- Generate syslogs on failure logins
- loginOn booleanSuccess 
- Set options for successful login attempt
- loginOn booleanSuccess Log 
- Generate syslogs on successful logins
- mtu number
- multicastRouting booleanSwitch 
- Enable IP multicast forwarding, some XE devices use this option instead of multicast_routing.
- multicastRouting GetVrfs System Multicast Routing Vrf[] 
- Select VPN Routing/Forwarding instance
- device string
- A device name from the provider configuration.
- hostname str
- Set system's network name
- id str
- The path of the retrieved object.
- ip_domain_ boollookup 
- Enable IP Domain Name System hostname translation
- ip_domain_ strname 
- Define the default domain name
- ip_multicast_ boolrouting 
- Enable IP multicast forwarding
- ip_multicast_ boolrouting_ distributed 
- Distributed multicast switching
- ip_routing bool
- Enable or disable IP routing
- ip_source_ boolroute 
- Process packets with source routing header options
- ipv6_unicast_ boolrouting 
- Enable unicast routing
- login_delay int
- Set delay between successive fail login
- login_on_ boolfailure 
- Set options for failed login attempt
- login_on_ boolfailure_ log 
- Generate syslogs on failure logins
- login_on_ boolsuccess 
- Set options for successful login attempt
- login_on_ boolsuccess_ log 
- Generate syslogs on successful logins
- mtu int
- multicast_routing_ boolswitch 
- Enable IP multicast forwarding, some XE devices use this option instead of multicast_routing.
- multicast_routing_ Sequence[Getvrfs System Multicast Routing Vrf] 
- Select VPN Routing/Forwarding instance
- device str
- A device name from the provider configuration.
- hostname String
- Set system's network name
- id String
- The path of the retrieved object.
- ipDomain BooleanLookup 
- Enable IP Domain Name System hostname translation
- ipDomain StringName 
- Define the default domain name
- ipMulticast BooleanRouting 
- Enable IP multicast forwarding
- ipMulticast BooleanRouting Distributed 
- Distributed multicast switching
- ipRouting Boolean
- Enable or disable IP routing
- ipSource BooleanRoute 
- Process packets with source routing header options
- ipv6UnicastRouting Boolean
- Enable unicast routing
- loginDelay Number
- Set delay between successive fail login
- loginOn BooleanFailure 
- Set options for failed login attempt
- loginOn BooleanFailure Log 
- Generate syslogs on failure logins
- loginOn BooleanSuccess 
- Set options for successful login attempt
- loginOn BooleanSuccess Log 
- Generate syslogs on successful logins
- mtu Number
- multicastRouting BooleanSwitch 
- Enable IP multicast forwarding, some XE devices use this option instead of multicast_routing.
- multicastRouting List<Property Map>Vrfs 
- Select VPN Routing/Forwarding instance
- device String
- A device name from the provider configuration.
Supporting Types
GetSystemMulticastRoutingVrf    
- Distributed bool
- Distributed multicast switching
- Vrf string
- Distributed bool
- Distributed multicast switching
- Vrf string
- distributed Boolean
- Distributed multicast switching
- vrf String
- distributed boolean
- Distributed multicast switching
- vrf string
- distributed bool
- Distributed multicast switching
- vrf str
- distributed Boolean
- Distributed multicast switching
- vrf String
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the iosxeTerraform Provider.