1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getCertificateProfile
Strata Cloud Manager v0.3.1 published on Thursday, Mar 13, 2025 by Pulumi

scm.getCertificateProfile

Explore with Pulumi AI

Strata Cloud Manager v0.3.1 published on Thursday, Mar 13, 2025 by Pulumi

Retrieves a config item.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";

const example = scm.getCertificateProfile({
    id: "1234-56-789",
});
Copy
import pulumi
import pulumi_scm as scm

example = scm.get_certificate_profile(id="1234-56-789")
Copy
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 {
		_, err := scm.LookupCertificateProfile(ctx, &scm.LookupCertificateProfileArgs{
			Id: "1234-56-789",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;

return await Deployment.RunAsync(() => 
{
    var example = Scm.GetCertificateProfile.Invoke(new()
    {
        Id = "1234-56-789",
    });

});
Copy
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) {
        final var example = ScmFunctions.getCertificateProfile(GetCertificateProfileArgs.builder()
            .id("1234-56-789")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: scm:getCertificateProfile
      arguments:
        id: 1234-56-789
Copy

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>
Copy
def get_certificate_profile(id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetCertificateProfileResult
def get_certificate_profile_output(id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetCertificateProfileResult]
Copy
func LookupCertificateProfile(ctx *Context, args *LookupCertificateProfileArgs, opts ...InvokeOption) (*LookupCertificateProfileResult, error)
func LookupCertificateProfileOutput(ctx *Context, args *LookupCertificateProfileOutputArgs, opts ...InvokeOption) LookupCertificateProfileResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetCertificateProfileResult> getCertificateProfile(GetCertificateProfileArgs args, InvokeOptions options)
public static Output<GetCertificateProfileResult> getCertificateProfile(GetCertificateProfileArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: scm:index/getCertificateProfile:getCertificateProfile
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id This property is required. string
The Id param.
Id This property is required. string
The Id param.
id This property is required. String
The Id param.
id This property is required. string
The Id param.
id This property is required. str
The Id param.
id This property is required. String
The Id param.

getCertificateProfile Result

The following output properties are available:

BlockExpiredCert bool
The BlockExpiredCert param.
BlockTimeoutCert bool
The BlockTimeoutCert param.
BlockUnauthenticatedCert bool
The BlockUnauthenticatedCert param.
BlockUnknownCert bool
The BlockUnknownCert param.
CaCertificates List<GetCertificateProfileCaCertificate>
The CaCertificates param.
CertStatusTimeout string
The CertStatusTimeout param.
CrlReceiveTimeout string
The CrlReceiveTimeout param.
Domain string
The Domain param.
Id string
The Id param.
Name string
Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 63 characters.
OcspReceiveTimeout string
The OcspReceiveTimeout param.
Tfid string
UseCrl bool
The UseCrl param.
UseOcsp bool
The UseOcsp param.
UsernameField GetCertificateProfileUsernameField
The UsernameField param.
BlockExpiredCert bool
The BlockExpiredCert param.
BlockTimeoutCert bool
The BlockTimeoutCert param.
BlockUnauthenticatedCert bool
The BlockUnauthenticatedCert param.
BlockUnknownCert bool
The BlockUnknownCert param.
CaCertificates []GetCertificateProfileCaCertificate
The CaCertificates param.
CertStatusTimeout string
The CertStatusTimeout param.
CrlReceiveTimeout string
The CrlReceiveTimeout param.
Domain string
The Domain param.
Id string
The Id param.
Name string
Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 63 characters.
OcspReceiveTimeout string
The OcspReceiveTimeout param.
Tfid string
UseCrl bool
The UseCrl param.
UseOcsp bool
The UseOcsp param.
UsernameField GetCertificateProfileUsernameField
The UsernameField param.
blockExpiredCert Boolean
The BlockExpiredCert param.
blockTimeoutCert Boolean
The BlockTimeoutCert param.
blockUnauthenticatedCert Boolean
The BlockUnauthenticatedCert param.
blockUnknownCert Boolean
The BlockUnknownCert param.
caCertificates List<GetCertificateProfileCaCertificate>
The CaCertificates param.
certStatusTimeout String
The CertStatusTimeout param.
crlReceiveTimeout String
The CrlReceiveTimeout param.
domain String
The Domain param.
id String
The Id param.
name String
Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 63 characters.
ocspReceiveTimeout String
The OcspReceiveTimeout param.
tfid String
useCrl Boolean
The UseCrl param.
useOcsp Boolean
The UseOcsp param.
usernameField GetCertificateProfileUsernameField
The UsernameField param.
blockExpiredCert boolean
The BlockExpiredCert param.
blockTimeoutCert boolean
The BlockTimeoutCert param.
blockUnauthenticatedCert boolean
The BlockUnauthenticatedCert param.
blockUnknownCert boolean
The BlockUnknownCert param.
caCertificates GetCertificateProfileCaCertificate[]
The CaCertificates param.
certStatusTimeout string
The CertStatusTimeout param.
crlReceiveTimeout string
The CrlReceiveTimeout param.
domain string
The Domain param.
id string
The Id param.
name string
Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 63 characters.
ocspReceiveTimeout string
The OcspReceiveTimeout param.
tfid string
useCrl boolean
The UseCrl param.
useOcsp boolean
The UseOcsp param.
usernameField GetCertificateProfileUsernameField
The UsernameField param.
block_expired_cert bool
The BlockExpiredCert param.
block_timeout_cert bool
The BlockTimeoutCert param.
block_unauthenticated_cert bool
The BlockUnauthenticatedCert param.
block_unknown_cert bool
The BlockUnknownCert param.
ca_certificates Sequence[GetCertificateProfileCaCertificate]
The CaCertificates param.
cert_status_timeout str
The CertStatusTimeout param.
crl_receive_timeout str
The CrlReceiveTimeout param.
domain str
The Domain param.
id str
The Id param.
name str
Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 63 characters.
ocsp_receive_timeout str
The OcspReceiveTimeout param.
tfid str
use_crl bool
The UseCrl param.
use_ocsp bool
The UseOcsp param.
username_field GetCertificateProfileUsernameField
The UsernameField param.
blockExpiredCert Boolean
The BlockExpiredCert param.
blockTimeoutCert Boolean
The BlockTimeoutCert param.
blockUnauthenticatedCert Boolean
The BlockUnauthenticatedCert param.
blockUnknownCert Boolean
The BlockUnknownCert param.
caCertificates List<Property Map>
The CaCertificates param.
certStatusTimeout String
The CertStatusTimeout param.
crlReceiveTimeout String
The CrlReceiveTimeout param.
domain String
The Domain param.
id String
The Id param.
name String
Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 63 characters.
ocspReceiveTimeout String
The OcspReceiveTimeout param.
tfid String
useCrl Boolean
The UseCrl param.
useOcsp Boolean
The UseOcsp param.
usernameField Property Map
The UsernameField param.

Supporting Types

GetCertificateProfileCaCertificate

DefaultOcspUrl This property is required. string
The DefaultOcspUrl param.
Name This property is required. string
The Name param.
OcspVerifyCert This property is required. string
The OcspVerifyCert param.
TemplateName This property is required. string
The TemplateName param.
DefaultOcspUrl This property is required. string
The DefaultOcspUrl param.
Name This property is required. string
The Name param.
OcspVerifyCert This property is required. string
The OcspVerifyCert param.
TemplateName This property is required. string
The TemplateName param.
defaultOcspUrl This property is required. String
The DefaultOcspUrl param.
name This property is required. String
The Name param.
ocspVerifyCert This property is required. String
The OcspVerifyCert param.
templateName This property is required. String
The TemplateName param.
defaultOcspUrl This property is required. string
The DefaultOcspUrl param.
name This property is required. string
The Name param.
ocspVerifyCert This property is required. string
The OcspVerifyCert param.
templateName This property is required. string
The TemplateName param.
default_ocsp_url This property is required. str
The DefaultOcspUrl param.
name This property is required. str
The Name param.
ocsp_verify_cert This property is required. str
The OcspVerifyCert param.
template_name This property is required. str
The TemplateName param.
defaultOcspUrl This property is required. String
The DefaultOcspUrl param.
name This property is required. String
The Name param.
ocspVerifyCert This property is required. String
The OcspVerifyCert param.
templateName This property is required. String
The TemplateName param.

GetCertificateProfileUsernameField

Subject This property is required. string
The Subject param. String must be one of these: "common-name".
SubjectAlt This property is required. string
The SubjectAlt param. String must be one of these: "email".
Subject This property is required. string
The Subject param. String must be one of these: "common-name".
SubjectAlt This property is required. string
The SubjectAlt param. String must be one of these: "email".
subject This property is required. String
The Subject param. String must be one of these: "common-name".
subjectAlt This property is required. String
The SubjectAlt param. String must be one of these: "email".
subject This property is required. string
The Subject param. String must be one of these: "common-name".
subjectAlt This property is required. string
The SubjectAlt param. String must be one of these: "email".
subject This property is required. str
The Subject param. String must be one of these: "common-name".
subject_alt This property is required. str
The SubjectAlt param. String must be one of these: "email".
subject This property is required. String
The Subject param. String must be one of these: "common-name".
subjectAlt This property is required. String
The SubjectAlt param. String must be one of these: "email".

Package Details

Repository
scm pulumi/pulumi-scm
License
Apache-2.0
Notes
This Pulumi package is based on the scm Terraform Provider.
Strata Cloud Manager v0.3.1 published on Thursday, Mar 13, 2025 by Pulumi