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 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.
Pulumi Package. Iosxe. Outputs. Get Radius 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 string
- The path of the retrieved object.
- Device string
- A device name from the provider configuration.
- Attributes
[]Get
Radius 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 string
- The path of the retrieved object.
- Device string
- A device name from the provider configuration.
- attributes
List<Get
Radius Server Attribute> - Customize selected radius attributes
- dead
Criteria IntegerTime - The time during which no properly formed response must be received from the RADIUS server
- dead
Criteria 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
Get
Radius Server Attribute[] - Customize selected radius attributes
- dead
Criteria numberTime - The time during which no properly formed response must be received from the RADIUS server
- dead
Criteria 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[Get
Radius 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
- dead
Criteria NumberTime - The time during which no properly formed response must be received from the RADIUS server
- dead
Criteria 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
- Access
Request boolInclude - Include attribute
- Attribute31Parameters
List<Lbrlabs.
Pulumi Package. Iosxe. Inputs. Get Radius Server Attribute Attribute31Parameter> - Number string
- Send
Attributes List<string>
- Access
Request boolInclude - Include attribute
- Attribute31Parameters
[]Get
Radius Server Attribute Attribute31Parameter - Number string
- Send
Attributes []string
- access
Request BooleanInclude - Include attribute
- attribute31Parameters
List<Get
Radius Server Attribute Attribute31Parameter> - number String
- send
Attributes List<String>
- access
Request booleanInclude - Include attribute
- attribute31Parameters
Get
Radius Server Attribute Attribute31Parameter[] - number string
- send
Attributes string[]
- access_
request_ boolinclude - Include attribute
- attribute31_
parameters Sequence[GetRadius Server Attribute Attribute31Parameter] - number str
- send_
attributes Sequence[str]
- access
Request BooleanInclude - Include attribute
- attribute31Parameters List<Property Map>
- number String
- send
Attributes List<String>
GetRadiusServerAttributeAttribute31Parameter
- Calling
Station stringId - Id
Mac stringFormat - Id
Mac stringLu Case - Id
Send boolMac Only - Id
Send boolNas Port Detail
- Calling
Station stringId - Id
Mac stringFormat - Id
Mac stringLu Case - Id
Send boolMac Only - Id
Send boolNas Port Detail
- calling
Station StringId - id
Mac StringFormat - id
Mac StringLu Case - id
Send BooleanMac Only - id
Send BooleanNas Port Detail
- calling
Station stringId - id
Mac stringFormat - id
Mac stringLu Case - id
Send booleanMac Only - id
Send booleanNas Port Detail
- calling_
station_ strid - id_
mac_ strformat - id_
mac_ strlu_ case - id_
send_ boolmac_ only - id_
send_ boolnas_ port_ detail
- calling
Station StringId - id
Mac StringFormat - id
Mac StringLu Case - id
Send BooleanMac Only - id
Send BooleanNas Port Detail
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
iosxe
Terraform Provider.