UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

123 lines (122 loc) 3.29 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", * }], * }); * ``` */ /** @deprecated volcengine.alb.Certificates has been deprecated in favor of volcengine.alb.getCertificates */ export declare function certificates(args?: CertificatesArgs, opts?: pulumi.InvokeOptions): Promise<CertificatesResult>; /** * A collection of arguments for invoking Certificates. */ export interface CertificatesArgs { /** * 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.CertificatesTag[]; } /** * A collection of values returned by Certificates. */ export interface CertificatesResult { /** * The name of the Certificate. */ readonly certificateName?: string; /** * The collection of Certificate query. */ readonly certificates: outputs.alb.CertificatesCertificate[]; /** * 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.CertificatesTag[]; /** * 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", * }], * }); * ``` */ /** @deprecated volcengine.alb.Certificates has been deprecated in favor of volcengine.alb.getCertificates */ export declare function certificatesOutput(args?: CertificatesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<CertificatesResult>; /** * A collection of arguments for invoking Certificates. */ export interface CertificatesOutputArgs { /** * 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.CertificatesTagArgs>[]>; }