vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs
vkcs.getCdnSslCertificate
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vkcs from "@pulumi/vkcs";
const cert = vkcs.getCdnSslCertificate({
name: vkcs_cdn_ssl_certificate.certificate.name,
});
import pulumi
import pulumi_vkcs as vkcs
cert = vkcs.get_cdn_ssl_certificate(name=vkcs_cdn_ssl_certificate["certificate"]["name"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vkcs/vkcs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vkcs.LookupCdnSslCertificate(ctx, &vkcs.LookupCdnSslCertificateArgs{
Name: vkcs_cdn_ssl_certificate.Certificate.Name,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vkcs = Pulumi.Vkcs;
return await Deployment.RunAsync(() =>
{
var cert = Vkcs.GetCdnSslCertificate.Invoke(new()
{
Name = vkcs_cdn_ssl_certificate.Certificate.Name,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vkcs.VkcsFunctions;
import com.pulumi.vkcs.inputs.GetCdnSslCertificateArgs;
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 cert = VkcsFunctions.getCdnSslCertificate(GetCdnSslCertificateArgs.builder()
.name(vkcs_cdn_ssl_certificate.certificate().name())
.build());
}
}
variables:
cert:
fn::invoke:
function: vkcs:getCdnSslCertificate
arguments:
name: ${vkcs_cdn_ssl_certificate.certificate.name}
Using getCdnSslCertificate
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 getCdnSslCertificate(args: GetCdnSslCertificateArgs, opts?: InvokeOptions): Promise<GetCdnSslCertificateResult>
function getCdnSslCertificateOutput(args: GetCdnSslCertificateOutputArgs, opts?: InvokeOptions): Output<GetCdnSslCertificateResult>
def get_cdn_ssl_certificate(name: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCdnSslCertificateResult
def get_cdn_ssl_certificate_output(name: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCdnSslCertificateResult]
func LookupCdnSslCertificate(ctx *Context, args *LookupCdnSslCertificateArgs, opts ...InvokeOption) (*LookupCdnSslCertificateResult, error)
func LookupCdnSslCertificateOutput(ctx *Context, args *LookupCdnSslCertificateOutputArgs, opts ...InvokeOption) LookupCdnSslCertificateResultOutput
> Note: This function is named LookupCdnSslCertificate
in the Go SDK.
public static class GetCdnSslCertificate
{
public static Task<GetCdnSslCertificateResult> InvokeAsync(GetCdnSslCertificateArgs args, InvokeOptions? opts = null)
public static Output<GetCdnSslCertificateResult> Invoke(GetCdnSslCertificateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCdnSslCertificateResult> getCdnSslCertificate(GetCdnSslCertificateArgs args, InvokeOptions options)
public static Output<GetCdnSslCertificateResult> getCdnSslCertificate(GetCdnSslCertificateArgs args, InvokeOptions options)
fn::invoke:
function: vkcs:index/getCdnSslCertificate:getCdnSslCertificate
arguments:
# arguments dictionary
The following arguments are supported:
getCdnSslCertificate Result
The following output properties are available:
- Id double
- number → ID of the SSL certificate.
- Issuer string
- string → Name of the certification center issued the SSL certificate.
- Name string
- Region string
- Subject
Cn string - string → Domain name that the SSL certificate secures.
- Validity
Not stringAfter - string → Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.).
- Validity
Not stringBefore - string → Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.).
- Id float64
- number → ID of the SSL certificate.
- Issuer string
- string → Name of the certification center issued the SSL certificate.
- Name string
- Region string
- Subject
Cn string - string → Domain name that the SSL certificate secures.
- Validity
Not stringAfter - string → Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.).
- Validity
Not stringBefore - string → Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.).
- id Double
- number → ID of the SSL certificate.
- issuer String
- string → Name of the certification center issued the SSL certificate.
- name String
- region String
- subject
Cn String - string → Domain name that the SSL certificate secures.
- validity
Not StringAfter - string → Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.).
- validity
Not StringBefore - string → Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.).
- id number
- number → ID of the SSL certificate.
- issuer string
- string → Name of the certification center issued the SSL certificate.
- name string
- region string
- subject
Cn string - string → Domain name that the SSL certificate secures.
- validity
Not stringAfter - string → Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.).
- validity
Not stringBefore - string → Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.).
- id float
- number → ID of the SSL certificate.
- issuer str
- string → Name of the certification center issued the SSL certificate.
- name str
- region str
- subject_
cn str - string → Domain name that the SSL certificate secures.
- validity_
not_ strafter - string → Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.).
- validity_
not_ strbefore - string → Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.).
- id Number
- number → ID of the SSL certificate.
- issuer String
- string → Name of the certification center issued the SSL certificate.
- name String
- region String
- subject
Cn String - string → Domain name that the SSL certificate secures.
- validity
Not StringAfter - string → Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.).
- validity
Not StringBefore - string → Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.).
Package Details
- Repository
- vkcs vk-cs/terraform-provider-vkcs
- License
- Notes
- This Pulumi package is based on the
vkcs
Terraform Provider.