1. Packages
  2. Cisco IOS XE Resource Provider
  3. API Docs
  4. getRadius
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

iosxe.getRadius

Explore with Pulumi AI

iosxe logo
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

    This data source can read the Radius configuration.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Iosxe = Pulumi.Iosxe;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Iosxe.GetRadius.Invoke(new()
        {
            Name = "radius_10.10.15.12",
        });
    
    });
    
    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.LookupRadius(ctx, &iosxe.LookupRadiusArgs{
    			Name: "radius_10.10.15.12",
    		}, 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.GetRadiusArgs;
    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.getRadius(GetRadiusArgs.builder()
                .name("radius_10.10.15.12")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_iosxe as iosxe
    
    example = iosxe.get_radius(name="radius_10.10.15.12")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as iosxe from "@pulumi/iosxe";
    
    const example = iosxe.getRadius({
        name: "radius_10.10.15.12",
    });
    
    variables:
      example:
        fn::invoke:
          Function: iosxe:getRadius
          Arguments:
            name: radius_10.10.15.12
    

    Using getRadius

    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 getRadius(args: GetRadiusArgs, opts?: InvokeOptions): Promise<GetRadiusResult>
    function getRadiusOutput(args: GetRadiusOutputArgs, opts?: InvokeOptions): Output<GetRadiusResult>
    def get_radius(device: Optional[str] = None,
                   name: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetRadiusResult
    def get_radius_output(device: Optional[pulumi.Input[str]] = None,
                   name: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetRadiusResult]
    func LookupRadius(ctx *Context, args *LookupRadiusArgs, opts ...InvokeOption) (*LookupRadiusResult, error)
    func LookupRadiusOutput(ctx *Context, args *LookupRadiusOutputArgs, opts ...InvokeOption) LookupRadiusResultOutput

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

    public static class GetRadius 
    {
        public static Task<GetRadiusResult> InvokeAsync(GetRadiusArgs args, InvokeOptions? opts = null)
        public static Output<GetRadiusResult> Invoke(GetRadiusInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRadiusResult> getRadius(GetRadiusArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: iosxe:index/getRadius:getRadius
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Name for the radius server configuration
    Device string
    A device name from the provider configuration.
    Name string
    Name for the radius server configuration
    Device string
    A device name from the provider configuration.
    name String
    Name for the radius server configuration
    device String
    A device name from the provider configuration.
    name string
    Name for the radius server configuration
    device string
    A device name from the provider configuration.
    name str
    Name for the radius server configuration
    device str
    A device name from the provider configuration.
    name String
    Name for the radius server configuration
    device String
    A device name from the provider configuration.

    getRadius Result

    The following output properties are available:

    AccountingPort int
    UDP port for RADIUS accounting server (default is 1813)
    AuthenticationPort int
    UDP port for RADIUS authentication server (default is 1812)
    AutomateTesterIgnoreAcctPort bool
    Do not test accounting ports of the servers.
    AutomateTesterProbeOnConfig bool
    Send a packet to verify the server status
    AutomateTesterUsername string
    Id string
    The path of the retrieved object.
    Ipv4Address string
    IPv4 address or Hostname for radius server
    Key string
    Name string
    Name for the radius server configuration
    PacKey string
    The UNENCRYPTED (cleartext) server key
    PacKeyEncryption string
    0 - Specifies an UNENCRYPTED key will follow 6 - Specifies an ENCRYPTED key will follow 7 - Specifies HIDDEN key will follow
    Retransmit int
    Number of retries to active server (overrides default)
    Timeout int
    Time to wait for a RADIUS server to reply (overrides default)
    Device string
    A device name from the provider configuration.
    AccountingPort int
    UDP port for RADIUS accounting server (default is 1813)
    AuthenticationPort int
    UDP port for RADIUS authentication server (default is 1812)
    AutomateTesterIgnoreAcctPort bool
    Do not test accounting ports of the servers.
    AutomateTesterProbeOnConfig bool
    Send a packet to verify the server status
    AutomateTesterUsername string
    Id string
    The path of the retrieved object.
    Ipv4Address string
    IPv4 address or Hostname for radius server
    Key string
    Name string
    Name for the radius server configuration
    PacKey string
    The UNENCRYPTED (cleartext) server key
    PacKeyEncryption string
    0 - Specifies an UNENCRYPTED key will follow 6 - Specifies an ENCRYPTED key will follow 7 - Specifies HIDDEN key will follow
    Retransmit int
    Number of retries to active server (overrides default)
    Timeout int
    Time to wait for a RADIUS server to reply (overrides default)
    Device string
    A device name from the provider configuration.
    accountingPort Integer
    UDP port for RADIUS accounting server (default is 1813)
    authenticationPort Integer
    UDP port for RADIUS authentication server (default is 1812)
    automateTesterIgnoreAcctPort Boolean
    Do not test accounting ports of the servers.
    automateTesterProbeOnConfig Boolean
    Send a packet to verify the server status
    automateTesterUsername String
    id String
    The path of the retrieved object.
    ipv4Address String
    IPv4 address or Hostname for radius server
    key String
    name String
    Name for the radius server configuration
    pacKey String
    The UNENCRYPTED (cleartext) server key
    pacKeyEncryption String
    0 - Specifies an UNENCRYPTED key will follow 6 - Specifies an ENCRYPTED key will follow 7 - Specifies HIDDEN key will follow
    retransmit Integer
    Number of retries to active server (overrides default)
    timeout Integer
    Time to wait for a RADIUS server to reply (overrides default)
    device String
    A device name from the provider configuration.
    accountingPort number
    UDP port for RADIUS accounting server (default is 1813)
    authenticationPort number
    UDP port for RADIUS authentication server (default is 1812)
    automateTesterIgnoreAcctPort boolean
    Do not test accounting ports of the servers.
    automateTesterProbeOnConfig boolean
    Send a packet to verify the server status
    automateTesterUsername string
    id string
    The path of the retrieved object.
    ipv4Address string
    IPv4 address or Hostname for radius server
    key string
    name string
    Name for the radius server configuration
    pacKey string
    The UNENCRYPTED (cleartext) server key
    pacKeyEncryption string
    0 - Specifies an UNENCRYPTED key will follow 6 - Specifies an ENCRYPTED key will follow 7 - Specifies HIDDEN key will follow
    retransmit number
    Number of retries to active server (overrides default)
    timeout number
    Time to wait for a RADIUS server to reply (overrides default)
    device string
    A device name from the provider configuration.
    accounting_port int
    UDP port for RADIUS accounting server (default is 1813)
    authentication_port int
    UDP port for RADIUS authentication server (default is 1812)
    automate_tester_ignore_acct_port bool
    Do not test accounting ports of the servers.
    automate_tester_probe_on_config bool
    Send a packet to verify the server status
    automate_tester_username str
    id str
    The path of the retrieved object.
    ipv4_address str
    IPv4 address or Hostname for radius server
    key str
    name str
    Name for the radius server configuration
    pac_key str
    The UNENCRYPTED (cleartext) server key
    pac_key_encryption str
    0 - Specifies an UNENCRYPTED key will follow 6 - Specifies an ENCRYPTED key will follow 7 - Specifies HIDDEN key will follow
    retransmit int
    Number of retries to active server (overrides default)
    timeout int
    Time to wait for a RADIUS server to reply (overrides default)
    device str
    A device name from the provider configuration.
    accountingPort Number
    UDP port for RADIUS accounting server (default is 1813)
    authenticationPort Number
    UDP port for RADIUS authentication server (default is 1812)
    automateTesterIgnoreAcctPort Boolean
    Do not test accounting ports of the servers.
    automateTesterProbeOnConfig Boolean
    Send a packet to verify the server status
    automateTesterUsername String
    id String
    The path of the retrieved object.
    ipv4Address String
    IPv4 address or Hostname for radius server
    key String
    name String
    Name for the radius server configuration
    pacKey String
    The UNENCRYPTED (cleartext) server key
    pacKeyEncryption String
    0 - Specifies an UNENCRYPTED key will follow 6 - Specifies an ENCRYPTED key will follow 7 - Specifies HIDDEN key will follow
    retransmit Number
    Number of retries to active server (overrides default)
    timeout Number
    Time to wait for a RADIUS server to reply (overrides default)
    device String
    A device name from the provider configuration.

    Package Details

    Repository
    iosxe lbrlabs/pulumi-iosxe
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the iosxe Terraform Provider.
    iosxe logo
    Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs