published on Thursday, Aug 6, 2026 by g-core
published on Thursday, Aug 6, 2026 by g-core
CDN SSL certificates enable HTTPS content delivery, supporting both uploaded certificates and automated Let’s Encrypt provisioning.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcore from "@pulumi/gcore";
const exampleCdnCertificates = gcore.getCdnCertificates({
automated: true,
resourceId: 0,
validityNotAfterLte: "validity_not_after_lte",
});
import pulumi
import pulumi_gcore as gcore
example_cdn_certificates = gcore.get_cdn_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.GetCdnCertificates(ctx, &gcore.GetCdnCertificatesArgs{
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 exampleCdnCertificates = Gcore.GetCdnCertificates.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.GetCdnCertificatesArgs;
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 exampleCdnCertificates = GcoreFunctions.getCdnCertificates(GetCdnCertificatesArgs.builder()
.automated(true)
.resourceId(0)
.validityNotAfterLte("validity_not_after_lte")
.build());
}
}
variables:
exampleCdnCertificates:
fn::invoke:
function: gcore:getCdnCertificates
arguments:
automated: true
resourceId: 0
validityNotAfterLte: validity_not_after_lte
Example coming soon!
Using getCdnCertificates
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 getCdnCertificates(args: GetCdnCertificatesArgs, opts?: InvokeOptions): Promise<GetCdnCertificatesResult>
function getCdnCertificatesOutput(args: GetCdnCertificatesOutputArgs, opts?: InvokeOptions): Output<GetCdnCertificatesResult>def get_cdn_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) -> GetCdnCertificatesResult
def get_cdn_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[GetCdnCertificatesResult]func GetCdnCertificates(ctx *Context, args *GetCdnCertificatesArgs, opts ...InvokeOption) (*GetCdnCertificatesResult, error)
func GetCdnCertificatesOutput(ctx *Context, args *GetCdnCertificatesOutputArgs, opts ...InvokeOption) GetCdnCertificatesResultOutput> Note: This function is named GetCdnCertificates in the Go SDK.
public static class GetCdnCertificates
{
public static Task<GetCdnCertificatesResult> InvokeAsync(GetCdnCertificatesArgs args, InvokeOptions? opts = null)
public static Output<GetCdnCertificatesResult> Invoke(GetCdnCertificatesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCdnCertificatesResult> getCdnCertificates(GetCdnCertificatesArgs args, InvokeOptions options)
public static Output<GetCdnCertificatesResult> getCdnCertificates(GetCdnCertificatesArgs args, InvokeOptions options)
fn::invoke:
function: gcore:index/getCdnCertificates:getCdnCertificates
arguments:
# arguments dictionarydata "gcore_get_cdn_certificates" "name" {
# arguments
}The following arguments are supported:
- Automated bool
- How the SSL certificate was issued.
- Max
Items double - Resource
Id double - Validity
Not stringAfter Lte
- Automated bool
- How the SSL certificate was issued.
- Max
Items float64 - Resource
Id float64 - Validity
Not stringAfter Lte
- automated bool
- How the SSL certificate was issued.
- max_
items number - resource_
id number - validity_
not_ stringafter_ lte
- automated Boolean
- How the SSL certificate was issued.
- max
Items Double - resource
Id Double - validity
Not StringAfter Lte
- automated boolean
- How the SSL certificate was issued.
- max
Items number - resource
Id number - validity
Not stringAfter Lte
- automated bool
- How the SSL certificate was issued.
- max_
items float - resource_
id float - validity_
not_ strafter_ lte
- automated Boolean
- How the SSL certificate was issued.
- max
Items Number - resource
Id Number - validity
Not StringAfter Lte
getCdnCertificates Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Cdn Certificates Item> - Automated bool
- How the SSL certificate was issued.
- Max
Items double - Resource
Id double - Validity
Not stringAfter Lte
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Cdn Certificates Item - Automated bool
- How the SSL certificate was issued.
- Max
Items float64 - Resource
Id float64 - Validity
Not stringAfter Lte
- id string
- The provider-assigned unique ID for this managed resource.
- items list(object)
- automated bool
- How the SSL certificate was issued.
- max_
items number - resource_
id number - validity_
not_ stringafter_ lte
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Cdn Certificates Item> - automated Boolean
- How the SSL certificate was issued.
- max
Items Double - resource
Id Double - validity
Not StringAfter Lte
- id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Cdn Certificates Item[] - automated boolean
- How the SSL certificate was issued.
- max
Items number - resource
Id number - validity
Not stringAfter Lte
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
Cdn Certificates Item] - automated bool
- How the SSL certificate was issued.
- max_
items float - resource_
id float - validity_
not_ strafter_ lte
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- automated Boolean
- How the SSL certificate was issued.
- max
Items Number - resource
Id Number - validity
Not StringAfter Lte
Supporting Types
GetCdnCertificatesItem
- Automated bool
- How the SSL certificate was issued.
- Cert
Issuer string - Name of the certification center issued the SSL certificate.
- Cert
Subject stringAlt - Alternative domain names that the SSL certificate secures.
- Cert
Subject stringCn - Domain name that the SSL 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.
- bool
Defines whether the SSL 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
- SSL certificate ID.
- Name string
- SSL certificate name.
- Ssl
Certificate stringChain - Parameter is deprecated.
- Validity
Not stringAfter - Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
- Validity
Not stringBefore - Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.)
- Automated bool
- How the SSL certificate was issued.
- Cert
Issuer string - Name of the certification center issued the SSL certificate.
- Cert
Subject stringAlt - Alternative domain names that the SSL certificate secures.
- Cert
Subject stringCn - Domain name that the SSL 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.
- bool
Defines whether the SSL 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
- SSL certificate ID.
- Name string
- SSL certificate name.
- Ssl
Certificate stringChain - Parameter is deprecated.
- Validity
Not stringAfter - Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
- Validity
Not stringBefore - Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.)
- automated bool
- How the SSL certificate was issued.
- cert_
issuer string - Name of the certification center issued the SSL certificate.
- cert_
subject_ stringalt - Alternative domain names that the SSL certificate secures.
- cert_
subject_ stringcn - Domain name that the SSL 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.
- bool
Defines whether the SSL 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
- SSL certificate ID.
- name string
- SSL certificate name.
- ssl_
certificate_ stringchain - Parameter is deprecated.
- validity_
not_ stringafter - Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
- validity_
not_ stringbefore - Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.)
- automated Boolean
- How the SSL certificate was issued.
- cert
Issuer String - Name of the certification center issued the SSL certificate.
- cert
Subject StringAlt - Alternative domain names that the SSL certificate secures.
- cert
Subject StringCn - Domain name that the SSL 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.
- Boolean
Defines whether the SSL 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
- SSL certificate ID.
- name String
- SSL certificate name.
- ssl
Certificate StringChain - Parameter is deprecated.
- validity
Not StringAfter - Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
- validity
Not StringBefore - Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.)
- automated boolean
- How the SSL certificate was issued.
- cert
Issuer string - Name of the certification center issued the SSL certificate.
- cert
Subject stringAlt - Alternative domain names that the SSL certificate secures.
- cert
Subject stringCn - Domain name that the SSL 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.
- boolean
Defines whether the SSL 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
- SSL certificate ID.
- name string
- SSL certificate name.
- ssl
Certificate stringChain - Parameter is deprecated.
- validity
Not stringAfter - Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
- validity
Not stringBefore - Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.)
- automated bool
- How the SSL certificate was issued.
- cert_
issuer str - Name of the certification center issued the SSL certificate.
- cert_
subject_ stralt - Alternative domain names that the SSL certificate secures.
- cert_
subject_ strcn - Domain name that the SSL 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.
- bool
Defines whether the SSL 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
- SSL certificate ID.
- name str
- SSL certificate name.
- ssl_
certificate_ strchain - Parameter is deprecated.
- validity_
not_ strafter - Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
- validity_
not_ strbefore - Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.)
- automated Boolean
- How the SSL certificate was issued.
- cert
Issuer String - Name of the certification center issued the SSL certificate.
- cert
Subject StringAlt - Alternative domain names that the SSL certificate secures.
- cert
Subject StringCn - Domain name that the SSL 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.
- Boolean
Defines whether the SSL 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
- SSL certificate ID.
- name String
- SSL certificate name.
- ssl
Certificate StringChain - Parameter is deprecated.
- validity
Not StringAfter - Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
- validity
Not StringBefore - Date when 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
gcoreTerraform Provider.
published on Thursday, Aug 6, 2026 by g-core