UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

109 lines (108 loc) 2.92 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of alb ca certificates * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.alb.getCaCertificates({ * ids: ["cert-1iidd2r9ii0hs74adhfeodxo1"], * }); * ``` */ export declare function getCaCertificates(args?: GetCaCertificatesArgs, opts?: pulumi.InvokeOptions): Promise<GetCaCertificatesResult>; /** * A collection of arguments for invoking getCaCertificates. */ export interface GetCaCertificatesArgs { /** * The name of the CA certificate. */ caCertificateName?: string; /** * A list of CA certificate IDs. */ ids?: string[]; /** * A Name Regex of Resource. */ nameRegex?: string; /** * File name where to save data source results. */ outputFile?: string; /** * The project name of the CA certificate. */ projectName?: string; } /** * A collection of values returned by getCaCertificates. */ export interface GetCaCertificatesResult { /** * The name of the CA certificate. */ readonly caCertificateName?: string; /** * The collection of CA certificates query. */ readonly certificates: outputs.alb.GetCaCertificatesCertificate[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ids?: string[]; readonly nameRegex?: string; readonly outputFile?: string; /** * The ProjectName of the CA Certificate. */ readonly projectName?: string; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of alb ca certificates * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.alb.getCaCertificates({ * ids: ["cert-1iidd2r9ii0hs74adhfeodxo1"], * }); * ``` */ export declare function getCaCertificatesOutput(args?: GetCaCertificatesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCaCertificatesResult>; /** * A collection of arguments for invoking getCaCertificates. */ export interface GetCaCertificatesOutputArgs { /** * The name of the CA certificate. */ caCertificateName?: pulumi.Input<string>; /** * A list of CA certificate IDs. */ ids?: pulumi.Input<pulumi.Input<string>[]>; /** * A Name Regex of Resource. */ nameRegex?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The project name of the CA certificate. */ projectName?: pulumi.Input<string>; }