UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

123 lines (122 loc) 4.65 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Provides a resource to manage alb customized cfg * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@volcengine/pulumi"; * * const foo = new volcengine.alb.CustomizedCfg("foo", { * customizedCfgContent: "proxy_connect_timeout 4s;proxy_request_buffering on;", * customizedCfgName: "acc-test-cfg1", * description: "This is a test modify", * projectName: "default", * }); * ``` * * ## Import * * AlbCustomizedCfg can be imported using the id, e.g. * * ```sh * $ pulumi import volcengine:alb/customizedCfg:CustomizedCfg default ccfg-3cj44nv0jhhxc6c6rrtet**** * ``` */ export declare class CustomizedCfg extends pulumi.CustomResource { /** * Get an existing CustomizedCfg 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?: CustomizedCfgState, opts?: pulumi.CustomResourceOptions): CustomizedCfg; /** * Returns true if the given object is an instance of CustomizedCfg. 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 CustomizedCfg; /** * The content of CustomizedCfg. The length cannot exceed 4096 characters. Spaces and semicolons need to be escaped. Currently supported configuration items are `sslProtocols`, `sslCiphers`, `clientMaxBodySize`, `keepaliveTimeout`, `proxyRequestBuffering` and `proxyConnectTimeout`. */ readonly customizedCfgContent: pulumi.Output<string>; /** * The name of CustomizedCfg. */ readonly customizedCfgName: pulumi.Output<string>; /** * The description of CustomizedCfg. */ readonly description: pulumi.Output<string>; /** * The project name of the CustomizedCfg. */ readonly projectName: pulumi.Output<string>; /** * Tags. */ readonly tags: pulumi.Output<outputs.alb.CustomizedCfgTag[] | undefined>; /** * Create a CustomizedCfg 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: CustomizedCfgArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CustomizedCfg resources. */ export interface CustomizedCfgState { /** * The content of CustomizedCfg. The length cannot exceed 4096 characters. Spaces and semicolons need to be escaped. Currently supported configuration items are `sslProtocols`, `sslCiphers`, `clientMaxBodySize`, `keepaliveTimeout`, `proxyRequestBuffering` and `proxyConnectTimeout`. */ customizedCfgContent?: pulumi.Input<string>; /** * The name of CustomizedCfg. */ customizedCfgName?: pulumi.Input<string>; /** * The description of CustomizedCfg. */ description?: pulumi.Input<string>; /** * The project name of the CustomizedCfg. */ projectName?: pulumi.Input<string>; /** * Tags. */ tags?: pulumi.Input<pulumi.Input<inputs.alb.CustomizedCfgTag>[]>; } /** * The set of arguments for constructing a CustomizedCfg resource. */ export interface CustomizedCfgArgs { /** * The content of CustomizedCfg. The length cannot exceed 4096 characters. Spaces and semicolons need to be escaped. Currently supported configuration items are `sslProtocols`, `sslCiphers`, `clientMaxBodySize`, `keepaliveTimeout`, `proxyRequestBuffering` and `proxyConnectTimeout`. */ customizedCfgContent: pulumi.Input<string>; /** * The name of CustomizedCfg. */ customizedCfgName: pulumi.Input<string>; /** * The description of CustomizedCfg. */ description?: pulumi.Input<string>; /** * The project name of the CustomizedCfg. */ projectName?: pulumi.Input<string>; /** * Tags. */ tags?: pulumi.Input<pulumi.Input<inputs.alb.CustomizedCfgTag>[]>; }