UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

88 lines (87 loc) 2.37 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of alb certificates * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.alb.getCertificates({ * certificateName: "tf-test", * }); * ``` */ export declare function getCertificates(args?: GetCertificatesArgs, opts?: pulumi.InvokeOptions): Promise<GetCertificatesResult>; /** * A collection of arguments for invoking getCertificates. */ export interface GetCertificatesArgs { /** * The Name of Certificate. */ certificateName?: string; /** * The list of Certificate IDs. */ ids?: string[]; /** * File name where to save data source results. */ outputFile?: string; } /** * A collection of values returned by getCertificates. */ export interface GetCertificatesResult { /** * The name of the Certificate. */ readonly certificateName?: string; /** * The collection of Certificate query. */ readonly certificates: outputs.alb.GetCertificatesCertificate[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ids?: string[]; readonly outputFile?: string; /** * The total count of Certificate query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of alb certificates * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.alb.getCertificates({ * certificateName: "tf-test", * }); * ``` */ export declare function getCertificatesOutput(args?: GetCertificatesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCertificatesResult>; /** * A collection of arguments for invoking getCertificates. */ export interface GetCertificatesOutputArgs { /** * The Name of Certificate. */ certificateName?: pulumi.Input<string>; /** * The list of Certificate IDs. */ ids?: pulumi.Input<pulumi.Input<string>[]>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; }