Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
scm.getRadiusServerProfile
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
RadiusServerProfile data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const chapRadiusProfile = new scm.RadiusServerProfile("chap_radius_profile", {
name: "CHAP_only_rsp_ds_1",
folder: "All",
retries: 5,
timeout: 60,
protocol: {
cHAP: {},
},
servers: [{
name: "Chap_Server_Primary",
ipAddress: "10.1.1.10",
port: 1812,
secret: "-AQ==lhyuV6U/j9Trb9JL9L0UoBecg9Y=kTOWntGhZ1KFyLD+etKQ3g==",
}],
});
const singleProfileById = scm.getRadiusServerProfileOutput({
id: chapRadiusProfile.id,
});
export const singleRspDump = singleProfileById.apply(singleProfileById => singleProfileById.name);
import pulumi
import pulumi_scm as scm
chap_radius_profile = scm.RadiusServerProfile("chap_radius_profile",
name="CHAP_only_rsp_ds_1",
folder="All",
retries=5,
timeout=60,
protocol={
"c_hap": {},
},
servers=[{
"name": "Chap_Server_Primary",
"ip_address": "10.1.1.10",
"port": 1812,
"secret": "-AQ==lhyuV6U/j9Trb9JL9L0UoBecg9Y=kTOWntGhZ1KFyLD+etKQ3g==",
}])
single_profile_by_id = scm.get_radius_server_profile_output(id=chap_radius_profile.id)
pulumi.export("singleRspDump", single_profile_by_id.name)
package main
import (
"github.com/pulumi/pulumi-scm/sdk/go/scm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
chapRadiusProfile, err := scm.NewRadiusServerProfile(ctx, "chap_radius_profile", &scm.RadiusServerProfileArgs{
Name: pulumi.String("CHAP_only_rsp_ds_1"),
Folder: pulumi.String("All"),
Retries: pulumi.Int(5),
Timeout: pulumi.Int(60),
Protocol: &scm.RadiusServerProfileProtocolArgs{
CHAP: &scm.RadiusServerProfileProtocolChapArgs{},
},
Servers: scm.RadiusServerProfileServerArray{
&scm.RadiusServerProfileServerArgs{
Name: pulumi.String("Chap_Server_Primary"),
IpAddress: pulumi.String("10.1.1.10"),
Port: pulumi.Int(1812),
Secret: pulumi.String("-AQ==lhyuV6U/j9Trb9JL9L0UoBecg9Y=kTOWntGhZ1KFyLD+etKQ3g=="),
},
},
})
if err != nil {
return err
}
singleProfileById := scm.LookupRadiusServerProfileOutput(ctx, scm.GetRadiusServerProfileOutputArgs{
Id: chapRadiusProfile.ID(),
}, nil)
ctx.Export("singleRspDump", singleProfileById.ApplyT(func(singleProfileById scm.GetRadiusServerProfileResult) (*string, error) {
return &singleProfileById.Name, nil
}).(pulumi.StringPtrOutput))
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
var chapRadiusProfile = new Scm.RadiusServerProfile("chap_radius_profile", new()
{
Name = "CHAP_only_rsp_ds_1",
Folder = "All",
Retries = 5,
Timeout = 60,
Protocol = new Scm.Inputs.RadiusServerProfileProtocolArgs
{
CHAP = null,
},
Servers = new[]
{
new Scm.Inputs.RadiusServerProfileServerArgs
{
Name = "Chap_Server_Primary",
IpAddress = "10.1.1.10",
Port = 1812,
Secret = "-AQ==lhyuV6U/j9Trb9JL9L0UoBecg9Y=kTOWntGhZ1KFyLD+etKQ3g==",
},
},
});
var singleProfileById = Scm.GetRadiusServerProfile.Invoke(new()
{
Id = chapRadiusProfile.Id,
});
return new Dictionary<string, object?>
{
["singleRspDump"] = singleProfileById.Apply(getRadiusServerProfileResult => getRadiusServerProfileResult.Name),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scm.RadiusServerProfile;
import com.pulumi.scm.RadiusServerProfileArgs;
import com.pulumi.scm.inputs.RadiusServerProfileProtocolArgs;
import com.pulumi.scm.inputs.RadiusServerProfileServerArgs;
import com.pulumi.scm.ScmFunctions;
import com.pulumi.scm.inputs.GetRadiusServerProfileArgs;
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) {
var chapRadiusProfile = new RadiusServerProfile("chapRadiusProfile", RadiusServerProfileArgs.builder()
.name("CHAP_only_rsp_ds_1")
.folder("All")
.retries(5)
.timeout(60)
.protocol(RadiusServerProfileProtocolArgs.builder()
.cHAP(RadiusServerProfileProtocolChapArgs.builder()
.build())
.build())
.servers(RadiusServerProfileServerArgs.builder()
.name("Chap_Server_Primary")
.ipAddress("10.1.1.10")
.port(1812)
.secret("-AQ==lhyuV6U/j9Trb9JL9L0UoBecg9Y=kTOWntGhZ1KFyLD+etKQ3g==")
.build())
.build());
final var singleProfileById = ScmFunctions.getRadiusServerProfile(GetRadiusServerProfileArgs.builder()
.id(chapRadiusProfile.id())
.build());
ctx.export("singleRspDump", singleProfileById.applyValue(_singleProfileById -> _singleProfileById.name()));
}
}
resources:
chapRadiusProfile:
type: scm:RadiusServerProfile
name: chap_radius_profile
properties:
name: CHAP_only_rsp_ds_1
folder: All
retries: 5
timeout: 60
protocol:
cHAP: {}
servers:
- name: Chap_Server_Primary
ipAddress: 10.1.1.10
port: 1812
secret: -AQ==lhyuV6U/j9Trb9JL9L0UoBecg9Y=kTOWntGhZ1KFyLD+etKQ3g==
variables:
singleProfileById:
fn::invoke:
function: scm:getRadiusServerProfile
arguments:
id: ${chapRadiusProfile.id}
outputs:
singleRspDump: ${singleProfileById.name}
Using getRadiusServerProfile
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 getRadiusServerProfile(args: GetRadiusServerProfileArgs, opts?: InvokeOptions): Promise<GetRadiusServerProfileResult>
function getRadiusServerProfileOutput(args: GetRadiusServerProfileOutputArgs, opts?: InvokeOptions): Output<GetRadiusServerProfileResult>def get_radius_server_profile(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRadiusServerProfileResult
def get_radius_server_profile_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRadiusServerProfileResult]func LookupRadiusServerProfile(ctx *Context, args *LookupRadiusServerProfileArgs, opts ...InvokeOption) (*LookupRadiusServerProfileResult, error)
func LookupRadiusServerProfileOutput(ctx *Context, args *LookupRadiusServerProfileOutputArgs, opts ...InvokeOption) LookupRadiusServerProfileResultOutput> Note: This function is named LookupRadiusServerProfile in the Go SDK.
public static class GetRadiusServerProfile
{
public static Task<GetRadiusServerProfileResult> InvokeAsync(GetRadiusServerProfileArgs args, InvokeOptions? opts = null)
public static Output<GetRadiusServerProfileResult> Invoke(GetRadiusServerProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRadiusServerProfileResult> getRadiusServerProfile(GetRadiusServerProfileArgs args, InvokeOptions options)
public static Output<GetRadiusServerProfileResult> getRadiusServerProfile(GetRadiusServerProfileArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getRadiusServerProfile:getRadiusServerProfile
arguments:
# arguments dictionaryThe following arguments are supported:
getRadiusServerProfile Result
The following output properties are available:
- Device string
- The device in which the resource is defined
- Folder string
- The folder in which the resource is defined
- Id string
- The UUID of the RADIUS server profile
- Name string
- The name of the RADIUS server profile
- Protocol
Get
Radius Server Profile Protocol - The RADIUS authentication protocol
- Retries int
- The number of RADIUS server retries
- Servers
List<Get
Radius Server Profile Server> - Server
- Snippet string
- The snippet in which the resource is defined
- Tfid string
- Timeout int
- The RADIUS server authentication timeout (seconds)
- Device string
- The device in which the resource is defined
- Folder string
- The folder in which the resource is defined
- Id string
- The UUID of the RADIUS server profile
- Name string
- The name of the RADIUS server profile
- Protocol
Get
Radius Server Profile Protocol - The RADIUS authentication protocol
- Retries int
- The number of RADIUS server retries
- Servers
[]Get
Radius Server Profile Server - Server
- Snippet string
- The snippet in which the resource is defined
- Tfid string
- Timeout int
- The RADIUS server authentication timeout (seconds)
- device String
- The device in which the resource is defined
- folder String
- The folder in which the resource is defined
- id String
- The UUID of the RADIUS server profile
- name String
- The name of the RADIUS server profile
- protocol
Get
Radius Server Profile Protocol - The RADIUS authentication protocol
- retries Integer
- The number of RADIUS server retries
- servers
List<Get
Radius Server Profile Server> - Server
- snippet String
- The snippet in which the resource is defined
- tfid String
- timeout Integer
- The RADIUS server authentication timeout (seconds)
- device string
- The device in which the resource is defined
- folder string
- The folder in which the resource is defined
- id string
- The UUID of the RADIUS server profile
- name string
- The name of the RADIUS server profile
- protocol
Get
Radius Server Profile Protocol - The RADIUS authentication protocol
- retries number
- The number of RADIUS server retries
- servers
Get
Radius Server Profile Server[] - Server
- snippet string
- The snippet in which the resource is defined
- tfid string
- timeout number
- The RADIUS server authentication timeout (seconds)
- device str
- The device in which the resource is defined
- folder str
- The folder in which the resource is defined
- id str
- The UUID of the RADIUS server profile
- name str
- The name of the RADIUS server profile
- protocol
Get
Radius Server Profile Protocol - The RADIUS authentication protocol
- retries int
- The number of RADIUS server retries
- servers
Sequence[Get
Radius Server Profile Server] - Server
- snippet str
- The snippet in which the resource is defined
- tfid str
- timeout int
- The RADIUS server authentication timeout (seconds)
- device String
- The device in which the resource is defined
- folder String
- The folder in which the resource is defined
- id String
- The UUID of the RADIUS server profile
- name String
- The name of the RADIUS server profile
- protocol Property Map
- The RADIUS authentication protocol
- retries Number
- The number of RADIUS server retries
- servers List<Property Map>
- Server
- snippet String
- The snippet in which the resource is defined
- tfid String
- timeout Number
- The RADIUS server authentication timeout (seconds)
Supporting Types
GetRadiusServerProfileProtocol
- Chap
Get
Radius Server Profile Protocol Chap - C h a p
- Eap
Ttls GetWith Pap Radius Server Profile Protocol Eap Ttls With Pap - E a p t t l s with p a p
- Pap
Get
Radius Server Profile Protocol Pap - P a p
- Peap
Mscha GetPv2 Radius Server Profile Protocol Peap Mscha Pv2 - P e a p m s c h a pv2
- Peap
With GetGtc Radius Server Profile Protocol Peap With Gtc - P e a p with g t c
- Chap
Get
Radius Server Profile Protocol Chap - C h a p
- Eap
Ttls GetWith Pap Radius Server Profile Protocol Eap Ttls With Pap - E a p t t l s with p a p
- Pap
Get
Radius Server Profile Protocol Pap - P a p
- Peap
Mscha GetPv2 Radius Server Profile Protocol Peap Mscha Pv2 - P e a p m s c h a pv2
- Peap
With GetGtc Radius Server Profile Protocol Peap With Gtc - P e a p with g t c
- chap
Get
Radius Server Profile Protocol Chap - C h a p
- eap
Ttls GetWith Pap Radius Server Profile Protocol Eap Ttls With Pap - E a p t t l s with p a p
- pap
Get
Radius Server Profile Protocol Pap - P a p
- peap
Mscha GetPv2 Radius Server Profile Protocol Peap Mscha Pv2 - P e a p m s c h a pv2
- peap
With GetGtc Radius Server Profile Protocol Peap With Gtc - P e a p with g t c
- chap
Get
Radius Server Profile Protocol Chap - C h a p
- eap
Ttls GetWith Pap Radius Server Profile Protocol Eap Ttls With Pap - E a p t t l s with p a p
- pap
Get
Radius Server Profile Protocol Pap - P a p
- peap
Mscha GetPv2 Radius Server Profile Protocol Peap Mscha Pv2 - P e a p m s c h a pv2
- peap
With GetGtc Radius Server Profile Protocol Peap With Gtc - P e a p with g t c
- chap
Get
Radius Server Profile Protocol Chap - C h a p
- eap_
ttls_ Getwith_ pap Radius Server Profile Protocol Eap Ttls With Pap - E a p t t l s with p a p
- pap
Get
Radius Server Profile Protocol Pap - P a p
- peap_
mscha_ Getpv2 Radius Server Profile Protocol Peap Mscha Pv2 - P e a p m s c h a pv2
- peap_
with_ Getgtc Radius Server Profile Protocol Peap With Gtc - P e a p with g t c
- chap Property Map
- C h a p
- eap
Ttls Property MapWith Pap - E a p t t l s with p a p
- pap Property Map
- P a p
- peap
Mscha Property MapPv2 - P e a p m s c h a pv2
- peap
With Property MapGtc - P e a p with g t c
GetRadiusServerProfileProtocolEapTtlsWithPap
- Anon
Outer boolId - Anon outer id
- Radius
Cert stringProfile - Radius cert profile
- Anon
Outer boolId - Anon outer id
- Radius
Cert stringProfile - Radius cert profile
- anon
Outer BooleanId - Anon outer id
- radius
Cert StringProfile - Radius cert profile
- anon
Outer booleanId - Anon outer id
- radius
Cert stringProfile - Radius cert profile
- anon_
outer_ boolid - Anon outer id
- radius_
cert_ strprofile - Radius cert profile
- anon
Outer BooleanId - Anon outer id
- radius
Cert StringProfile - Radius cert profile
GetRadiusServerProfileProtocolPeapMschaPv2
- Allow
Pwd boolChange - Allow pwd change
- Anon
Outer boolId - Anon outer id
- Radius
Cert stringProfile - Radius cert profile
- Allow
Pwd boolChange - Allow pwd change
- Anon
Outer boolId - Anon outer id
- Radius
Cert stringProfile - Radius cert profile
- allow
Pwd BooleanChange - Allow pwd change
- anon
Outer BooleanId - Anon outer id
- radius
Cert StringProfile - Radius cert profile
- allow
Pwd booleanChange - Allow pwd change
- anon
Outer booleanId - Anon outer id
- radius
Cert stringProfile - Radius cert profile
- allow_
pwd_ boolchange - Allow pwd change
- anon_
outer_ boolid - Anon outer id
- radius_
cert_ strprofile - Radius cert profile
- allow
Pwd BooleanChange - Allow pwd change
- anon
Outer BooleanId - Anon outer id
- radius
Cert StringProfile - Radius cert profile
GetRadiusServerProfileProtocolPeapWithGtc
- Anon
Outer boolId - Anon outer id
- Radius
Cert stringProfile - Radius cert profile
- Anon
Outer boolId - Anon outer id
- Radius
Cert stringProfile - Radius cert profile
- anon
Outer BooleanId - Anon outer id
- radius
Cert StringProfile - Radius cert profile
- anon
Outer booleanId - Anon outer id
- radius
Cert stringProfile - Radius cert profile
- anon_
outer_ boolid - Anon outer id
- radius_
cert_ strprofile - Radius cert profile
- anon
Outer BooleanId - Anon outer id
- radius
Cert StringProfile - Radius cert profile
GetRadiusServerProfileServer
- ip_
address str - The IP address of the RADIUS server
- name str
- The name of the RADIUS server
- port int
- The RADIUS server port
- secret str
- The RADIUS secret
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
