1. Packages
  2. Scm Provider
  3. API Docs
  4. getCertificateProfile
Strata Cloud Manager v0.1.6 published on Wednesday, Oct 16, 2024 by Pulumi

scm.getCertificateProfile

Explore with Pulumi AI

scm logo
Strata Cloud Manager v0.1.6 published on Wednesday, Oct 16, 2024 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",
    });
    
    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: scm:index/getCertificateProfile:getCertificateProfile
      arguments:
        # arguments dictionary

    The 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:

    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 string
    The DefaultOcspUrl param.
    Name string
    The Name param.
    OcspVerifyCert string
    The OcspVerifyCert param.
    TemplateName string
    The TemplateName param.
    DefaultOcspUrl string
    The DefaultOcspUrl param.
    Name string
    The Name param.
    OcspVerifyCert string
    The OcspVerifyCert param.
    TemplateName string
    The TemplateName param.
    defaultOcspUrl String
    The DefaultOcspUrl param.
    name String
    The Name param.
    ocspVerifyCert String
    The OcspVerifyCert param.
    templateName String
    The TemplateName param.
    defaultOcspUrl string
    The DefaultOcspUrl param.
    name string
    The Name param.
    ocspVerifyCert string
    The OcspVerifyCert param.
    templateName string
    The TemplateName param.
    default_ocsp_url str
    The DefaultOcspUrl param.
    name str
    The Name param.
    ocsp_verify_cert str
    The OcspVerifyCert param.
    template_name str
    The TemplateName param.
    defaultOcspUrl String
    The DefaultOcspUrl param.
    name String
    The Name param.
    ocspVerifyCert String
    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 scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.1.6 published on Wednesday, Oct 16, 2024 by Pulumi