Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getRadiusServer
Explore with Pulumi AI
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 * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getRadiusServer({});
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_radius_server()
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)
public static Output<GetRadiusServerResult> getRadiusServer(GetRadiusServerArgs args, InvokeOptions options)
fn::invoke:
  function: iosxe:index/getRadiusServer:getRadiusServer
  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.
getRadiusServer Result
The following output properties are available:
- Attributes
List<Lbrlabs.Pulumi Package. Iosxe. Outputs. Get Radius Server Attribute> 
- Customize selected radius attributes
- DeadCriteria intTime 
- The time during which no properly formed response must be received from the RADIUS server
- DeadCriteria intTries 
- 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
[]GetRadius Server Attribute 
- Customize selected radius attributes
- DeadCriteria intTime 
- The time during which no properly formed response must be received from the RADIUS server
- DeadCriteria intTries 
- 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<GetRadius Server Attribute> 
- Customize selected radius attributes
- deadCriteria IntegerTime 
- The time during which no properly formed response must be received from the RADIUS server
- deadCriteria IntegerTries 
- 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
GetRadius Server Attribute[] 
- Customize selected radius attributes
- deadCriteria numberTime 
- The time during which no properly formed response must be received from the RADIUS server
- deadCriteria numberTries 
- 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[GetRadius Server Attribute] 
- Customize selected radius attributes
- dead_criteria_ inttime 
- The time during which no properly formed response must be received from the RADIUS server
- dead_criteria_ inttries 
- 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
- deadCriteria NumberTime 
- The time during which no properly formed response must be received from the RADIUS server
- deadCriteria NumberTries 
- 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   
- AccessRequest boolInclude 
- Include attribute
- Attribute31Parameters
List<Lbrlabs.Pulumi Package. Iosxe. Inputs. Get Radius Server Attribute Attribute31Parameter> 
- Number string
- SendAttributes List<string>
- AccessRequest boolInclude 
- Include attribute
- Attribute31Parameters
[]GetRadius Server Attribute Attribute31Parameter 
- Number string
- SendAttributes []string
- accessRequest BooleanInclude 
- Include attribute
- attribute31Parameters
List<GetRadius Server Attribute Attribute31Parameter> 
- number String
- sendAttributes List<String>
- accessRequest booleanInclude 
- Include attribute
- attribute31Parameters
GetRadius Server Attribute Attribute31Parameter[] 
- number string
- sendAttributes string[]
- access_request_ boolinclude 
- Include attribute
- attribute31_parameters Sequence[GetRadius Server Attribute Attribute31Parameter] 
- number str
- send_attributes Sequence[str]
- accessRequest BooleanInclude 
- Include attribute
- attribute31Parameters List<Property Map>
- number String
- sendAttributes List<String>
GetRadiusServerAttributeAttribute31Parameter    
- CallingStation stringId 
- IdMac stringFormat 
- IdMac stringLu Case 
- IdSend boolMac Only 
- IdSend boolNas Port Detail 
- CallingStation stringId 
- IdMac stringFormat 
- IdMac stringLu Case 
- IdSend boolMac Only 
- IdSend boolNas Port Detail 
- callingStation StringId 
- idMac StringFormat 
- idMac StringLu Case 
- idSend BooleanMac Only 
- idSend BooleanNas Port Detail 
- callingStation stringId 
- idMac stringFormat 
- idMac stringLu Case 
- idSend booleanMac Only 
- idSend booleanNas Port Detail 
- calling_station_ strid 
- id_mac_ strformat 
- id_mac_ strlu_ case 
- id_send_ boolmac_ only 
- id_send_ boolnas_ port_ detail 
- callingStation StringId 
- idMac StringFormat 
- idMac StringLu Case 
- idSend BooleanMac Only 
- idSend BooleanNas Port Detail 
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the iosxeTerraform Provider.