1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getKerberosServerProfile
Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi
scm logo
Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi

    KerberosServerProfile data source

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    //
    // Data source to retrieve a single SCM Kerberos Server Profile object by its ID.
    //
    // Replace the ID with the UUID of the SCM Kerberos Server Profile you want to find.
    const scmKerberosProf = scm.getKerberosServerProfile({
        id: "6bd818f8-9679-4031-86df-17b8b40842a0",
    });
    export const scmKerberosServerProfileDetails = {
        profileId: scmKerberosProf.then(scmKerberosProf => scmKerberosProf.id),
        folder: scmKerberosProf.then(scmKerberosProf => scmKerberosProf.folder),
        name: scmKerberosProf.then(scmKerberosProf => scmKerberosProf.name),
    };
    
    import pulumi
    import pulumi_scm as scm
    
    #
    # Data source to retrieve a single SCM Kerberos Server Profile object by its ID.
    #
    # Replace the ID with the UUID of the SCM Kerberos Server Profile you want to find.
    scm_kerberos_prof = scm.get_kerberos_server_profile(id="6bd818f8-9679-4031-86df-17b8b40842a0")
    pulumi.export("scmKerberosServerProfileDetails", {
        "profileId": scm_kerberos_prof.id,
        "folder": scm_kerberos_prof.folder,
        "name": scm_kerberos_prof.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 {
    		// Data source to retrieve a single SCM Kerberos Server Profile object by its ID.
    		//
    		// Replace the ID with the UUID of the SCM Kerberos Server Profile you want to find.
    		scmKerberosProf, err := scm.LookupKerberosServerProfile(ctx, &scm.LookupKerberosServerProfileArgs{
    			Id: "6bd818f8-9679-4031-86df-17b8b40842a0",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("scmKerberosServerProfileDetails", pulumi.StringMap{
    			"profileId": scmKerberosProf.Id,
    			"folder":    scmKerberosProf.Folder,
    			"name":      scmKerberosProf.Name,
    		})
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        //
        // Data source to retrieve a single SCM Kerberos Server Profile object by its ID.
        //
        // Replace the ID with the UUID of the SCM Kerberos Server Profile you want to find.
        var scmKerberosProf = Scm.GetKerberosServerProfile.Invoke(new()
        {
            Id = "6bd818f8-9679-4031-86df-17b8b40842a0",
        });
    
        return new Dictionary<string, object?>
        {
            ["scmKerberosServerProfileDetails"] = 
            {
                { "profileId", scmKerberosProf.Apply(getKerberosServerProfileResult => getKerberosServerProfileResult.Id) },
                { "folder", scmKerberosProf.Apply(getKerberosServerProfileResult => getKerberosServerProfileResult.Folder) },
                { "name", scmKerberosProf.Apply(getKerberosServerProfileResult => getKerberosServerProfileResult.Name) },
            },
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.ScmFunctions;
    import com.pulumi.scm.inputs.GetKerberosServerProfileArgs;
    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) {
            //
            // Data source to retrieve a single SCM Kerberos Server Profile object by its ID.
            //
            // Replace the ID with the UUID of the SCM Kerberos Server Profile you want to find.
            final var scmKerberosProf = ScmFunctions.getKerberosServerProfile(GetKerberosServerProfileArgs.builder()
                .id("6bd818f8-9679-4031-86df-17b8b40842a0")
                .build());
    
            ctx.export("scmKerberosServerProfileDetails", Map.ofEntries(
                Map.entry("profileId", scmKerberosProf.id()),
                Map.entry("folder", scmKerberosProf.folder()),
                Map.entry("name", scmKerberosProf.name())
            ));
        }
    }
    
    variables:
      #
      # Data source to retrieve a single SCM Kerberos Server Profile object by its ID.
      #
    
      # Replace the ID with the UUID of the SCM Kerberos Server Profile you want to find.
      scmKerberosProf:
        fn::invoke:
          function: scm:getKerberosServerProfile
          arguments:
            id: 6bd818f8-9679-4031-86df-17b8b40842a0
    outputs:
      # Output the details of the single SCM Kerberos Server Profile object found.
      scmKerberosServerProfileDetails:
        profileId: ${scmKerberosProf.id}
        folder: ${scmKerberosProf.folder}
        name: ${scmKerberosProf.name}
    

    Using getKerberosServerProfile

    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 getKerberosServerProfile(args: GetKerberosServerProfileArgs, opts?: InvokeOptions): Promise<GetKerberosServerProfileResult>
    function getKerberosServerProfileOutput(args: GetKerberosServerProfileOutputArgs, opts?: InvokeOptions): Output<GetKerberosServerProfileResult>
    def get_kerberos_server_profile(device: Optional[str] = None,
                                    folder: Optional[str] = None,
                                    id: Optional[str] = None,
                                    name: Optional[str] = None,
                                    snippet: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetKerberosServerProfileResult
    def get_kerberos_server_profile_output(device: Optional[pulumi.Input[str]] = None,
                                    folder: Optional[pulumi.Input[str]] = None,
                                    id: Optional[pulumi.Input[str]] = None,
                                    name: Optional[pulumi.Input[str]] = None,
                                    snippet: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetKerberosServerProfileResult]
    func LookupKerberosServerProfile(ctx *Context, args *LookupKerberosServerProfileArgs, opts ...InvokeOption) (*LookupKerberosServerProfileResult, error)
    func LookupKerberosServerProfileOutput(ctx *Context, args *LookupKerberosServerProfileOutputArgs, opts ...InvokeOption) LookupKerberosServerProfileResultOutput

    > Note: This function is named LookupKerberosServerProfile in the Go SDK.

    public static class GetKerberosServerProfile 
    {
        public static Task<GetKerberosServerProfileResult> InvokeAsync(GetKerberosServerProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetKerberosServerProfileResult> Invoke(GetKerberosServerProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetKerberosServerProfileResult> getKerberosServerProfile(GetKerberosServerProfileArgs args, InvokeOptions options)
    public static Output<GetKerberosServerProfileResult> getKerberosServerProfile(GetKerberosServerProfileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getKerberosServerProfile:getKerberosServerProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The UUID of the Kerberos server profile
    Device string
    The device in which the resource is defined
    Folder string
    Name string
    Snippet string
    Id string
    The UUID of the Kerberos server profile
    Device string
    The device in which the resource is defined
    Folder string
    Name string
    Snippet string
    id String
    The UUID of the Kerberos server profile
    device String
    The device in which the resource is defined
    folder String
    name String
    snippet String
    id string
    The UUID of the Kerberos server profile
    device string
    The device in which the resource is defined
    folder string
    name string
    snippet string
    id str
    The UUID of the Kerberos server profile
    device str
    The device in which the resource is defined
    folder str
    name str
    snippet str
    id String
    The UUID of the Kerberos server profile
    device String
    The device in which the resource is defined
    folder String
    name String
    snippet String

    getKerberosServerProfile Result

    The following output properties are available:

    Device string
    The device in which the resource is defined
    Folder string
    Id string
    The UUID of the Kerberos server profile
    Name string
    Servers List<GetKerberosServerProfileServer>
    Snippet string
    Tfid string
    Device string
    The device in which the resource is defined
    Folder string
    Id string
    The UUID of the Kerberos server profile
    Name string
    Servers []GetKerberosServerProfileServer
    Snippet string
    Tfid string
    device String
    The device in which the resource is defined
    folder String
    id String
    The UUID of the Kerberos server profile
    name String
    servers List<GetKerberosServerProfileServer>
    snippet String
    tfid String
    device string
    The device in which the resource is defined
    folder string
    id string
    The UUID of the Kerberos server profile
    name string
    servers GetKerberosServerProfileServer[]
    snippet string
    tfid string
    device str
    The device in which the resource is defined
    folder str
    id str
    The UUID of the Kerberos server profile
    name str
    servers Sequence[GetKerberosServerProfileServer]
    snippet str
    tfid str
    device String
    The device in which the resource is defined
    folder String
    id String
    The UUID of the Kerberos server profile
    name String
    servers List<Property Map>
    snippet String
    tfid String

    Supporting Types

    GetKerberosServerProfileServer

    Host string
    The Kerberos server IP address
    Name string
    The Kerberos server name
    Port int
    The Kerberos server port
    Host string
    The Kerberos server IP address
    Name string
    The Kerberos server name
    Port int
    The Kerberos server port
    host String
    The Kerberos server IP address
    name String
    The Kerberos server name
    port Integer
    The Kerberos server port
    host string
    The Kerberos server IP address
    name string
    The Kerberos server name
    port number
    The Kerberos server port
    host str
    The Kerberos server IP address
    name str
    The Kerberos server name
    port int
    The Kerberos server port
    host String
    The Kerberos server IP address
    name String
    The Kerberos server name
    port Number
    The Kerberos server port

    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 v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate