Viewing docs for Strata Cloud Manager v1.0.5
published on Saturday, Mar 21, 2026 by Pulumi
published on Saturday, Mar 21, 2026 by Pulumi
Viewing docs for Strata Cloud Manager v1.0.5
published on Saturday, Mar 21, 2026 by Pulumi
published on Saturday, Mar 21, 2026 by Pulumi
CertificateProfile data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
// Look up a single certificate profile object by its ID.
// The ID used here is from the API response log you provided.
const scmCertificateProfileDs = scm.getCertificateProfile({
id: "8e64859b-eba9-4e25-9005-754c90c2b02d",
});
export const exampleCpDsResult = scmCertificateProfileDs;
import pulumi
import pulumi_scm as scm
# Look up a single certificate profile object by its ID.
# The ID used here is from the API response log you provided.
scm_certificate_profile_ds = scm.get_certificate_profile(id="8e64859b-eba9-4e25-9005-754c90c2b02d")
pulumi.export("exampleCpDsResult", scm_certificate_profile_ds)
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 {
// Look up a single certificate profile object by its ID.
// The ID used here is from the API response log you provided.
scmCertificateProfileDs, err := scm.LookupCertificateProfile(ctx, &scm.LookupCertificateProfileArgs{
Id: "8e64859b-eba9-4e25-9005-754c90c2b02d",
}, nil)
if err != nil {
return err
}
ctx.Export("exampleCpDsResult", scmCertificateProfileDs)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
// Look up a single certificate profile object by its ID.
// The ID used here is from the API response log you provided.
var scmCertificateProfileDs = Scm.GetCertificateProfile.Invoke(new()
{
Id = "8e64859b-eba9-4e25-9005-754c90c2b02d",
});
return new Dictionary<string, object?>
{
["exampleCpDsResult"] = scmCertificateProfileDs,
};
});
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.GetCertificateProfileArgs;
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) {
// Look up a single certificate profile object by its ID.
// The ID used here is from the API response log you provided.
final var scmCertificateProfileDs = ScmFunctions.getCertificateProfile(GetCertificateProfileArgs.builder()
.id("8e64859b-eba9-4e25-9005-754c90c2b02d")
.build());
ctx.export("exampleCpDsResult", scmCertificateProfileDs);
}
}
variables:
# Look up a single certificate profile object by its ID.
# The ID used here is from the API response log you provided.
scmCertificateProfileDs:
fn::invoke:
function: scm:getCertificateProfile
arguments:
id: 8e64859b-eba9-4e25-9005-754c90c2b02d
outputs:
# Output the details of the single application object found.
exampleCpDsResult: ${scmCertificateProfileDs}
Using getCertificateProfile
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 getCertificateProfile(args: GetCertificateProfileArgs, opts?: InvokeOptions): Promise<GetCertificateProfileResult>
function getCertificateProfileOutput(args: GetCertificateProfileOutputArgs, opts?: InvokeOptions): Output<GetCertificateProfileResult>def get_certificate_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) -> GetCertificateProfileResult
def get_certificate_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[GetCertificateProfileResult]func LookupCertificateProfile(ctx *Context, args *LookupCertificateProfileArgs, opts ...InvokeOption) (*LookupCertificateProfileResult, error)
func LookupCertificateProfileOutput(ctx *Context, args *LookupCertificateProfileOutputArgs, opts ...InvokeOption) LookupCertificateProfileResultOutput> Note: This function is named LookupCertificateProfile in the Go SDK.
public static class GetCertificateProfile
{
public static Task<GetCertificateProfileResult> InvokeAsync(GetCertificateProfileArgs args, InvokeOptions? opts = null)
public static Output<GetCertificateProfileResult> Invoke(GetCertificateProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCertificateProfileResult> getCertificateProfile(GetCertificateProfileArgs args, InvokeOptions options)
public static Output<GetCertificateProfileResult> getCertificateProfile(GetCertificateProfileArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getCertificateProfile:getCertificateProfile
arguments:
# arguments dictionaryThe following arguments are supported:
getCertificateProfile Result
The following output properties are available:
- Block
Expired boolCert - Block
Timeout boolCert - Block
Unauthenticated boolCert - Block
Unknown boolCert - Ca
Certificates List<GetCertificate Profile Ca Certificate> - Cert
Status stringTimeout - Crl
Receive stringTimeout - Device string
- The device in which the resource is defined
- Domain string
- Folder string
- Id string
- The UUID of the certificate profile
- Name string
- Ocsp
Receive stringTimeout - Snippet string
- Tfid string
- Use
Crl bool - Use
Ocsp bool - Username
Field GetCertificate Profile Username Field
- Block
Expired boolCert - Block
Timeout boolCert - Block
Unauthenticated boolCert - Block
Unknown boolCert - Ca
Certificates []GetCertificate Profile Ca Certificate - Cert
Status stringTimeout - Crl
Receive stringTimeout - Device string
- The device in which the resource is defined
- Domain string
- Folder string
- Id string
- The UUID of the certificate profile
- Name string
- Ocsp
Receive stringTimeout - Snippet string
- Tfid string
- Use
Crl bool - Use
Ocsp bool - Username
Field GetCertificate Profile Username Field
- block
Expired BooleanCert - block
Timeout BooleanCert - block
Unauthenticated BooleanCert - block
Unknown BooleanCert - ca
Certificates List<GetCertificate Profile Ca Certificate> - cert
Status StringTimeout - crl
Receive StringTimeout - device String
- The device in which the resource is defined
- domain String
- folder String
- id String
- The UUID of the certificate profile
- name String
- ocsp
Receive StringTimeout - snippet String
- tfid String
- use
Crl Boolean - use
Ocsp Boolean - username
Field GetCertificate Profile Username Field
- block
Expired booleanCert - block
Timeout booleanCert - block
Unauthenticated booleanCert - block
Unknown booleanCert - ca
Certificates GetCertificate Profile Ca Certificate[] - cert
Status stringTimeout - crl
Receive stringTimeout - device string
- The device in which the resource is defined
- domain string
- folder string
- id string
- The UUID of the certificate profile
- name string
- ocsp
Receive stringTimeout - snippet string
- tfid string
- use
Crl boolean - use
Ocsp boolean - username
Field GetCertificate Profile Username Field
- block_
expired_ boolcert - block_
timeout_ boolcert - block_
unauthenticated_ boolcert - block_
unknown_ boolcert - ca_
certificates Sequence[GetCertificate Profile Ca Certificate] - cert_
status_ strtimeout - crl_
receive_ strtimeout - device str
- The device in which the resource is defined
- domain str
- folder str
- id str
- The UUID of the certificate profile
- name str
- ocsp_
receive_ strtimeout - snippet str
- tfid str
- use_
crl bool - use_
ocsp bool - username_
field GetCertificate Profile Username Field
- block
Expired BooleanCert - block
Timeout BooleanCert - block
Unauthenticated BooleanCert - block
Unknown BooleanCert - ca
Certificates List<Property Map> - cert
Status StringTimeout - crl
Receive StringTimeout - device String
- The device in which the resource is defined
- domain String
- folder String
- id String
- The UUID of the certificate profile
- name String
- ocsp
Receive StringTimeout - snippet String
- tfid String
- use
Crl Boolean - use
Ocsp Boolean - username
Field Property Map
Supporting Types
GetCertificateProfileCaCertificate
- Default
Ocsp stringUrl - Default OCSP URL
- Name string
- CA certificate name
- Ocsp
Verify stringCert - OCSP verify certificate
- Template
Name string - Template name/OID
- Default
Ocsp stringUrl - Default OCSP URL
- Name string
- CA certificate name
- Ocsp
Verify stringCert - OCSP verify certificate
- Template
Name string - Template name/OID
- default
Ocsp StringUrl - Default OCSP URL
- name String
- CA certificate name
- ocsp
Verify StringCert - OCSP verify certificate
- template
Name String - Template name/OID
- default
Ocsp stringUrl - Default OCSP URL
- name string
- CA certificate name
- ocsp
Verify stringCert - OCSP verify certificate
- template
Name string - Template name/OID
- default_
ocsp_ strurl - Default OCSP URL
- name str
- CA certificate name
- ocsp_
verify_ strcert - OCSP verify certificate
- template_
name str - Template name/OID
- default
Ocsp StringUrl - Default OCSP URL
- name String
- CA certificate name
- ocsp
Verify StringCert - OCSP verify certificate
- template
Name String - Template name/OID
GetCertificateProfileUsernameField
- Subject string
- Common name
- Subject
Alt string - Email address
- Subject string
- Common name
- Subject
Alt string - Email address
- subject String
- Common name
- subject
Alt String - Email address
- subject string
- Common name
- subject
Alt string - Email address
- subject str
- Common name
- subject_
alt str - Email address
- subject String
- Common name
- subject
Alt String - Email address
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.5
published on Saturday, Mar 21, 2026 by Pulumi
published on Saturday, Mar 21, 2026 by Pulumi
