import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Provides a resource to manage vefaas function
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const foo = new volcengine.vefaas.Function("foo", {
 *     description: "123131231",
 *     exclusiveMode: false,
 *     requestTimeout: 30,
 *     runtime: "golang/v1",
 * });
 * ```
 *
 * ## Import
 *
 * VefaasFunction can be imported using the id, e.g.
 *
 * ```sh
 * $ pulumi import volcengine:vefaas/function:Function default resource_id
 * ```
 */
export declare class Function extends pulumi.CustomResource {
    /**
     * Get an existing Function 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?: FunctionState, opts?: pulumi.CustomResourceOptions): Function;
    /**
     * Returns true if the given object is an instance of Function.  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 Function;
    /**
     * The size of code package.
     */
    readonly codeSize: pulumi.Output<number>;
    /**
     * Maximum code package size.
     */
    readonly codeSizeLimit: pulumi.Output<number>;
    /**
     * The custom startup command for the instance.
     */
    readonly command: pulumi.Output<string | undefined>;
    /**
     * Function CPU charging policy.
     */
    readonly cpuStrategy: pulumi.Output<string | undefined>;
    /**
     * The creation time of the function.
     */
    readonly creationTime: pulumi.Output<string>;
    /**
     * The description of Function.
     */
    readonly description: pulumi.Output<string>;
    /**
     * Function environment variable.
     */
    readonly envs: pulumi.Output<outputs.vefaas.FunctionEnv[]>;
    /**
     * Exclusive mode switch.
     */
    readonly exclusiveMode: pulumi.Output<boolean>;
    /**
     * Function to initialize timeout configuration.
     */
    readonly initializerSec: pulumi.Output<number>;
    /**
     * The last update time of the function.
     */
    readonly lastUpdateTime: pulumi.Output<string>;
    /**
     * Maximum concurrency of a single instance.
     */
    readonly maxConcurrency: pulumi.Output<number>;
    /**
     * Maximum memory for a single instance.
     */
    readonly memoryMb: pulumi.Output<number>;
    /**
     * The name of Function.
     */
    readonly name: pulumi.Output<string>;
    /**
     * The configuration of file storage NAS mount.
     */
    readonly nasStorage: pulumi.Output<outputs.vefaas.FunctionNasStorage>;
    /**
     * The owner of Function.
     */
    readonly owner: pulumi.Output<string>;
    /**
     * Custom listening port for the instance.
     */
    readonly port: pulumi.Output<number>;
    /**
     * Request timeout (in seconds).
     */
    readonly requestTimeout: pulumi.Output<number>;
    /**
     * The runtime of Function.
     */
    readonly runtime: pulumi.Output<string>;
    /**
     * Code source.
     */
    readonly source: pulumi.Output<string | undefined>;
    /**
     * Access configuration for the image repository.
     */
    readonly sourceAccessConfig: pulumi.Output<outputs.vefaas.FunctionSourceAccessConfig | undefined>;
    /**
     * Maximum code package size.
     */
    readonly sourceLocation: pulumi.Output<string>;
    /**
     * Code Source type, supports tos, zip, image (whitelist accounts support native/v1 custom images).
     */
    readonly sourceType: pulumi.Output<string>;
    /**
     * Function log configuration.
     */
    readonly tlsConfig: pulumi.Output<outputs.vefaas.FunctionTlsConfig>;
    /**
     * The configuration of Object Storage TOS mount.
     */
    readonly tosMountConfig: pulumi.Output<outputs.vefaas.FunctionTosMountConfig>;
    /**
     * The number of triggers for this Function.
     */
    readonly triggersCount: pulumi.Output<number>;
    /**
     * The configuration of VPC.
     */
    readonly vpcConfig: pulumi.Output<outputs.vefaas.FunctionVpcConfig>;
    /**
     * Create a Function 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: FunctionArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering Function resources.
 */
export interface FunctionState {
    /**
     * The size of code package.
     */
    codeSize?: pulumi.Input<number>;
    /**
     * Maximum code package size.
     */
    codeSizeLimit?: pulumi.Input<number>;
    /**
     * The custom startup command for the instance.
     */
    command?: pulumi.Input<string>;
    /**
     * Function CPU charging policy.
     */
    cpuStrategy?: pulumi.Input<string>;
    /**
     * The creation time of the function.
     */
    creationTime?: pulumi.Input<string>;
    /**
     * The description of Function.
     */
    description?: pulumi.Input<string>;
    /**
     * Function environment variable.
     */
    envs?: pulumi.Input<pulumi.Input<inputs.vefaas.FunctionEnv>[]>;
    /**
     * Exclusive mode switch.
     */
    exclusiveMode?: pulumi.Input<boolean>;
    /**
     * Function to initialize timeout configuration.
     */
    initializerSec?: pulumi.Input<number>;
    /**
     * The last update time of the function.
     */
    lastUpdateTime?: pulumi.Input<string>;
    /**
     * Maximum concurrency of a single instance.
     */
    maxConcurrency?: pulumi.Input<number>;
    /**
     * Maximum memory for a single instance.
     */
    memoryMb?: pulumi.Input<number>;
    /**
     * The name of Function.
     */
    name?: pulumi.Input<string>;
    /**
     * The configuration of file storage NAS mount.
     */
    nasStorage?: pulumi.Input<inputs.vefaas.FunctionNasStorage>;
    /**
     * The owner of Function.
     */
    owner?: pulumi.Input<string>;
    /**
     * Custom listening port for the instance.
     */
    port?: pulumi.Input<number>;
    /**
     * Request timeout (in seconds).
     */
    requestTimeout?: pulumi.Input<number>;
    /**
     * The runtime of Function.
     */
    runtime?: pulumi.Input<string>;
    /**
     * Code source.
     */
    source?: pulumi.Input<string>;
    /**
     * Access configuration for the image repository.
     */
    sourceAccessConfig?: pulumi.Input<inputs.vefaas.FunctionSourceAccessConfig>;
    /**
     * Maximum code package size.
     */
    sourceLocation?: pulumi.Input<string>;
    /**
     * Code Source type, supports tos, zip, image (whitelist accounts support native/v1 custom images).
     */
    sourceType?: pulumi.Input<string>;
    /**
     * Function log configuration.
     */
    tlsConfig?: pulumi.Input<inputs.vefaas.FunctionTlsConfig>;
    /**
     * The configuration of Object Storage TOS mount.
     */
    tosMountConfig?: pulumi.Input<inputs.vefaas.FunctionTosMountConfig>;
    /**
     * The number of triggers for this Function.
     */
    triggersCount?: pulumi.Input<number>;
    /**
     * The configuration of VPC.
     */
    vpcConfig?: pulumi.Input<inputs.vefaas.FunctionVpcConfig>;
}
/**
 * The set of arguments for constructing a Function resource.
 */
export interface FunctionArgs {
    /**
     * The custom startup command for the instance.
     */
    command?: pulumi.Input<string>;
    /**
     * Function CPU charging policy.
     */
    cpuStrategy?: pulumi.Input<string>;
    /**
     * The description of Function.
     */
    description?: pulumi.Input<string>;
    /**
     * Function environment variable.
     */
    envs?: pulumi.Input<pulumi.Input<inputs.vefaas.FunctionEnv>[]>;
    /**
     * Exclusive mode switch.
     */
    exclusiveMode?: pulumi.Input<boolean>;
    /**
     * Function to initialize timeout configuration.
     */
    initializerSec?: pulumi.Input<number>;
    /**
     * Maximum concurrency of a single instance.
     */
    maxConcurrency?: pulumi.Input<number>;
    /**
     * Maximum memory for a single instance.
     */
    memoryMb?: pulumi.Input<number>;
    /**
     * The name of Function.
     */
    name?: pulumi.Input<string>;
    /**
     * The configuration of file storage NAS mount.
     */
    nasStorage?: pulumi.Input<inputs.vefaas.FunctionNasStorage>;
    /**
     * Custom listening port for the instance.
     */
    port?: pulumi.Input<number>;
    /**
     * Request timeout (in seconds).
     */
    requestTimeout?: pulumi.Input<number>;
    /**
     * The runtime of Function.
     */
    runtime: pulumi.Input<string>;
    /**
     * Code source.
     */
    source?: pulumi.Input<string>;
    /**
     * Access configuration for the image repository.
     */
    sourceAccessConfig?: pulumi.Input<inputs.vefaas.FunctionSourceAccessConfig>;
    /**
     * Code Source type, supports tos, zip, image (whitelist accounts support native/v1 custom images).
     */
    sourceType?: pulumi.Input<string>;
    /**
     * Function log configuration.
     */
    tlsConfig?: pulumi.Input<inputs.vefaas.FunctionTlsConfig>;
    /**
     * The configuration of Object Storage TOS mount.
     */
    tosMountConfig?: pulumi.Input<inputs.vefaas.FunctionTosMountConfig>;
    /**
     * The configuration of VPC.
     */
    vpcConfig?: pulumi.Input<inputs.vefaas.FunctionVpcConfig>;
}
