Viewing docs for Strata Cloud Manager v1.0.4
published on Saturday, Feb 14, 2026 by Pulumi
published on Saturday, Feb 14, 2026 by Pulumi
Viewing docs for Strata Cloud Manager v1.0.4
published on Saturday, Feb 14, 2026 by Pulumi
published on Saturday, Feb 14, 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 dictionaryThe following arguments are supported:
getKerberosServerProfile Result
The following output properties are available:
Supporting Types
GetKerberosServerProfileServer
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Viewing docs for Strata Cloud Manager v1.0.4
published on Saturday, Feb 14, 2026 by Pulumi
published on Saturday, Feb 14, 2026 by Pulumi
