Viewing docs for Cisco IOS XE v0.0.1
published on Friday, Sep 22, 2023 by lbrlabs
published on Friday, Sep 22, 2023 by lbrlabs
Viewing docs for Cisco IOS XE v0.0.1
published on Friday, Sep 22, 2023 by lbrlabs
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 * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getRadius({
name: "radius_10.10.15.12",
});
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_radius(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)
public static Output<GetRadiusResult> getRadius(GetRadiusArgs args, InvokeOptions options)
fn::invoke:
function: iosxe:index/getRadius:getRadius
arguments:
# arguments dictionaryThe following arguments are supported:
getRadius Result
The following output properties are available:
- 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 boolIgnore Acct Port - Do not test accounting ports of the servers.
- Automate
Tester boolProbe On Config - Send a packet to verify the server status
- Automate
Tester stringUsername - 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
- Pac
Key string - The UNENCRYPTED (cleartext) server key
- Pac
Key stringEncryption - 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.
- 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 boolIgnore Acct Port - Do not test accounting ports of the servers.
- Automate
Tester boolProbe On Config - Send a packet to verify the server status
- Automate
Tester stringUsername - 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
- Pac
Key string - The UNENCRYPTED (cleartext) server key
- Pac
Key stringEncryption - 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.
- accounting
Port Integer - UDP port for RADIUS accounting server (default is 1813)
- authentication
Port Integer - UDP port for RADIUS authentication server (default is 1812)
- automate
Tester BooleanIgnore Acct Port - Do not test accounting ports of the servers.
- automate
Tester BooleanProbe On Config - Send a packet to verify the server status
- automate
Tester StringUsername - 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
- pac
Key String - The UNENCRYPTED (cleartext) server key
- pac
Key StringEncryption - 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.
- accounting
Port number - UDP port for RADIUS accounting server (default is 1813)
- authentication
Port number - UDP port for RADIUS authentication server (default is 1812)
- automate
Tester booleanIgnore Acct Port - Do not test accounting ports of the servers.
- automate
Tester booleanProbe On Config - Send a packet to verify the server status
- automate
Tester stringUsername - 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
- pac
Key string - The UNENCRYPTED (cleartext) server key
- pac
Key stringEncryption - 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_ boolignore_ acct_ port - Do not test accounting ports of the servers.
- automate_
tester_ boolprobe_ on_ config - Send a packet to verify the server status
- automate_
tester_ strusername - 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_ strencryption - 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.
- accounting
Port Number - UDP port for RADIUS accounting server (default is 1813)
- authentication
Port Number - UDP port for RADIUS authentication server (default is 1812)
- automate
Tester BooleanIgnore Acct Port - Do not test accounting ports of the servers.
- automate
Tester BooleanProbe On Config - Send a packet to verify the server status
- automate
Tester StringUsername - 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
- pac
Key String - The UNENCRYPTED (cleartext) server key
- pac
Key StringEncryption - 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
iosxeTerraform Provider.
Viewing docs for Cisco IOS XE v0.0.1
published on Friday, Sep 22, 2023 by lbrlabs
published on Friday, Sep 22, 2023 by lbrlabs
