UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

143 lines (142 loc) 3.54 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 network acls * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.vpc.getNetworkAcls({ * networkAclName: "ms-tf-acl", * }); * ``` */ export declare function getNetworkAcls(args?: GetNetworkAclsArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkAclsResult>; /** * A collection of arguments for invoking getNetworkAcls. */ export interface GetNetworkAclsArgs { /** * A list of Network Acl IDs. */ ids?: string[]; /** * A Name Regex of Network Acl. */ nameRegex?: string; /** * The name of Network Acl. */ networkAclName?: string; /** * File name where to save data source results. */ outputFile?: string; /** * The project name of the network acl. */ projectName?: string; /** * The subnet id of Network Acl. */ subnetId?: string; /** * Tags. */ tags?: inputs.vpc.GetNetworkAclsTag[]; /** * The vpc id of Network Acl. */ vpcId?: string; } /** * A collection of values returned by getNetworkAcls. */ export interface GetNetworkAclsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ids?: string[]; readonly nameRegex?: string; /** * The Name of Network Acl. */ readonly networkAclName?: string; /** * The collection of Network Acl query. */ readonly networkAcls: outputs.vpc.GetNetworkAclsNetworkAcl[]; readonly outputFile?: string; /** * The project name of the network acl. */ readonly projectName?: string; readonly subnetId?: string; /** * Tags. */ readonly tags?: outputs.vpc.GetNetworkAclsTag[]; /** * The total count of Network Acl query. */ readonly totalCount: number; /** * The vpc id of Network Acl. */ readonly vpcId?: string; } /** * Use this data source to query detailed information of network acls * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.vpc.getNetworkAcls({ * networkAclName: "ms-tf-acl", * }); * ``` */ export declare function getNetworkAclsOutput(args?: GetNetworkAclsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNetworkAclsResult>; /** * A collection of arguments for invoking getNetworkAcls. */ export interface GetNetworkAclsOutputArgs { /** * A list of Network Acl IDs. */ ids?: pulumi.Input<pulumi.Input<string>[]>; /** * A Name Regex of Network Acl. */ nameRegex?: pulumi.Input<string>; /** * The name of Network Acl. */ networkAclName?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The project name of the network acl. */ projectName?: pulumi.Input<string>; /** * The subnet id of Network Acl. */ subnetId?: pulumi.Input<string>; /** * Tags. */ tags?: pulumi.Input<pulumi.Input<inputs.vpc.GetNetworkAclsTagArgs>[]>; /** * The vpc id of Network Acl. */ vpcId?: pulumi.Input<string>; }