@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
145 lines (144 loc) • 3.71 kB
TypeScript
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",
* });
* ```
*/
/** @deprecated volcengine.vpc.NetworkAcls has been deprecated in favor of volcengine.vpc.getNetworkAcls */
export declare function networkAcls(args?: NetworkAclsArgs, opts?: pulumi.InvokeOptions): Promise<NetworkAclsResult>;
/**
* A collection of arguments for invoking NetworkAcls.
*/
export interface NetworkAclsArgs {
/**
* 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.NetworkAclsTag[];
/**
* The vpc id of Network Acl.
*/
vpcId?: string;
}
/**
* A collection of values returned by NetworkAcls.
*/
export interface NetworkAclsResult {
/**
* 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.NetworkAclsNetworkAcl[];
readonly outputFile?: string;
/**
* The project name of the network acl.
*/
readonly projectName?: string;
readonly subnetId?: string;
/**
* Tags.
*/
readonly tags?: outputs.vpc.NetworkAclsTag[];
/**
* 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",
* });
* ```
*/
/** @deprecated volcengine.vpc.NetworkAcls has been deprecated in favor of volcengine.vpc.getNetworkAcls */
export declare function networkAclsOutput(args?: NetworkAclsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<NetworkAclsResult>;
/**
* A collection of arguments for invoking NetworkAcls.
*/
export interface NetworkAclsOutputArgs {
/**
* 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.NetworkAclsTagArgs>[]>;
/**
* The vpc id of Network Acl.
*/
vpcId?: pulumi.Input<string>;
}