1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getRadiusServerProfile
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
scm logo
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 dictionary

    The following arguments are supported:

    Id string
    The UUID of the RADIUS server profile
    Name string
    The name of the RADIUS server profile
    Id string
    The UUID of the RADIUS server profile
    Name string
    The name of the RADIUS server profile
    id String
    The UUID of the RADIUS server profile
    name String
    The name of the RADIUS server profile
    id string
    The UUID of the RADIUS server profile
    name string
    The name of the RADIUS server profile
    id str
    The UUID of the RADIUS server profile
    name str
    The name of the RADIUS server profile
    id String
    The UUID of the RADIUS server profile
    name String
    The name of the RADIUS server profile

    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 GetRadiusServerProfileProtocol
    The RADIUS authentication protocol
    Retries int
    The number of RADIUS server retries
    Servers List<GetRadiusServerProfileServer>
    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 GetRadiusServerProfileProtocol
    The RADIUS authentication protocol
    Retries int
    The number of RADIUS server retries
    Servers []GetRadiusServerProfileServer
    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 GetRadiusServerProfileProtocol
    The RADIUS authentication protocol
    retries Integer
    The number of RADIUS server retries
    servers List<GetRadiusServerProfileServer>
    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 GetRadiusServerProfileProtocol
    The RADIUS authentication protocol
    retries number
    The number of RADIUS server retries
    servers GetRadiusServerProfileServer[]
    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 GetRadiusServerProfileProtocol
    The RADIUS authentication protocol
    retries int
    The number of RADIUS server retries
    servers Sequence[GetRadiusServerProfileServer]
    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 Property Map
    C h a p
    eapTtlsWithPap Property Map
    E a p t t l s with p a p
    pap Property Map
    P a p
    peapMschaPv2 Property Map
    P e a p m s c h a pv2
    peapWithGtc Property Map
    P e a p with g t c

    GetRadiusServerProfileProtocolEapTtlsWithPap

    AnonOuterId bool
    Anon outer id
    RadiusCertProfile string
    Radius cert profile
    AnonOuterId bool
    Anon outer id
    RadiusCertProfile string
    Radius cert profile
    anonOuterId Boolean
    Anon outer id
    radiusCertProfile String
    Radius cert profile
    anonOuterId boolean
    Anon outer id
    radiusCertProfile string
    Radius cert profile
    anon_outer_id bool
    Anon outer id
    radius_cert_profile str
    Radius cert profile
    anonOuterId Boolean
    Anon outer id
    radiusCertProfile String
    Radius cert profile

    GetRadiusServerProfileProtocolPeapMschaPv2

    AllowPwdChange bool
    Allow pwd change
    AnonOuterId bool
    Anon outer id
    RadiusCertProfile string
    Radius cert profile
    AllowPwdChange bool
    Allow pwd change
    AnonOuterId bool
    Anon outer id
    RadiusCertProfile string
    Radius cert profile
    allowPwdChange Boolean
    Allow pwd change
    anonOuterId Boolean
    Anon outer id
    radiusCertProfile String
    Radius cert profile
    allowPwdChange boolean
    Allow pwd change
    anonOuterId boolean
    Anon outer id
    radiusCertProfile string
    Radius cert profile
    allow_pwd_change bool
    Allow pwd change
    anon_outer_id bool
    Anon outer id
    radius_cert_profile str
    Radius cert profile
    allowPwdChange Boolean
    Allow pwd change
    anonOuterId Boolean
    Anon outer id
    radiusCertProfile String
    Radius cert profile

    GetRadiusServerProfileProtocolPeapWithGtc

    AnonOuterId bool
    Anon outer id
    RadiusCertProfile string
    Radius cert profile
    AnonOuterId bool
    Anon outer id
    RadiusCertProfile string
    Radius cert profile
    anonOuterId Boolean
    Anon outer id
    radiusCertProfile String
    Radius cert profile
    anonOuterId boolean
    Anon outer id
    radiusCertProfile string
    Radius cert profile
    anon_outer_id bool
    Anon outer id
    radius_cert_profile str
    Radius cert profile
    anonOuterId Boolean
    Anon outer id
    radiusCertProfile String
    Radius cert profile

    GetRadiusServerProfileServer

    IpAddress string
    The IP address of the RADIUS server
    Name string
    The name of the RADIUS server
    Port int
    The RADIUS server port
    Secret string
    The RADIUS secret
    IpAddress string
    The IP address of the RADIUS server
    Name string
    The name of the RADIUS server
    Port int
    The RADIUS server port
    Secret string
    The RADIUS secret
    ipAddress String
    The IP address of the RADIUS server
    name String
    The name of the RADIUS server
    port Integer
    The RADIUS server port
    secret String
    The RADIUS secret
    ipAddress string
    The IP address of the RADIUS server
    name string
    The name of the RADIUS server
    port number
    The RADIUS server port
    secret string
    The RADIUS secret
    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
    ipAddress String
    The IP address of the RADIUS server
    name String
    The name of the RADIUS server
    port Number
    The RADIUS server port
    secret String
    The RADIUS secret

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate