1. Packages
  2. Volcengine
  3. API Docs
  4. alb
  5. Certificates
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.alb.Certificates

Explore with Pulumi AI

Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

Use this data source to query detailed information of alb certificates

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";

const default = volcengine.alb.Certificates({
    certificateName: "tf-test",
});
Copy
import pulumi
import pulumi_volcengine as volcengine

default = volcengine.alb.certificates(certificate_name="tf-test")
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/alb"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := alb.Certificates(ctx, &alb.CertificatesArgs{
			CertificateName: pulumi.StringRef("tf-test"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;

return await Deployment.RunAsync(() => 
{
    var @default = Volcengine.Alb.Certificates.Invoke(new()
    {
        CertificateName = "tf-test",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.alb.AlbFunctions;
import com.pulumi.volcengine.alb.inputs.CertificatesArgs;
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 default = AlbFunctions.Certificates(CertificatesArgs.builder()
            .certificateName("tf-test")
            .build());

    }
}
Copy
variables:
  default:
    fn::invoke:
      Function: volcengine:alb:Certificates
      Arguments:
        certificateName: tf-test
Copy

Using Certificates

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 certificates(args: CertificatesArgs, opts?: InvokeOptions): Promise<CertificatesResult>
function certificatesOutput(args: CertificatesOutputArgs, opts?: InvokeOptions): Output<CertificatesResult>
Copy
def certificates(certificate_name: Optional[str] = None,
                 ids: Optional[Sequence[str]] = None,
                 output_file: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> CertificatesResult
def certificates_output(certificate_name: Optional[pulumi.Input[str]] = None,
                 ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                 output_file: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[CertificatesResult]
Copy
func Certificates(ctx *Context, args *CertificatesArgs, opts ...InvokeOption) (*CertificatesResult, error)
func CertificatesOutput(ctx *Context, args *CertificatesOutputArgs, opts ...InvokeOption) CertificatesResultOutput
Copy
public static class Certificates 
{
    public static Task<CertificatesResult> InvokeAsync(CertificatesArgs args, InvokeOptions? opts = null)
    public static Output<CertificatesResult> Invoke(CertificatesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<CertificatesResult> certificates(CertificatesArgs args, InvokeOptions options)
public static Output<CertificatesResult> certificates(CertificatesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: volcengine:alb:Certificates
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CertificateName string
The Name of Certificate.
Ids List<string>
The list of Certificate IDs.
OutputFile string
File name where to save data source results.
CertificateName string
The Name of Certificate.
Ids []string
The list of Certificate IDs.
OutputFile string
File name where to save data source results.
certificateName String
The Name of Certificate.
ids List<String>
The list of Certificate IDs.
outputFile String
File name where to save data source results.
certificateName string
The Name of Certificate.
ids string[]
The list of Certificate IDs.
outputFile string
File name where to save data source results.
certificate_name str
The Name of Certificate.
ids Sequence[str]
The list of Certificate IDs.
output_file str
File name where to save data source results.
certificateName String
The Name of Certificate.
ids List<String>
The list of Certificate IDs.
outputFile String
File name where to save data source results.

Certificates Result

The following output properties are available:

Certificates List<CertificatesCertificate>
The collection of Certificate query.
Id string
The provider-assigned unique ID for this managed resource.
TotalCount int
The total count of Certificate query.
CertificateName string
The name of the Certificate.
Ids List<string>
OutputFile string
Certificates []CertificatesCertificate
The collection of Certificate query.
Id string
The provider-assigned unique ID for this managed resource.
TotalCount int
The total count of Certificate query.
CertificateName string
The name of the Certificate.
Ids []string
OutputFile string
certificates List<CertificatesCertificate>
The collection of Certificate query.
id String
The provider-assigned unique ID for this managed resource.
totalCount Integer
The total count of Certificate query.
certificateName String
The name of the Certificate.
ids List<String>
outputFile String
certificates CertificatesCertificate[]
The collection of Certificate query.
id string
The provider-assigned unique ID for this managed resource.
totalCount number
The total count of Certificate query.
certificateName string
The name of the Certificate.
ids string[]
outputFile string
certificates Sequence[CertificatesCertificate]
The collection of Certificate query.
id str
The provider-assigned unique ID for this managed resource.
total_count int
The total count of Certificate query.
certificate_name str
The name of the Certificate.
ids Sequence[str]
output_file str
certificates List<Property Map>
The collection of Certificate query.
id String
The provider-assigned unique ID for this managed resource.
totalCount Number
The total count of Certificate query.
certificateName String
The name of the Certificate.
ids List<String>
outputFile String

Supporting Types

CertificatesCertificate

CertificateId This property is required. string
The ID of the Certificate.
CertificateName This property is required. string
The Name of Certificate.
CertificateType This property is required. string
The type of the Certificate.
CreateTime This property is required. string
The create time of the Certificate.
Description This property is required. string
The description of the Certificate.
DomainName This property is required. string
The domain name of the Certificate.
ExpiredAt This property is required. string
The expire time of the Certificate.
Id This property is required. string
The ID of the Certificate.
Listeners This property is required. List<string>
The ID list of the Listener.
ProjectName This property is required. string
The ProjectName of the Certificate.
Status This property is required. string
The status of the Certificate.
CertificateId This property is required. string
The ID of the Certificate.
CertificateName This property is required. string
The Name of Certificate.
CertificateType This property is required. string
The type of the Certificate.
CreateTime This property is required. string
The create time of the Certificate.
Description This property is required. string
The description of the Certificate.
DomainName This property is required. string
The domain name of the Certificate.
ExpiredAt This property is required. string
The expire time of the Certificate.
Id This property is required. string
The ID of the Certificate.
Listeners This property is required. []string
The ID list of the Listener.
ProjectName This property is required. string
The ProjectName of the Certificate.
Status This property is required. string
The status of the Certificate.
certificateId This property is required. String
The ID of the Certificate.
certificateName This property is required. String
The Name of Certificate.
certificateType This property is required. String
The type of the Certificate.
createTime This property is required. String
The create time of the Certificate.
description This property is required. String
The description of the Certificate.
domainName This property is required. String
The domain name of the Certificate.
expiredAt This property is required. String
The expire time of the Certificate.
id This property is required. String
The ID of the Certificate.
listeners This property is required. List<String>
The ID list of the Listener.
projectName This property is required. String
The ProjectName of the Certificate.
status This property is required. String
The status of the Certificate.
certificateId This property is required. string
The ID of the Certificate.
certificateName This property is required. string
The Name of Certificate.
certificateType This property is required. string
The type of the Certificate.
createTime This property is required. string
The create time of the Certificate.
description This property is required. string
The description of the Certificate.
domainName This property is required. string
The domain name of the Certificate.
expiredAt This property is required. string
The expire time of the Certificate.
id This property is required. string
The ID of the Certificate.
listeners This property is required. string[]
The ID list of the Listener.
projectName This property is required. string
The ProjectName of the Certificate.
status This property is required. string
The status of the Certificate.
certificate_id This property is required. str
The ID of the Certificate.
certificate_name This property is required. str
The Name of Certificate.
certificate_type This property is required. str
The type of the Certificate.
create_time This property is required. str
The create time of the Certificate.
description This property is required. str
The description of the Certificate.
domain_name This property is required. str
The domain name of the Certificate.
expired_at This property is required. str
The expire time of the Certificate.
id This property is required. str
The ID of the Certificate.
listeners This property is required. Sequence[str]
The ID list of the Listener.
project_name This property is required. str
The ProjectName of the Certificate.
status This property is required. str
The status of the Certificate.
certificateId This property is required. String
The ID of the Certificate.
certificateName This property is required. String
The Name of Certificate.
certificateType This property is required. String
The type of the Certificate.
createTime This property is required. String
The create time of the Certificate.
description This property is required. String
The description of the Certificate.
domainName This property is required. String
The domain name of the Certificate.
expiredAt This property is required. String
The expire time of the Certificate.
id This property is required. String
The ID of the Certificate.
listeners This property is required. List<String>
The ID list of the Listener.
projectName This property is required. String
The ProjectName of the Certificate.
status This property is required. String
The status of the Certificate.

Package Details

Repository
volcengine volcengine/pulumi-volcengine
License
Apache-2.0
Notes
This Pulumi package is based on the volcengine Terraform Provider.
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine