UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

121 lines (120 loc) 3.12 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; 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", * tags: [{ * key: "k1", * value: "v1", * }], * }); * ``` */ 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; /** * The project name to which the certificate belongs. */ projectName?: string; /** * Tags. */ tags?: inputs.alb.GetCertificatesTag[]; } /** * 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 ProjectName of the Certificate. */ readonly projectName?: string; /** * Tags. */ readonly tags?: outputs.alb.GetCertificatesTag[]; /** * 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", * tags: [{ * key: "k1", * value: "v1", * }], * }); * ``` */ 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>; /** * The project name to which the certificate belongs. */ projectName?: pulumi.Input<string>; /** * Tags. */ tags?: pulumi.Input<pulumi.Input<inputs.alb.GetCertificatesTagArgs>[]>; }