Viewing docs for gcore 2.0.0-alpha.2
published on Tuesday, Mar 24, 2026 by g-core
published on Tuesday, Mar 24, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.2
published on Tuesday, Mar 24, 2026 by g-core
published on Tuesday, Mar 24, 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 exampleCdnCertificate = gcore.getCdnCertificate({
sslId: 0,
});
import pulumi
import pulumi_gcore as gcore
example_cdn_certificate = gcore.get_cdn_certificate(ssl_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.LookupCdnCertificate(ctx, &gcore.LookupCdnCertificateArgs{
SslId: 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 exampleCdnCertificate = Gcore.GetCdnCertificate.Invoke(new()
{
SslId = 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.GetCdnCertificateArgs;
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 exampleCdnCertificate = GcoreFunctions.getCdnCertificate(GetCdnCertificateArgs.builder()
.sslId(0)
.build());
}
}
variables:
exampleCdnCertificate:
fn::invoke:
function: gcore:getCdnCertificate
arguments:
sslId: 0
Using getCdnCertificate
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 getCdnCertificate(args: GetCdnCertificateArgs, opts?: InvokeOptions): Promise<GetCdnCertificateResult>
function getCdnCertificateOutput(args: GetCdnCertificateOutputArgs, opts?: InvokeOptions): Output<GetCdnCertificateResult>def get_cdn_certificate(ssl_id: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetCdnCertificateResult
def get_cdn_certificate_output(ssl_id: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCdnCertificateResult]func LookupCdnCertificate(ctx *Context, args *LookupCdnCertificateArgs, opts ...InvokeOption) (*LookupCdnCertificateResult, error)
func LookupCdnCertificateOutput(ctx *Context, args *LookupCdnCertificateOutputArgs, opts ...InvokeOption) LookupCdnCertificateResultOutput> Note: This function is named LookupCdnCertificate in the Go SDK.
public static class GetCdnCertificate
{
public static Task<GetCdnCertificateResult> InvokeAsync(GetCdnCertificateArgs args, InvokeOptions? opts = null)
public static Output<GetCdnCertificateResult> Invoke(GetCdnCertificateInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCdnCertificateResult> getCdnCertificate(GetCdnCertificateArgs args, InvokeOptions options)
public static Output<GetCdnCertificateResult> getCdnCertificate(GetCdnCertificateArgs args, InvokeOptions options)
fn::invoke:
function: gcore:index/getCdnCertificate:getCdnCertificate
arguments:
# arguments dictionaryThe following arguments are supported:
- Ssl
Id double
- Ssl
Id float64
- ssl
Id Double
- ssl
Id number
- ssl_
id float
- ssl
Id Number
getCdnCertificate Result
The following output properties are available:
- Automated bool
- How the SSL certificate was issued.
- Cert
Issuer string - Cert
Subject stringAlt - Cert
Subject stringCn - Deleted bool
- bool
- Id double
- Name string
- Ssl
Certificate stringChain - Ssl
Id double - Validity
Not stringAfter - Validity
Not stringBefore
- Automated bool
- How the SSL certificate was issued.
- Cert
Issuer string - Cert
Subject stringAlt - Cert
Subject stringCn - Deleted bool
- bool
- Id float64
- Name string
- Ssl
Certificate stringChain - Ssl
Id float64 - Validity
Not stringAfter - Validity
Not stringBefore
- automated Boolean
- How the SSL certificate was issued.
- cert
Issuer String - cert
Subject StringAlt - cert
Subject StringCn - deleted Boolean
- Boolean
- id Double
- name String
- ssl
Certificate StringChain - ssl
Id Double - validity
Not StringAfter - validity
Not StringBefore
- automated boolean
- How the SSL certificate was issued.
- cert
Issuer string - cert
Subject stringAlt - cert
Subject stringCn - deleted boolean
- boolean
- id number
- name string
- ssl
Certificate stringChain - ssl
Id number - validity
Not stringAfter - validity
Not stringBefore
- automated bool
- How the SSL certificate was issued.
- cert_
issuer str - cert_
subject_ stralt - cert_
subject_ strcn - deleted bool
- bool
- id float
- name str
- ssl_
certificate_ strchain - ssl_
id float - validity_
not_ strafter - validity_
not_ strbefore
- automated Boolean
- How the SSL certificate was issued.
- cert
Issuer String - cert
Subject StringAlt - cert
Subject StringCn - deleted Boolean
- Boolean
- id Number
- name String
- ssl
Certificate StringChain - ssl
Id Number - validity
Not StringAfter - validity
Not StringBefore
Package Details
- Repository
- gcore g-core/terraform-provider-gcore
- License
- Notes
- This Pulumi package is based on the
gcoreTerraform Provider.
Viewing docs for gcore 2.0.0-alpha.2
published on Tuesday, Mar 24, 2026 by g-core
published on Tuesday, Mar 24, 2026 by g-core
