import * as pulumi from "@pulumi/pulumi";
/**
 * Provides a resource to manage vefaas release
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const foo = new volcengine.vefaas.Release("foo", {
 *     functionId: "9p5emxxxx",
 *     revisionNumber: 0,
 *     targetTrafficWeight: 30,
 * });
 * ```
 *
 * ## Import
 *
 * VefaasRelease can be imported using the id, e.g.
 *
 * ```sh
 * $ pulumi import volcengine:vefaas/release:Release default FunctionId:ReleaseRecordId
 * ```
 */
export declare class Release extends pulumi.CustomResource {
    /**
     * Get an existing Release 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?: ReleaseState, opts?: pulumi.CustomResourceOptions): Release;
    /**
     * Returns true if the given object is an instance of Release.  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 Release;
    /**
     * The current percentage of current published traffic.
     */
    readonly currentTrafficWeight: pulumi.Output<number>;
    /**
     * The description of released this time.
     */
    readonly description: pulumi.Output<string | undefined>;
    /**
     * Error code when the release fails.
     */
    readonly errorCode: pulumi.Output<string>;
    /**
     * Download link for the failed instance log.
     */
    readonly failedInstanceLogs: pulumi.Output<string>;
    /**
     * The ID of Function.
     */
    readonly functionId: pulumi.Output<string>;
    /**
     * Upper limit of the number of function instances.
     */
    readonly maxInstance: pulumi.Output<number | undefined>;
    /**
     * The version number of the newly released version.
     */
    readonly newRevisionNumber: pulumi.Output<number>;
    /**
     * The version number of the old version.
     */
    readonly oldRevisionNumber: pulumi.Output<number>;
    /**
     * The ID of Release record.
     */
    readonly releaseRecordId: pulumi.Output<string>;
    /**
     * When the RevisionNumber to be released is 0, the Latest code (Latest) will be released and a new version will be created. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
     */
    readonly revisionNumber: pulumi.Output<number>;
    /**
     * Percentage of grayscale step size.
     */
    readonly rollingStep: pulumi.Output<string | undefined>;
    /**
     * The current version number that is stably running online.
     */
    readonly stableRevisionNumber: pulumi.Output<number>;
    /**
     * The current release start time.
     */
    readonly startTime: pulumi.Output<string>;
    /**
     * The status of function release.
     */
    readonly status: pulumi.Output<string>;
    /**
     * Detailed information of the function release status.
     */
    readonly statusMessage: pulumi.Output<string>;
    /**
     * Target percentage of published traffic.
     */
    readonly targetTrafficWeight: pulumi.Output<number>;
    /**
     * Create a Release 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: ReleaseArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering Release resources.
 */
export interface ReleaseState {
    /**
     * The current percentage of current published traffic.
     */
    currentTrafficWeight?: pulumi.Input<number>;
    /**
     * The description of released this time.
     */
    description?: pulumi.Input<string>;
    /**
     * Error code when the release fails.
     */
    errorCode?: pulumi.Input<string>;
    /**
     * Download link for the failed instance log.
     */
    failedInstanceLogs?: pulumi.Input<string>;
    /**
     * The ID of Function.
     */
    functionId?: pulumi.Input<string>;
    /**
     * Upper limit of the number of function instances.
     */
    maxInstance?: pulumi.Input<number>;
    /**
     * The version number of the newly released version.
     */
    newRevisionNumber?: pulumi.Input<number>;
    /**
     * The version number of the old version.
     */
    oldRevisionNumber?: pulumi.Input<number>;
    /**
     * The ID of Release record.
     */
    releaseRecordId?: pulumi.Input<string>;
    /**
     * When the RevisionNumber to be released is 0, the Latest code (Latest) will be released and a new version will be created. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
     */
    revisionNumber?: pulumi.Input<number>;
    /**
     * Percentage of grayscale step size.
     */
    rollingStep?: pulumi.Input<string>;
    /**
     * The current version number that is stably running online.
     */
    stableRevisionNumber?: pulumi.Input<number>;
    /**
     * The current release start time.
     */
    startTime?: pulumi.Input<string>;
    /**
     * The status of function release.
     */
    status?: pulumi.Input<string>;
    /**
     * Detailed information of the function release status.
     */
    statusMessage?: pulumi.Input<string>;
    /**
     * Target percentage of published traffic.
     */
    targetTrafficWeight?: pulumi.Input<number>;
}
/**
 * The set of arguments for constructing a Release resource.
 */
export interface ReleaseArgs {
    /**
     * The description of released this time.
     */
    description?: pulumi.Input<string>;
    /**
     * The ID of Function.
     */
    functionId: pulumi.Input<string>;
    /**
     * Upper limit of the number of function instances.
     */
    maxInstance?: pulumi.Input<number>;
    /**
     * When the RevisionNumber to be released is 0, the Latest code (Latest) will be released and a new version will be created. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
     */
    revisionNumber: pulumi.Input<number>;
    /**
     * Percentage of grayscale step size.
     */
    rollingStep?: pulumi.Input<string>;
    /**
     * Target percentage of published traffic.
     */
    targetTrafficWeight?: pulumi.Input<number>;
}
