1. Packages
  2. Gcore Provider
  3. API Docs
  4. getCdnTrustedCaCertificate
Viewing docs for gcore 2.0.0-alpha.2
published on Tuesday, Mar 24, 2026 by g-core
gcore logo
Viewing docs for gcore 2.0.0-alpha.2
published on Tuesday, Mar 24, 2026 by g-core

    Trusted CA certificates verify the authenticity of CDN origin servers during HTTPS connections.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    const exampleCdnTrustedCaCertificate = gcore.getCdnTrustedCaCertificate({
        id: 0,
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    example_cdn_trusted_ca_certificate = gcore.get_cdn_trusted_ca_certificate(id=0)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gcore.LookupCdnTrustedCaCertificate(ctx, &gcore.LookupCdnTrustedCaCertificateArgs{
    			Id: 0,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcore = Pulumi.Gcore;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleCdnTrustedCaCertificate = Gcore.GetCdnTrustedCaCertificate.Invoke(new()
        {
            Id = 0,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcore.GcoreFunctions;
    import com.pulumi.gcore.inputs.GetCdnTrustedCaCertificateArgs;
    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 exampleCdnTrustedCaCertificate = GcoreFunctions.getCdnTrustedCaCertificate(GetCdnTrustedCaCertificateArgs.builder()
                .id(0)
                .build());
    
        }
    }
    
    variables:
      exampleCdnTrustedCaCertificate:
        fn::invoke:
          function: gcore:getCdnTrustedCaCertificate
          arguments:
            id: 0
    

    Using getCdnTrustedCaCertificate

    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 getCdnTrustedCaCertificate(args: GetCdnTrustedCaCertificateArgs, opts?: InvokeOptions): Promise<GetCdnTrustedCaCertificateResult>
    function getCdnTrustedCaCertificateOutput(args: GetCdnTrustedCaCertificateOutputArgs, opts?: InvokeOptions): Output<GetCdnTrustedCaCertificateResult>
    def get_cdn_trusted_ca_certificate(id: Optional[float] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetCdnTrustedCaCertificateResult
    def get_cdn_trusted_ca_certificate_output(id: Optional[pulumi.Input[float]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetCdnTrustedCaCertificateResult]
    func LookupCdnTrustedCaCertificate(ctx *Context, args *LookupCdnTrustedCaCertificateArgs, opts ...InvokeOption) (*LookupCdnTrustedCaCertificateResult, error)
    func LookupCdnTrustedCaCertificateOutput(ctx *Context, args *LookupCdnTrustedCaCertificateOutputArgs, opts ...InvokeOption) LookupCdnTrustedCaCertificateResultOutput

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

    public static class GetCdnTrustedCaCertificate 
    {
        public static Task<GetCdnTrustedCaCertificateResult> InvokeAsync(GetCdnTrustedCaCertificateArgs args, InvokeOptions? opts = null)
        public static Output<GetCdnTrustedCaCertificateResult> Invoke(GetCdnTrustedCaCertificateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCdnTrustedCaCertificateResult> getCdnTrustedCaCertificate(GetCdnTrustedCaCertificateArgs args, InvokeOptions options)
    public static Output<GetCdnTrustedCaCertificateResult> getCdnTrustedCaCertificate(GetCdnTrustedCaCertificateArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcore:index/getCdnTrustedCaCertificate:getCdnTrustedCaCertificate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id double
    Id float64
    id Double
    id number
    id float
    id Number

    getCdnTrustedCaCertificate Result

    The following output properties are available:

    CertIssuer string
    Name of the certification center that issued the CA certificate.
    CertSubjectAlt string
    Alternative domain names that the CA certificate secures.
    CertSubjectCn string
    Domain name that the CA certificate secures.
    Deleted bool
    Defines whether the certificate has been deleted. Parameter is deprecated.
    HasRelatedResources bool
    Id double
    Name string
    SslCertificateChain string
    ValidityNotAfter string
    ValidityNotBefore string
    CertIssuer string
    Name of the certification center that issued the CA certificate.
    CertSubjectAlt string
    Alternative domain names that the CA certificate secures.
    CertSubjectCn string
    Domain name that the CA certificate secures.
    Deleted bool
    Defines whether the certificate has been deleted. Parameter is deprecated.
    HasRelatedResources bool
    Id float64
    Name string
    SslCertificateChain string
    ValidityNotAfter string
    ValidityNotBefore string
    certIssuer String
    Name of the certification center that issued the CA certificate.
    certSubjectAlt String
    Alternative domain names that the CA certificate secures.
    certSubjectCn String
    Domain name that the CA certificate secures.
    deleted Boolean
    Defines whether the certificate has been deleted. Parameter is deprecated.
    hasRelatedResources Boolean
    id Double
    name String
    sslCertificateChain String
    validityNotAfter String
    validityNotBefore String
    certIssuer string
    Name of the certification center that issued the CA certificate.
    certSubjectAlt string
    Alternative domain names that the CA certificate secures.
    certSubjectCn string
    Domain name that the CA certificate secures.
    deleted boolean
    Defines whether the certificate has been deleted. Parameter is deprecated.
    hasRelatedResources boolean
    id number
    name string
    sslCertificateChain string
    validityNotAfter string
    validityNotBefore string
    cert_issuer str
    Name of the certification center that issued the CA certificate.
    cert_subject_alt str
    Alternative domain names that the CA certificate secures.
    cert_subject_cn str
    Domain name that the CA certificate secures.
    deleted bool
    Defines whether the certificate has been deleted. Parameter is deprecated.
    has_related_resources bool
    id float
    name str
    ssl_certificate_chain str
    validity_not_after str
    validity_not_before str
    certIssuer String
    Name of the certification center that issued the CA certificate.
    certSubjectAlt String
    Alternative domain names that the CA certificate secures.
    certSubjectCn String
    Domain name that the CA certificate secures.
    deleted Boolean
    Defines whether the certificate has been deleted. Parameter is deprecated.
    hasRelatedResources Boolean
    id Number
    name String
    sslCertificateChain String
    validityNotAfter String
    validityNotBefore String

    Package Details

    Repository
    gcore g-core/terraform-provider-gcore
    License
    Notes
    This Pulumi package is based on the gcore Terraform Provider.
    gcore logo
    Viewing docs for gcore 2.0.0-alpha.2
    published on Tuesday, Mar 24, 2026 by g-core
      Try Pulumi Cloud free. Your team will thank you.