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 dictionary
The 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.
- Ip
Domain boolLookup - Enable IP Domain Name System hostname translation
- Ip
Domain stringName - 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
- Ipv6Unicast
Routing bool - 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 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.
- Ip
Domain boolLookup - Enable IP Domain Name System hostname translation
- Ip
Domain stringName - 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
- Ipv6Unicast
Routing bool - 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 []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.
- ip
Domain BooleanLookup - Enable IP Domain Name System hostname translation
- ip
Domain StringName - Define the default domain name
- ip
Multicast BooleanRouting - Enable IP multicast forwarding
- ip
Multicast BooleanRouting Distributed - Distributed multicast switching
- ip
Routing Boolean - Enable or disable IP routing
- ip
Source BooleanRoute - Process packets with source routing header options
- ipv6Unicast
Routing Boolean - Enable unicast routing
- login
Delay Integer - Set delay between successive fail login
- login
On BooleanFailure - Set options for failed login attempt
- login
On BooleanFailure Log - Generate syslogs on failure logins
- login
On BooleanSuccess - Set options for successful login attempt
- login
On BooleanSuccess Log - Generate syslogs on successful logins
- mtu Integer
- multicast
Routing BooleanSwitch - Enable IP multicast forwarding, some XE devices use this option instead of
multicast_routing
. - multicast
Routing 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.
- ip
Domain booleanLookup - Enable IP Domain Name System hostname translation
- ip
Domain stringName - Define the default domain name
- ip
Multicast booleanRouting - Enable IP multicast forwarding
- ip
Multicast booleanRouting Distributed - Distributed multicast switching
- ip
Routing boolean - Enable or disable IP routing
- ip
Source booleanRoute - Process packets with source routing header options
- ipv6Unicast
Routing boolean - Enable unicast routing
- login
Delay number - Set delay between successive fail login
- login
On booleanFailure - Set options for failed login attempt
- login
On booleanFailure Log - Generate syslogs on failure logins
- login
On booleanSuccess - Set options for successful login attempt
- login
On booleanSuccess Log - Generate syslogs on successful logins
- mtu number
- multicast
Routing booleanSwitch - Enable IP multicast forwarding, some XE devices use this option instead of
multicast_routing
. - multicast
Routing 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.
- ip
Domain BooleanLookup - Enable IP Domain Name System hostname translation
- ip
Domain StringName - Define the default domain name
- ip
Multicast BooleanRouting - Enable IP multicast forwarding
- ip
Multicast BooleanRouting Distributed - Distributed multicast switching
- ip
Routing Boolean - Enable or disable IP routing
- ip
Source BooleanRoute - Process packets with source routing header options
- ipv6Unicast
Routing Boolean - Enable unicast routing
- login
Delay Number - Set delay between successive fail login
- login
On BooleanFailure - Set options for failed login attempt
- login
On BooleanFailure Log - Generate syslogs on failure logins
- login
On BooleanSuccess - Set options for successful login attempt
- login
On BooleanSuccess Log - Generate syslogs on successful logins
- mtu Number
- multicast
Routing BooleanSwitch - Enable IP multicast forwarding, some XE devices use this option instead of
multicast_routing
. - multicast
Routing 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
iosxe
Terraform Provider.