UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

109 lines (108 loc) 2.56 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of acls * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.clb.getAcls({ * ids: ["acl-3ti8n0rurx4bwbh9jzdy"], * }); * ``` */ export declare function getAcls(args?: GetAclsArgs, opts?: pulumi.InvokeOptions): Promise<GetAclsResult>; /** * A collection of arguments for invoking getAcls. */ export interface GetAclsArgs { /** * The name of acl. */ aclName?: string; /** * A list of Acl IDs. */ ids?: string[]; /** * A Name Regex of Acl. */ nameRegex?: string; /** * File name where to save data source results. */ outputFile?: string; /** * The ProjectName of Acl. */ projectName?: string; } /** * A collection of values returned by getAcls. */ export interface GetAclsResult { /** * The Name of Acl. */ readonly aclName?: string; /** * The collection of Acl query. */ readonly acls: outputs.clb.GetAclsAcl[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ids?: string[]; readonly nameRegex?: string; readonly outputFile?: string; /** * The ProjectName of Acl. */ readonly projectName?: string; /** * The total count of Acl query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of acls * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.clb.getAcls({ * ids: ["acl-3ti8n0rurx4bwbh9jzdy"], * }); * ``` */ export declare function getAclsOutput(args?: GetAclsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAclsResult>; /** * A collection of arguments for invoking getAcls. */ export interface GetAclsOutputArgs { /** * The name of acl. */ aclName?: pulumi.Input<string>; /** * A list of Acl IDs. */ ids?: pulumi.Input<pulumi.Input<string>[]>; /** * A Name Regex of Acl. */ nameRegex?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The ProjectName of Acl. */ projectName?: pulumi.Input<string>; }