1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getTlsServiceProfile
Strata Cloud Manager v1.0.4 published on Saturday, Feb 14, 2026 by Pulumi
scm logo
Strata Cloud Manager v1.0.4 published on Saturday, Feb 14, 2026 by Pulumi

    TlsServiceProfile data source

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    //
    // Data source to retrieve a single SCM TLS Service Profile object by its ID.
    //
    // Replace the ID with the UUID of the SCM TLS Service Profile you want to find.
    const scmTlsServiceProf = scm.getTlsServiceProfile({
        id: "b4d70015-5b0e-4491-a2a9-4305b01397d5",
    });
    export const scmTlsServiceProfileDetails = {
        profileId: scmTlsServiceProf.then(scmTlsServiceProf => scmTlsServiceProf.id),
        folder: scmTlsServiceProf.then(scmTlsServiceProf => scmTlsServiceProf.folder),
        name: scmTlsServiceProf.then(scmTlsServiceProf => scmTlsServiceProf.name),
    };
    
    import pulumi
    import pulumi_scm as scm
    
    #
    # Data source to retrieve a single SCM TLS Service Profile object by its ID.
    #
    # Replace the ID with the UUID of the SCM TLS Service Profile you want to find.
    scm_tls_service_prof = scm.get_tls_service_profile(id="b4d70015-5b0e-4491-a2a9-4305b01397d5")
    pulumi.export("scmTlsServiceProfileDetails", {
        "profileId": scm_tls_service_prof.id,
        "folder": scm_tls_service_prof.folder,
        "name": scm_tls_service_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 TLS Service Profile object by its ID.
    		//
    		// Replace the ID with the UUID of the SCM TLS Service Profile you want to find.
    		scmTlsServiceProf, err := scm.LookupTlsServiceProfile(ctx, &scm.LookupTlsServiceProfileArgs{
    			Id: "b4d70015-5b0e-4491-a2a9-4305b01397d5",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("scmTlsServiceProfileDetails", pulumi.StringMap{
    			"profileId": scmTlsServiceProf.Id,
    			"folder":    scmTlsServiceProf.Folder,
    			"name":      scmTlsServiceProf.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 TLS Service Profile object by its ID.
        //
        // Replace the ID with the UUID of the SCM TLS Service Profile you want to find.
        var scmTlsServiceProf = Scm.GetTlsServiceProfile.Invoke(new()
        {
            Id = "b4d70015-5b0e-4491-a2a9-4305b01397d5",
        });
    
        return new Dictionary<string, object?>
        {
            ["scmTlsServiceProfileDetails"] = 
            {
                { "profileId", scmTlsServiceProf.Apply(getTlsServiceProfileResult => getTlsServiceProfileResult.Id) },
                { "folder", scmTlsServiceProf.Apply(getTlsServiceProfileResult => getTlsServiceProfileResult.Folder) },
                { "name", scmTlsServiceProf.Apply(getTlsServiceProfileResult => getTlsServiceProfileResult.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.GetTlsServiceProfileArgs;
    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 TLS Service Profile object by its ID.
            //
            // Replace the ID with the UUID of the SCM TLS Service Profile you want to find.
            final var scmTlsServiceProf = ScmFunctions.getTlsServiceProfile(GetTlsServiceProfileArgs.builder()
                .id("b4d70015-5b0e-4491-a2a9-4305b01397d5")
                .build());
    
            ctx.export("scmTlsServiceProfileDetails", Map.ofEntries(
                Map.entry("profileId", scmTlsServiceProf.id()),
                Map.entry("folder", scmTlsServiceProf.folder()),
                Map.entry("name", scmTlsServiceProf.name())
            ));
        }
    }
    
    variables:
      #
      # Data source to retrieve a single SCM TLS Service Profile object by its ID.
      #
    
      # Replace the ID with the UUID of the SCM TLS Service Profile you want to find.
      scmTlsServiceProf:
        fn::invoke:
          function: scm:getTlsServiceProfile
          arguments:
            id: b4d70015-5b0e-4491-a2a9-4305b01397d5
    outputs:
      # Output the details of the single SCM TLS Service Profile object found.
      scmTlsServiceProfileDetails:
        profileId: ${scmTlsServiceProf.id}
        folder: ${scmTlsServiceProf.folder}
        name: ${scmTlsServiceProf.name}
    

    Using getTlsServiceProfile

    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 getTlsServiceProfile(args: GetTlsServiceProfileArgs, opts?: InvokeOptions): Promise<GetTlsServiceProfileResult>
    function getTlsServiceProfileOutput(args: GetTlsServiceProfileOutputArgs, opts?: InvokeOptions): Output<GetTlsServiceProfileResult>
    def get_tls_service_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) -> GetTlsServiceProfileResult
    def get_tls_service_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[GetTlsServiceProfileResult]
    func LookupTlsServiceProfile(ctx *Context, args *LookupTlsServiceProfileArgs, opts ...InvokeOption) (*LookupTlsServiceProfileResult, error)
    func LookupTlsServiceProfileOutput(ctx *Context, args *LookupTlsServiceProfileOutputArgs, opts ...InvokeOption) LookupTlsServiceProfileResultOutput

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

    public static class GetTlsServiceProfile 
    {
        public static Task<GetTlsServiceProfileResult> InvokeAsync(GetTlsServiceProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetTlsServiceProfileResult> Invoke(GetTlsServiceProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTlsServiceProfileResult> getTlsServiceProfile(GetTlsServiceProfileArgs args, InvokeOptions options)
    public static Output<GetTlsServiceProfileResult> getTlsServiceProfile(GetTlsServiceProfileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getTlsServiceProfile:getTlsServiceProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

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

    getTlsServiceProfile Result

    The following output properties are available:

    Certificate string
    Device string
    The device in which the resource is defined
    Folder string
    Id string
    The UUID of the TLS service profile
    Name string
    ProtocolSettings GetTlsServiceProfileProtocolSettings
    Snippet string
    Tfid string
    Certificate string
    Device string
    The device in which the resource is defined
    Folder string
    Id string
    The UUID of the TLS service profile
    Name string
    ProtocolSettings GetTlsServiceProfileProtocolSettings
    Snippet string
    Tfid string
    certificate String
    device String
    The device in which the resource is defined
    folder String
    id String
    The UUID of the TLS service profile
    name String
    protocolSettings GetTlsServiceProfileProtocolSettings
    snippet String
    tfid String
    certificate string
    device string
    The device in which the resource is defined
    folder string
    id string
    The UUID of the TLS service profile
    name string
    protocolSettings GetTlsServiceProfileProtocolSettings
    snippet string
    tfid string
    certificate str
    device str
    The device in which the resource is defined
    folder str
    id str
    The UUID of the TLS service profile
    name str
    protocol_settings GetTlsServiceProfileProtocolSettings
    snippet str
    tfid str
    certificate String
    device String
    The device in which the resource is defined
    folder String
    id String
    The UUID of the TLS service profile
    name String
    protocolSettings Property Map
    snippet String
    tfid String

    Supporting Types

    GetTlsServiceProfileProtocolSettings

    AuthAlgoSha1 bool
    Allow SHA1 authentication?
    AuthAlgoSha256 bool
    Allow SHA256 authentication?
    AuthAlgoSha384 bool
    Allow SHA384 authentication?
    EncAlgoAes128Cbc bool
    Allow AES-128-CBC algorithm?
    EncAlgoAes128Gcm bool
    Allow AES-128-GCM algorithm?
    EncAlgoAes256Cbc bool
    Allow AES-256-CBC algorithm?
    EncAlgoAes256Gcm bool
    Allow algorithm AES-256-GCM
    KeyxchgAlgoDhe bool
    Allow DHE algorithm?
    KeyxchgAlgoEcdhe bool
    Allow ECDHE algorithm?
    KeyxchgAlgoRsa bool
    Allow RSA algorithm?
    MaxVersion string
    Maximum TLS version
    MinVersion string
    Minimum TLS version
    AuthAlgoSha1 bool
    Allow SHA1 authentication?
    AuthAlgoSha256 bool
    Allow SHA256 authentication?
    AuthAlgoSha384 bool
    Allow SHA384 authentication?
    EncAlgoAes128Cbc bool
    Allow AES-128-CBC algorithm?
    EncAlgoAes128Gcm bool
    Allow AES-128-GCM algorithm?
    EncAlgoAes256Cbc bool
    Allow AES-256-CBC algorithm?
    EncAlgoAes256Gcm bool
    Allow algorithm AES-256-GCM
    KeyxchgAlgoDhe bool
    Allow DHE algorithm?
    KeyxchgAlgoEcdhe bool
    Allow ECDHE algorithm?
    KeyxchgAlgoRsa bool
    Allow RSA algorithm?
    MaxVersion string
    Maximum TLS version
    MinVersion string
    Minimum TLS version
    authAlgoSha1 Boolean
    Allow SHA1 authentication?
    authAlgoSha256 Boolean
    Allow SHA256 authentication?
    authAlgoSha384 Boolean
    Allow SHA384 authentication?
    encAlgoAes128Cbc Boolean
    Allow AES-128-CBC algorithm?
    encAlgoAes128Gcm Boolean
    Allow AES-128-GCM algorithm?
    encAlgoAes256Cbc Boolean
    Allow AES-256-CBC algorithm?
    encAlgoAes256Gcm Boolean
    Allow algorithm AES-256-GCM
    keyxchgAlgoDhe Boolean
    Allow DHE algorithm?
    keyxchgAlgoEcdhe Boolean
    Allow ECDHE algorithm?
    keyxchgAlgoRsa Boolean
    Allow RSA algorithm?
    maxVersion String
    Maximum TLS version
    minVersion String
    Minimum TLS version
    authAlgoSha1 boolean
    Allow SHA1 authentication?
    authAlgoSha256 boolean
    Allow SHA256 authentication?
    authAlgoSha384 boolean
    Allow SHA384 authentication?
    encAlgoAes128Cbc boolean
    Allow AES-128-CBC algorithm?
    encAlgoAes128Gcm boolean
    Allow AES-128-GCM algorithm?
    encAlgoAes256Cbc boolean
    Allow AES-256-CBC algorithm?
    encAlgoAes256Gcm boolean
    Allow algorithm AES-256-GCM
    keyxchgAlgoDhe boolean
    Allow DHE algorithm?
    keyxchgAlgoEcdhe boolean
    Allow ECDHE algorithm?
    keyxchgAlgoRsa boolean
    Allow RSA algorithm?
    maxVersion string
    Maximum TLS version
    minVersion string
    Minimum TLS version
    auth_algo_sha1 bool
    Allow SHA1 authentication?
    auth_algo_sha256 bool
    Allow SHA256 authentication?
    auth_algo_sha384 bool
    Allow SHA384 authentication?
    enc_algo_aes128_cbc bool
    Allow AES-128-CBC algorithm?
    enc_algo_aes128_gcm bool
    Allow AES-128-GCM algorithm?
    enc_algo_aes256_cbc bool
    Allow AES-256-CBC algorithm?
    enc_algo_aes256_gcm bool
    Allow algorithm AES-256-GCM
    keyxchg_algo_dhe bool
    Allow DHE algorithm?
    keyxchg_algo_ecdhe bool
    Allow ECDHE algorithm?
    keyxchg_algo_rsa bool
    Allow RSA algorithm?
    max_version str
    Maximum TLS version
    min_version str
    Minimum TLS version
    authAlgoSha1 Boolean
    Allow SHA1 authentication?
    authAlgoSha256 Boolean
    Allow SHA256 authentication?
    authAlgoSha384 Boolean
    Allow SHA384 authentication?
    encAlgoAes128Cbc Boolean
    Allow AES-128-CBC algorithm?
    encAlgoAes128Gcm Boolean
    Allow AES-128-GCM algorithm?
    encAlgoAes256Cbc Boolean
    Allow AES-256-CBC algorithm?
    encAlgoAes256Gcm Boolean
    Allow algorithm AES-256-GCM
    keyxchgAlgoDhe Boolean
    Allow DHE algorithm?
    keyxchgAlgoEcdhe Boolean
    Allow ECDHE algorithm?
    keyxchgAlgoRsa Boolean
    Allow RSA algorithm?
    maxVersion String
    Maximum TLS version
    minVersion String
    Minimum TLS version

    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.4 published on Saturday, Feb 14, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate