1. Packages
  2. Volcengine
  3. API Docs
  4. alb
  5. CaCertificates
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

volcengine.alb.CaCertificates

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

    Use this data source to query detailed information of alb ca certificates

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Volcengine.Alb.CaCertificates.Invoke(new()
        {
            Ids = new[]
            {
                "cert-1iidd2r9ii0hs74adhfeodxo1",
            },
        });
    
    });
    
    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.CaCertificates(ctx, &alb.CaCertificatesArgs{
    			Ids: []string{
    				"cert-1iidd2r9ii0hs74adhfeodxo1",
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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.CaCertificatesArgs;
    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 foo = AlbFunctions.CaCertificates(CaCertificatesArgs.builder()
                .ids("cert-1iidd2r9ii0hs74adhfeodxo1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.alb.ca_certificates(ids=["cert-1iidd2r9ii0hs74adhfeodxo1"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.alb.CaCertificates({
        ids: ["cert-1iidd2r9ii0hs74adhfeodxo1"],
    });
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:alb:CaCertificates
          Arguments:
            ids:
              - cert-1iidd2r9ii0hs74adhfeodxo1
    

    Using CaCertificates

    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 caCertificates(args: CaCertificatesArgs, opts?: InvokeOptions): Promise<CaCertificatesResult>
    function caCertificatesOutput(args: CaCertificatesOutputArgs, opts?: InvokeOptions): Output<CaCertificatesResult>
    def ca_certificates(ca_certificate_name: Optional[str] = None,
                        ids: Optional[Sequence[str]] = None,
                        name_regex: Optional[str] = None,
                        output_file: Optional[str] = None,
                        project_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> CaCertificatesResult
    def ca_certificates_output(ca_certificate_name: Optional[pulumi.Input[str]] = None,
                        ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                        name_regex: Optional[pulumi.Input[str]] = None,
                        output_file: Optional[pulumi.Input[str]] = None,
                        project_name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[CaCertificatesResult]
    func CaCertificates(ctx *Context, args *CaCertificatesArgs, opts ...InvokeOption) (*CaCertificatesResult, error)
    func CaCertificatesOutput(ctx *Context, args *CaCertificatesOutputArgs, opts ...InvokeOption) CaCertificatesResultOutput
    public static class CaCertificates 
    {
        public static Task<CaCertificatesResult> InvokeAsync(CaCertificatesArgs args, InvokeOptions? opts = null)
        public static Output<CaCertificatesResult> Invoke(CaCertificatesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<CaCertificatesResult> caCertificates(CaCertificatesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:alb:CaCertificates
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CaCertificateName string
    The name of the CA certificate.
    Ids List<string>
    A list of CA certificate IDs.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    ProjectName string
    The project name of the CA certificate.
    CaCertificateName string
    The name of the CA certificate.
    Ids []string
    A list of CA certificate IDs.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    ProjectName string
    The project name of the CA certificate.
    caCertificateName String
    The name of the CA certificate.
    ids List<String>
    A list of CA certificate IDs.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.
    projectName String
    The project name of the CA certificate.
    caCertificateName string
    The name of the CA certificate.
    ids string[]
    A list of CA certificate IDs.
    nameRegex string
    A Name Regex of Resource.
    outputFile string
    File name where to save data source results.
    projectName string
    The project name of the CA certificate.
    ca_certificate_name str
    The name of the CA certificate.
    ids Sequence[str]
    A list of CA certificate IDs.
    name_regex str
    A Name Regex of Resource.
    output_file str
    File name where to save data source results.
    project_name str
    The project name of the CA certificate.
    caCertificateName String
    The name of the CA certificate.
    ids List<String>
    A list of CA certificate IDs.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.
    projectName String
    The project name of the CA certificate.

    CaCertificates Result

    The following output properties are available:

    Certificates List<CaCertificatesCertificate>
    The collection of CA certificates query.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    CaCertificateName string
    The name of the CA certificate.
    Ids List<string>
    NameRegex string
    OutputFile string
    ProjectName string
    The ProjectName of the CA Certificate.
    Certificates []CaCertificatesCertificate
    The collection of CA certificates query.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    CaCertificateName string
    The name of the CA certificate.
    Ids []string
    NameRegex string
    OutputFile string
    ProjectName string
    The ProjectName of the CA Certificate.
    certificates List<CaCertificatesCertificate>
    The collection of CA certificates query.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Integer
    The total count of query.
    caCertificateName String
    The name of the CA certificate.
    ids List<String>
    nameRegex String
    outputFile String
    projectName String
    The ProjectName of the CA Certificate.
    certificates CaCertificatesCertificate[]
    The collection of CA certificates query.
    id string
    The provider-assigned unique ID for this managed resource.
    totalCount number
    The total count of query.
    caCertificateName string
    The name of the CA certificate.
    ids string[]
    nameRegex string
    outputFile string
    projectName string
    The ProjectName of the CA Certificate.
    certificates Sequence[CaCertificatesCertificate]
    The collection of CA certificates query.
    id str
    The provider-assigned unique ID for this managed resource.
    total_count int
    The total count of query.
    ca_certificate_name str
    The name of the CA certificate.
    ids Sequence[str]
    name_regex str
    output_file str
    project_name str
    The ProjectName of the CA Certificate.
    certificates List<Property Map>
    The collection of CA certificates query.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Number
    The total count of query.
    caCertificateName String
    The name of the CA certificate.
    ids List<String>
    nameRegex String
    outputFile String
    projectName String
    The ProjectName of the CA Certificate.

    Supporting Types

    CaCertificatesCertificate

    CaCertificateId string
    The ID of the CA certificate.
    CaCertificateName string
    The name of the CA certificate.
    CertificateType string
    The type of the CA certificate.
    CreateTime string
    The create time of the CA Certificate.
    Description string
    The description of the CA certificate.
    DomainName string
    The domain name of the CA Certificate.
    ExpiredAt string
    The expire time of the CA Certificate.
    Listeners List<string>
    The ID list of the CA Listener.
    ProjectName string
    The project name of the CA certificate.
    Status string
    The status of the CA Certificate.
    CaCertificateId string
    The ID of the CA certificate.
    CaCertificateName string
    The name of the CA certificate.
    CertificateType string
    The type of the CA certificate.
    CreateTime string
    The create time of the CA Certificate.
    Description string
    The description of the CA certificate.
    DomainName string
    The domain name of the CA Certificate.
    ExpiredAt string
    The expire time of the CA Certificate.
    Listeners []string
    The ID list of the CA Listener.
    ProjectName string
    The project name of the CA certificate.
    Status string
    The status of the CA Certificate.
    caCertificateId String
    The ID of the CA certificate.
    caCertificateName String
    The name of the CA certificate.
    certificateType String
    The type of the CA certificate.
    createTime String
    The create time of the CA Certificate.
    description String
    The description of the CA certificate.
    domainName String
    The domain name of the CA Certificate.
    expiredAt String
    The expire time of the CA Certificate.
    listeners List<String>
    The ID list of the CA Listener.
    projectName String
    The project name of the CA certificate.
    status String
    The status of the CA Certificate.
    caCertificateId string
    The ID of the CA certificate.
    caCertificateName string
    The name of the CA certificate.
    certificateType string
    The type of the CA certificate.
    createTime string
    The create time of the CA Certificate.
    description string
    The description of the CA certificate.
    domainName string
    The domain name of the CA Certificate.
    expiredAt string
    The expire time of the CA Certificate.
    listeners string[]
    The ID list of the CA Listener.
    projectName string
    The project name of the CA certificate.
    status string
    The status of the CA Certificate.
    ca_certificate_id str
    The ID of the CA certificate.
    ca_certificate_name str
    The name of the CA certificate.
    certificate_type str
    The type of the CA certificate.
    create_time str
    The create time of the CA Certificate.
    description str
    The description of the CA certificate.
    domain_name str
    The domain name of the CA Certificate.
    expired_at str
    The expire time of the CA Certificate.
    listeners Sequence[str]
    The ID list of the CA Listener.
    project_name str
    The project name of the CA certificate.
    status str
    The status of the CA Certificate.
    caCertificateId String
    The ID of the CA certificate.
    caCertificateName String
    The name of the CA certificate.
    certificateType String
    The type of the CA certificate.
    createTime String
    The create time of the CA Certificate.
    description String
    The description of the CA certificate.
    domainName String
    The domain name of the CA Certificate.
    expiredAt String
    The expire time of the CA Certificate.
    listeners List<String>
    The ID list of the CA Listener.
    projectName String
    The project name of the CA certificate.
    status String
    The status of the CA Certificate.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine