Strata Cloud Manager v0.3.1 published on Thursday, Mar 13, 2025 by Pulumi
scm.getCertificateProfile
Explore with Pulumi AI
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",
});
import pulumi
import pulumi_scm as scm
example = scm.get_certificate_profile(id="1234-56-789")
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
	})
}
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",
    });
});
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());
    }
}
variables:
  example:
    fn::invoke:
      function: scm:getCertificateProfile
      arguments:
        id: 1234-56-789
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(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]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:
- Id string
- The Id param.
- Id string
- The Id param.
- id String
- The Id param.
- id string
- The Id param.
- id str
- The Id param.
- id String
- The Id param.
getCertificateProfile Result
The following output properties are available:
- BlockExpired boolCert 
- The BlockExpiredCert param.
- BlockTimeout boolCert 
- The BlockTimeoutCert param.
- BlockUnauthenticated boolCert 
- The BlockUnauthenticatedCert param.
- BlockUnknown boolCert 
- The BlockUnknownCert param.
- CaCertificates List<GetCertificate Profile Ca Certificate> 
- The CaCertificates param.
- CertStatus stringTimeout 
- The CertStatusTimeout param.
- CrlReceive stringTimeout 
- 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.
- OcspReceive stringTimeout 
- The OcspReceiveTimeout param.
- Tfid string
- UseCrl bool
- The UseCrl param.
- UseOcsp bool
- The UseOcsp param.
- UsernameField GetCertificate Profile Username Field 
- The UsernameField param.
- BlockExpired boolCert 
- The BlockExpiredCert param.
- BlockTimeout boolCert 
- The BlockTimeoutCert param.
- BlockUnauthenticated boolCert 
- The BlockUnauthenticatedCert param.
- BlockUnknown boolCert 
- The BlockUnknownCert param.
- CaCertificates []GetCertificate Profile Ca Certificate 
- The CaCertificates param.
- CertStatus stringTimeout 
- The CertStatusTimeout param.
- CrlReceive stringTimeout 
- 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.
- OcspReceive stringTimeout 
- The OcspReceiveTimeout param.
- Tfid string
- UseCrl bool
- The UseCrl param.
- UseOcsp bool
- The UseOcsp param.
- UsernameField GetCertificate Profile Username Field 
- The UsernameField param.
- blockExpired BooleanCert 
- The BlockExpiredCert param.
- blockTimeout BooleanCert 
- The BlockTimeoutCert param.
- blockUnauthenticated BooleanCert 
- The BlockUnauthenticatedCert param.
- blockUnknown BooleanCert 
- The BlockUnknownCert param.
- caCertificates List<GetCertificate Profile Ca Certificate> 
- The CaCertificates param.
- certStatus StringTimeout 
- The CertStatusTimeout param.
- crlReceive StringTimeout 
- 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.
- ocspReceive StringTimeout 
- The OcspReceiveTimeout param.
- tfid String
- useCrl Boolean
- The UseCrl param.
- useOcsp Boolean
- The UseOcsp param.
- usernameField GetCertificate Profile Username Field 
- The UsernameField param.
- blockExpired booleanCert 
- The BlockExpiredCert param.
- blockTimeout booleanCert 
- The BlockTimeoutCert param.
- blockUnauthenticated booleanCert 
- The BlockUnauthenticatedCert param.
- blockUnknown booleanCert 
- The BlockUnknownCert param.
- caCertificates GetCertificate Profile Ca Certificate[] 
- The CaCertificates param.
- certStatus stringTimeout 
- The CertStatusTimeout param.
- crlReceive stringTimeout 
- 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.
- ocspReceive stringTimeout 
- The OcspReceiveTimeout param.
- tfid string
- useCrl boolean
- The UseCrl param.
- useOcsp boolean
- The UseOcsp param.
- usernameField GetCertificate Profile Username Field 
- The UsernameField param.
- block_expired_ boolcert 
- The BlockExpiredCert param.
- block_timeout_ boolcert 
- The BlockTimeoutCert param.
- block_unauthenticated_ boolcert 
- The BlockUnauthenticatedCert param.
- block_unknown_ boolcert 
- The BlockUnknownCert param.
- ca_certificates Sequence[GetCertificate Profile Ca Certificate] 
- The CaCertificates param.
- cert_status_ strtimeout 
- The CertStatusTimeout param.
- crl_receive_ strtimeout 
- 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_ strtimeout 
- The OcspReceiveTimeout param.
- tfid str
- use_crl bool
- The UseCrl param.
- use_ocsp bool
- The UseOcsp param.
- username_field GetCertificate Profile Username Field 
- The UsernameField param.
- blockExpired BooleanCert 
- The BlockExpiredCert param.
- blockTimeout BooleanCert 
- The BlockTimeoutCert param.
- blockUnauthenticated BooleanCert 
- The BlockUnauthenticatedCert param.
- blockUnknown BooleanCert 
- The BlockUnknownCert param.
- caCertificates List<Property Map>
- The CaCertificates param.
- certStatus StringTimeout 
- The CertStatusTimeout param.
- crlReceive StringTimeout 
- 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.
- ocspReceive StringTimeout 
- The OcspReceiveTimeout param.
- tfid String
- useCrl Boolean
- The UseCrl param.
- useOcsp Boolean
- The UseOcsp param.
- usernameField Property Map
- The UsernameField param.
Supporting Types
GetCertificateProfileCaCertificate    
- DefaultOcsp stringUrl 
- The DefaultOcspUrl param.
- Name string
- The Name param.
- OcspVerify stringCert 
- The OcspVerifyCert param.
- TemplateName string
- The TemplateName param.
- DefaultOcsp stringUrl 
- The DefaultOcspUrl param.
- Name string
- The Name param.
- OcspVerify stringCert 
- The OcspVerifyCert param.
- TemplateName string
- The TemplateName param.
- defaultOcsp StringUrl 
- The DefaultOcspUrl param.
- name String
- The Name param.
- ocspVerify StringCert 
- The OcspVerifyCert param.
- templateName String
- The TemplateName param.
- defaultOcsp stringUrl 
- The DefaultOcspUrl param.
- name string
- The Name param.
- ocspVerify stringCert 
- The OcspVerifyCert param.
- templateName string
- The TemplateName param.
- default_ocsp_ strurl 
- The DefaultOcspUrl param.
- name str
- The Name param.
- ocsp_verify_ strcert 
- The OcspVerifyCert param.
- template_name str
- The TemplateName param.
- defaultOcsp StringUrl 
- The DefaultOcspUrl param.
- name String
- The Name param.
- ocspVerify StringCert 
- The OcspVerifyCert param.
- templateName String
- The TemplateName param.
GetCertificateProfileUsernameField    
- Subject string
- The Subject param. String must be one of these: "common-name".
- SubjectAlt string
- The SubjectAlt param. String must be one of these: "email".
- Subject string
- The Subject param. String must be one of these: "common-name".
- SubjectAlt string
- The SubjectAlt param. String must be one of these: "email".
- subject String
- The Subject param. String must be one of these: "common-name".
- subjectAlt String
- The SubjectAlt param. String must be one of these: "email".
- subject string
- The Subject param. String must be one of these: "common-name".
- subjectAlt string
- The SubjectAlt param. String must be one of these: "email".
- subject str
- The Subject param. String must be one of these: "common-name".
- subject_alt str
- The SubjectAlt param. String must be one of these: "email".
- subject String
- The Subject param. String must be one of these: "common-name".
- subjectAlt 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 scmTerraform Provider.
