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

iosxe.getRadiusServer

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 Server configuration.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Iosxe = Pulumi.Iosxe;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Iosxe.GetRadiusServer.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.LookupRadiusServer(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.GetRadiusServerArgs;
    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.getRadiusServer();
    
        }
    }
    
    import pulumi
    import pulumi_iosxe as iosxe
    
    example = iosxe.get_radius_server()
    
    import * as pulumi from "@pulumi/pulumi";
    import * as iosxe from "@pulumi/iosxe";
    
    const example = iosxe.getRadiusServer({});
    
    variables:
      example:
        fn::invoke:
          Function: iosxe:getRadiusServer
          Arguments: {}
    

    Using getRadiusServer

    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 getRadiusServer(args: GetRadiusServerArgs, opts?: InvokeOptions): Promise<GetRadiusServerResult>
    function getRadiusServerOutput(args: GetRadiusServerOutputArgs, opts?: InvokeOptions): Output<GetRadiusServerResult>
    def get_radius_server(device: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetRadiusServerResult
    def get_radius_server_output(device: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetRadiusServerResult]
    func LookupRadiusServer(ctx *Context, args *LookupRadiusServerArgs, opts ...InvokeOption) (*LookupRadiusServerResult, error)
    func LookupRadiusServerOutput(ctx *Context, args *LookupRadiusServerOutputArgs, opts ...InvokeOption) LookupRadiusServerResultOutput

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

    public static class GetRadiusServer 
    {
        public static Task<GetRadiusServerResult> InvokeAsync(GetRadiusServerArgs args, InvokeOptions? opts = null)
        public static Output<GetRadiusServerResult> Invoke(GetRadiusServerInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRadiusServerResult> getRadiusServer(GetRadiusServerArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: iosxe:index/getRadiusServer:getRadiusServer
      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.

    getRadiusServer Result

    The following output properties are available:

    Attributes List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetRadiusServerAttribute>
    Customize selected radius attributes
    DeadCriteriaTime int
    The time during which no properly formed response must be received from the RADIUS server
    DeadCriteriaTries int
    The number of times the router must fail to receive a response from the radius server to mark it as dead
    Deadtime int
    Time to stop using a server that does not respond
    Id string
    The path of the retrieved object.
    Device string
    A device name from the provider configuration.
    Attributes []GetRadiusServerAttribute
    Customize selected radius attributes
    DeadCriteriaTime int
    The time during which no properly formed response must be received from the RADIUS server
    DeadCriteriaTries int
    The number of times the router must fail to receive a response from the radius server to mark it as dead
    Deadtime int
    Time to stop using a server that does not respond
    Id string
    The path of the retrieved object.
    Device string
    A device name from the provider configuration.
    attributes List<GetRadiusServerAttribute>
    Customize selected radius attributes
    deadCriteriaTime Integer
    The time during which no properly formed response must be received from the RADIUS server
    deadCriteriaTries Integer
    The number of times the router must fail to receive a response from the radius server to mark it as dead
    deadtime Integer
    Time to stop using a server that does not respond
    id String
    The path of the retrieved object.
    device String
    A device name from the provider configuration.
    attributes GetRadiusServerAttribute[]
    Customize selected radius attributes
    deadCriteriaTime number
    The time during which no properly formed response must be received from the RADIUS server
    deadCriteriaTries number
    The number of times the router must fail to receive a response from the radius server to mark it as dead
    deadtime number
    Time to stop using a server that does not respond
    id string
    The path of the retrieved object.
    device string
    A device name from the provider configuration.
    attributes Sequence[GetRadiusServerAttribute]
    Customize selected radius attributes
    dead_criteria_time int
    The time during which no properly formed response must be received from the RADIUS server
    dead_criteria_tries int
    The number of times the router must fail to receive a response from the radius server to mark it as dead
    deadtime int
    Time to stop using a server that does not respond
    id str
    The path of the retrieved object.
    device str
    A device name from the provider configuration.
    attributes List<Property Map>
    Customize selected radius attributes
    deadCriteriaTime Number
    The time during which no properly formed response must be received from the RADIUS server
    deadCriteriaTries Number
    The number of times the router must fail to receive a response from the radius server to mark it as dead
    deadtime Number
    Time to stop using a server that does not respond
    id String
    The path of the retrieved object.
    device String
    A device name from the provider configuration.

    Supporting Types

    GetRadiusServerAttribute

    GetRadiusServerAttributeAttribute31Parameter

    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