1. Packages
  2. Packages
  3. Gcore Provider
  4. API Docs
  5. getCdnTrustedCaCertificates
Viewing docs for gcore 2.0.0-alpha.15
published on Thursday, Aug 6, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.15
published on Thursday, Aug 6, 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 exampleCdnTrustedCaCertificates = gcore.getCdnTrustedCaCertificates({
        automated: true,
        resourceId: 0,
        validityNotAfterLte: "validity_not_after_lte",
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    example_cdn_trusted_ca_certificates = gcore.get_cdn_trusted_ca_certificates(automated=True,
        resource_id=0,
        validity_not_after_lte="validity_not_after_lte")
    
    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.GetCdnTrustedCaCertificates(ctx, &gcore.GetCdnTrustedCaCertificatesArgs{
    			Automated:           pulumi.BoolRef(true),
    			ResourceId:          pulumi.Float64Ref(0),
    			ValidityNotAfterLte: pulumi.StringRef("validity_not_after_lte"),
    		}, 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 exampleCdnTrustedCaCertificates = Gcore.GetCdnTrustedCaCertificates.Invoke(new()
        {
            Automated = true,
            ResourceId = 0,
            ValidityNotAfterLte = "validity_not_after_lte",
        });
    
    });
    
    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.GetCdnTrustedCaCertificatesArgs;
    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 exampleCdnTrustedCaCertificates = GcoreFunctions.getCdnTrustedCaCertificates(GetCdnTrustedCaCertificatesArgs.builder()
                .automated(true)
                .resourceId(0)
                .validityNotAfterLte("validity_not_after_lte")
                .build());
    
        }
    }
    
    variables:
      exampleCdnTrustedCaCertificates:
        fn::invoke:
          function: gcore:getCdnTrustedCaCertificates
          arguments:
            automated: true
            resourceId: 0
            validityNotAfterLte: validity_not_after_lte
    
    Example coming soon!
    

    Using getCdnTrustedCaCertificates

    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 getCdnTrustedCaCertificates(args: GetCdnTrustedCaCertificatesArgs, opts?: InvokeOptions): Promise<GetCdnTrustedCaCertificatesResult>
    function getCdnTrustedCaCertificatesOutput(args: GetCdnTrustedCaCertificatesOutputArgs, opts?: InvokeOptions): Output<GetCdnTrustedCaCertificatesResult>
    def get_cdn_trusted_ca_certificates(automated: Optional[bool] = None,
                                        max_items: Optional[float] = None,
                                        resource_id: Optional[float] = None,
                                        validity_not_after_lte: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetCdnTrustedCaCertificatesResult
    def get_cdn_trusted_ca_certificates_output(automated: pulumi.Input[Optional[bool]] = None,
                                        max_items: pulumi.Input[Optional[float]] = None,
                                        resource_id: pulumi.Input[Optional[float]] = None,
                                        validity_not_after_lte: pulumi.Input[Optional[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetCdnTrustedCaCertificatesResult]
    func GetCdnTrustedCaCertificates(ctx *Context, args *GetCdnTrustedCaCertificatesArgs, opts ...InvokeOption) (*GetCdnTrustedCaCertificatesResult, error)
    func GetCdnTrustedCaCertificatesOutput(ctx *Context, args *GetCdnTrustedCaCertificatesOutputArgs, opts ...InvokeOption) GetCdnTrustedCaCertificatesResultOutput

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

    public static class GetCdnTrustedCaCertificates 
    {
        public static Task<GetCdnTrustedCaCertificatesResult> InvokeAsync(GetCdnTrustedCaCertificatesArgs args, InvokeOptions? opts = null)
        public static Output<GetCdnTrustedCaCertificatesResult> Invoke(GetCdnTrustedCaCertificatesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCdnTrustedCaCertificatesResult> getCdnTrustedCaCertificates(GetCdnTrustedCaCertificatesArgs args, InvokeOptions options)
    public static Output<GetCdnTrustedCaCertificatesResult> getCdnTrustedCaCertificates(GetCdnTrustedCaCertificatesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcore:index/getCdnTrustedCaCertificates:getCdnTrustedCaCertificates
      arguments:
        # arguments dictionary
    data "gcore_get_cdn_trusted_ca_certificates" "name" {
        # arguments
    }

    The following arguments are supported:

    Automated bool
    How the certificate was issued.
    MaxItems double
    ResourceId double
    ValidityNotAfterLte string
    Automated bool
    How the certificate was issued.
    MaxItems float64
    ResourceId float64
    ValidityNotAfterLte string
    automated bool
    How the certificate was issued.
    max_items number
    resource_id number
    validity_not_after_lte string
    automated Boolean
    How the certificate was issued.
    maxItems Double
    resourceId Double
    validityNotAfterLte String
    automated boolean
    How the certificate was issued.
    maxItems number
    resourceId number
    validityNotAfterLte string
    automated bool
    How the certificate was issued.
    max_items float
    resource_id float
    validity_not_after_lte str
    automated Boolean
    How the certificate was issued.
    maxItems Number
    resourceId Number
    validityNotAfterLte String

    getCdnTrustedCaCertificates Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<GetCdnTrustedCaCertificatesItem>
    Automated bool
    How the certificate was issued.
    MaxItems double
    ResourceId double
    ValidityNotAfterLte string
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []GetCdnTrustedCaCertificatesItem
    Automated bool
    How the certificate was issued.
    MaxItems float64
    ResourceId float64
    ValidityNotAfterLte string
    id string
    The provider-assigned unique ID for this managed resource.
    items list(object)
    automated bool
    How the certificate was issued.
    max_items number
    resource_id number
    validity_not_after_lte string
    id String
    The provider-assigned unique ID for this managed resource.
    items List<GetCdnTrustedCaCertificatesItem>
    automated Boolean
    How the certificate was issued.
    maxItems Double
    resourceId Double
    validityNotAfterLte String
    id string
    The provider-assigned unique ID for this managed resource.
    items GetCdnTrustedCaCertificatesItem[]
    automated boolean
    How the certificate was issued.
    maxItems number
    resourceId number
    validityNotAfterLte string
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[GetCdnTrustedCaCertificatesItem]
    automated bool
    How the certificate was issued.
    max_items float
    resource_id float
    validity_not_after_lte str
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    automated Boolean
    How the certificate was issued.
    maxItems Number
    resourceId Number
    validityNotAfterLte String

    Supporting Types

    GetCdnTrustedCaCertificatesItem

    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

    Defines whether the CA certificate is used by a CDN resource.

    Possible values:

    • true - Certificate is used by a CDN resource.
    • false - Certificate is not used by a CDN resource.
    Id double
    CA certificate ID.
    Name string
    CA certificate name.
    SslCertificateChain string
    Parameter is deprecated.
    ValidityNotAfter string
    Date when the CA certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
    ValidityNotBefore string
    Date when the CA certificate become valid (ISO 8601/RFC 3339 format, UTC.)
    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

    Defines whether the CA certificate is used by a CDN resource.

    Possible values:

    • true - Certificate is used by a CDN resource.
    • false - Certificate is not used by a CDN resource.
    Id float64
    CA certificate ID.
    Name string
    CA certificate name.
    SslCertificateChain string
    Parameter is deprecated.
    ValidityNotAfter string
    Date when the CA certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
    ValidityNotBefore string
    Date when the CA certificate become valid (ISO 8601/RFC 3339 format, UTC.)
    cert_issuer string
    Name of the certification center that issued the CA certificate.
    cert_subject_alt string
    Alternative domain names that the CA certificate secures.
    cert_subject_cn string
    Domain name that the CA certificate secures.
    deleted bool
    Defines whether the certificate has been deleted. Parameter is deprecated.
    has_related_resources bool

    Defines whether the CA certificate is used by a CDN resource.

    Possible values:

    • true - Certificate is used by a CDN resource.
    • false - Certificate is not used by a CDN resource.
    id number
    CA certificate ID.
    name string
    CA certificate name.
    ssl_certificate_chain string
    Parameter is deprecated.
    validity_not_after string
    Date when the CA certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
    validity_not_before string
    Date when the CA certificate become valid (ISO 8601/RFC 3339 format, UTC.)
    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

    Defines whether the CA certificate is used by a CDN resource.

    Possible values:

    • true - Certificate is used by a CDN resource.
    • false - Certificate is not used by a CDN resource.
    id Double
    CA certificate ID.
    name String
    CA certificate name.
    sslCertificateChain String
    Parameter is deprecated.
    validityNotAfter String
    Date when the CA certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
    validityNotBefore String
    Date when the CA certificate become valid (ISO 8601/RFC 3339 format, UTC.)
    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

    Defines whether the CA certificate is used by a CDN resource.

    Possible values:

    • true - Certificate is used by a CDN resource.
    • false - Certificate is not used by a CDN resource.
    id number
    CA certificate ID.
    name string
    CA certificate name.
    sslCertificateChain string
    Parameter is deprecated.
    validityNotAfter string
    Date when the CA certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
    validityNotBefore string
    Date when the CA certificate become valid (ISO 8601/RFC 3339 format, UTC.)
    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

    Defines whether the CA certificate is used by a CDN resource.

    Possible values:

    • true - Certificate is used by a CDN resource.
    • false - Certificate is not used by a CDN resource.
    id float
    CA certificate ID.
    name str
    CA certificate name.
    ssl_certificate_chain str
    Parameter is deprecated.
    validity_not_after str
    Date when the CA certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
    validity_not_before str
    Date when the CA certificate become valid (ISO 8601/RFC 3339 format, UTC.)
    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

    Defines whether the CA certificate is used by a CDN resource.

    Possible values:

    • true - Certificate is used by a CDN resource.
    • false - Certificate is not used by a CDN resource.
    id Number
    CA certificate ID.
    name String
    CA certificate name.
    sslCertificateChain String
    Parameter is deprecated.
    validityNotAfter String
    Date when the CA certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
    validityNotBefore String
    Date when the CA certificate become valid (ISO 8601/RFC 3339 format, UTC.)

    Package Details

    Repository
    gcore g-core/terraform-provider-gcore
    License
    Notes
    This Pulumi package is based on the gcore Terraform Provider.
    Viewing docs for gcore 2.0.0-alpha.15
    published on Thursday, Aug 6, 2026 by g-core

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial