UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

132 lines (131 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 acls * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.clb.getAcls({ * ids: ["acl-3ti8n0rurx4bwbh9jzdy"], * tags: [{ * key: "k1", * value: "v1", * }], * }); * ``` */ /** @deprecated volcengine.clb.Acls has been deprecated in favor of volcengine.clb.getAcls */ export declare function acls(args?: AclsArgs, opts?: pulumi.InvokeOptions): Promise<AclsResult>; /** * A collection of arguments for invoking Acls. */ export interface AclsArgs { /** * 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; /** * Tags. */ tags?: inputs.clb.AclsTag[]; } /** * A collection of values returned by Acls. */ export interface AclsResult { /** * The Name of Acl. */ readonly aclName?: string; /** * The collection of Acl query. */ readonly acls: outputs.clb.AclsAcl[]; /** * 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; /** * Tags. */ readonly tags?: outputs.clb.AclsTag[]; /** * 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"], * tags: [{ * key: "k1", * value: "v1", * }], * }); * ``` */ /** @deprecated volcengine.clb.Acls has been deprecated in favor of volcengine.clb.getAcls */ export declare function aclsOutput(args?: AclsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<AclsResult>; /** * A collection of arguments for invoking Acls. */ export interface AclsOutputArgs { /** * 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>; /** * Tags. */ tags?: pulumi.Input<pulumi.Input<inputs.clb.AclsTagArgs>[]>; }