UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

100 lines (99 loc) 3.05 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource to manage acl entry * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@volcengine/pulumi"; * * const fooAcl = new volcengine.clb.Acl("fooAcl", { * aclName: "tf-test-3", * description: "tf-test", * }); * const fooAclEntry = new volcengine.clb.AclEntry("fooAclEntry", { * aclId: fooAcl.id, * description: "tf acl entry desc demo", * entry: "192.2.2.1/32", * }); * ``` * * ## Import * * AclEntry can be imported using the id, e.g. * * ```sh * $ pulumi import volcengine:clb/aclEntry:AclEntry default ID is a string concatenated with colons(AclId:Entry) * ``` */ export declare class AclEntry extends pulumi.CustomResource { /** * Get an existing AclEntry resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AclEntryState, opts?: pulumi.CustomResourceOptions): AclEntry; /** * Returns true if the given object is an instance of AclEntry. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AclEntry; /** * The ID of Acl. */ readonly aclId: pulumi.Output<string>; /** * The description of the AclEntry. */ readonly description: pulumi.Output<string | undefined>; /** * The content of the AclEntry. */ readonly entry: pulumi.Output<string>; /** * Create a AclEntry resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AclEntryArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AclEntry resources. */ export interface AclEntryState { /** * The ID of Acl. */ aclId?: pulumi.Input<string>; /** * The description of the AclEntry. */ description?: pulumi.Input<string>; /** * The content of the AclEntry. */ entry?: pulumi.Input<string>; } /** * The set of arguments for constructing a AclEntry resource. */ export interface AclEntryArgs { /** * The ID of Acl. */ aclId: pulumi.Input<string>; /** * The description of the AclEntry. */ description?: pulumi.Input<string>; /** * The content of the AclEntry. */ entry: pulumi.Input<string>; }