1. Packages
  2. Gcore Provider
  3. API Docs
  4. CdnTrustedCaCertificate
Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core

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

    Example Usage

    Create CdnTrustedCaCertificate Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CdnTrustedCaCertificate(name: string, args: CdnTrustedCaCertificateArgs, opts?: CustomResourceOptions);
    @overload
    def CdnTrustedCaCertificate(resource_name: str,
                                args: CdnTrustedCaCertificateArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def CdnTrustedCaCertificate(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                ssl_certificate: Optional[str] = None,
                                name: Optional[str] = None)
    func NewCdnTrustedCaCertificate(ctx *Context, name string, args CdnTrustedCaCertificateArgs, opts ...ResourceOption) (*CdnTrustedCaCertificate, error)
    public CdnTrustedCaCertificate(string name, CdnTrustedCaCertificateArgs args, CustomResourceOptions? opts = null)
    public CdnTrustedCaCertificate(String name, CdnTrustedCaCertificateArgs args)
    public CdnTrustedCaCertificate(String name, CdnTrustedCaCertificateArgs args, CustomResourceOptions options)
    
    type: gcore:CdnTrustedCaCertificate
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CdnTrustedCaCertificateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CdnTrustedCaCertificateArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CdnTrustedCaCertificateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CdnTrustedCaCertificateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CdnTrustedCaCertificateArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var cdnTrustedCaCertificateResource = new Gcore.Index.CdnTrustedCaCertificate("cdnTrustedCaCertificateResource", new()
    {
        SslCertificate = "string",
        Name = "string",
    });
    
    example, err := gcore.NewCdnTrustedCaCertificate(ctx, "cdnTrustedCaCertificateResource", &gcore.CdnTrustedCaCertificateArgs{
    	SslCertificate: pulumi.String("string"),
    	Name:           pulumi.String("string"),
    })
    
    var cdnTrustedCaCertificateResource = new CdnTrustedCaCertificate("cdnTrustedCaCertificateResource", CdnTrustedCaCertificateArgs.builder()
        .sslCertificate("string")
        .name("string")
        .build());
    
    cdn_trusted_ca_certificate_resource = gcore.CdnTrustedCaCertificate("cdnTrustedCaCertificateResource",
        ssl_certificate="string",
        name="string")
    
    const cdnTrustedCaCertificateResource = new gcore.CdnTrustedCaCertificate("cdnTrustedCaCertificateResource", {
        sslCertificate: "string",
        name: "string",
    });
    
    type: gcore:CdnTrustedCaCertificate
    properties:
        name: string
        sslCertificate: string
    

    CdnTrustedCaCertificate Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CdnTrustedCaCertificate resource accepts the following input properties:

    SslCertificate string

    Public part of the CA certificate.

    It must be in the PEM format.

    Name string
    CA certificate name.
    SslCertificate string

    Public part of the CA certificate.

    It must be in the PEM format.

    Name string
    CA certificate name.
    sslCertificate String

    Public part of the CA certificate.

    It must be in the PEM format.

    name String
    CA certificate name.
    sslCertificate string

    Public part of the CA certificate.

    It must be in the PEM format.

    name string
    CA certificate name.
    ssl_certificate str

    Public part of the CA certificate.

    It must be in the PEM format.

    name str
    CA certificate name.
    sslCertificate String

    Public part of the CA certificate.

    It must be in the PEM format.

    name String
    CA certificate name.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CdnTrustedCaCertificate resource produces the following output properties:

    CdnTrustedCaCertificateId double
    CA certificate ID.
    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.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    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 string
    The provider-assigned unique ID for this managed resource.
    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.)
    CdnTrustedCaCertificateId float64
    CA certificate ID.
    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.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    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 string
    The provider-assigned unique ID for this managed resource.
    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.)
    cdnTrustedCaCertificateId Double
    CA certificate ID.
    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.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    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 String
    The provider-assigned unique ID for this managed resource.
    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.)
    cdnTrustedCaCertificateId number
    CA certificate ID.
    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.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    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 string
    The provider-assigned unique ID for this managed resource.
    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.)
    cdn_trusted_ca_certificate_id float
    CA certificate ID.
    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.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    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 str
    The provider-assigned unique ID for this managed resource.
    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.)
    cdnTrustedCaCertificateId Number
    CA certificate ID.
    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.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    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 String
    The provider-assigned unique ID for this managed resource.
    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.)

    Look up Existing CdnTrustedCaCertificate Resource

    Get an existing CdnTrustedCaCertificate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CdnTrustedCaCertificateState, opts?: CustomResourceOptions): CdnTrustedCaCertificate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cdn_trusted_ca_certificate_id: Optional[float] = None,
            cert_issuer: Optional[str] = None,
            cert_subject_alt: Optional[str] = None,
            cert_subject_cn: Optional[str] = None,
            deleted: Optional[bool] = None,
            has_related_resources: Optional[bool] = None,
            name: Optional[str] = None,
            ssl_certificate: Optional[str] = None,
            ssl_certificate_chain: Optional[str] = None,
            validity_not_after: Optional[str] = None,
            validity_not_before: Optional[str] = None) -> CdnTrustedCaCertificate
    func GetCdnTrustedCaCertificate(ctx *Context, name string, id IDInput, state *CdnTrustedCaCertificateState, opts ...ResourceOption) (*CdnTrustedCaCertificate, error)
    public static CdnTrustedCaCertificate Get(string name, Input<string> id, CdnTrustedCaCertificateState? state, CustomResourceOptions? opts = null)
    public static CdnTrustedCaCertificate get(String name, Output<String> id, CdnTrustedCaCertificateState state, CustomResourceOptions options)
    resources:  _:    type: gcore:CdnTrustedCaCertificate    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CdnTrustedCaCertificateId double
    CA certificate ID.
    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.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    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.
    Name string
    CA certificate name.
    SslCertificate string

    Public part of the CA certificate.

    It must be in the PEM format.

    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.)
    CdnTrustedCaCertificateId float64
    CA certificate ID.
    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.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    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.
    Name string
    CA certificate name.
    SslCertificate string

    Public part of the CA certificate.

    It must be in the PEM format.

    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.)
    cdnTrustedCaCertificateId Double
    CA certificate ID.
    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.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    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.
    name String
    CA certificate name.
    sslCertificate String

    Public part of the CA certificate.

    It must be in the PEM format.

    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.)
    cdnTrustedCaCertificateId number
    CA certificate ID.
    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.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    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.
    name string
    CA certificate name.
    sslCertificate string

    Public part of the CA certificate.

    It must be in the PEM format.

    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.)
    cdn_trusted_ca_certificate_id float
    CA certificate ID.
    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.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    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.
    name str
    CA certificate name.
    ssl_certificate str

    Public part of the CA certificate.

    It must be in the PEM format.

    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.)
    cdnTrustedCaCertificateId Number
    CA certificate ID.
    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.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    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.
    name String
    CA certificate name.
    sslCertificate String

    Public part of the CA certificate.

    It must be in the PEM format.

    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.)

    Import

    $ pulumi import gcore:index/cdnTrustedCaCertificate:CdnTrustedCaCertificate example '<id>'
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.3
    published on Monday, Mar 30, 2026 by g-core
      Try Pulumi Cloud free. Your team will thank you.