import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "./types";
/**
 * Allows management of [Yandex Cloud Function Scaling Policies](https://cloud.yandex.com/docs/functions/)
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as yandex from "@pulumi/yandex";
 *
 * const myScalingPolicy = new yandex.FunctionScalingPolicy("my_scaling_policy", {
 *     functionId: "are1samplefunction11",
 *     policies: [
 *         {
 *             tag: "$latest",
 *             zoneInstancesLimit: 3,
 *             zoneRequestsLimit: 100,
 *         },
 *         {
 *             tag: "my_tag",
 *             zoneInstancesLimit: 4,
 *             zoneRequestsLimit: 150,
 *         },
 *     ],
 * });
 * ```
 */
export declare class FunctionScalingPolicy extends pulumi.CustomResource {
    /**
     * Get an existing FunctionScalingPolicy 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?: FunctionScalingPolicyState, opts?: pulumi.CustomResourceOptions): FunctionScalingPolicy;
    /**
     * Returns true if the given object is an instance of FunctionScalingPolicy.  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 FunctionScalingPolicy;
    /**
     * Yandex Cloud Function id used to define function
     */
    readonly functionId: pulumi.Output<string>;
    /**
     * list definition for Yandex Cloud Function scaling policies
     * * `policy.#` - number of Yandex Cloud Function scaling policies
     * * `policy.{num}.tag` - Yandex.Cloud Function version tag for Yandex Cloud Function scaling policy
     * * `policy.{num}.zone_instances_limit` - max number of instances in one zone for Yandex.Cloud Function with tag
     * * `policy.{num}.zone_requests_limit` - max number of requests in one zone for Yandex.Cloud Function with tag
     */
    readonly policies: pulumi.Output<outputs.FunctionScalingPolicyPolicy[] | undefined>;
    /**
     * Create a FunctionScalingPolicy 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: FunctionScalingPolicyArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering FunctionScalingPolicy resources.
 */
export interface FunctionScalingPolicyState {
    /**
     * Yandex Cloud Function id used to define function
     */
    functionId?: pulumi.Input<string>;
    /**
     * list definition for Yandex Cloud Function scaling policies
     * * `policy.#` - number of Yandex Cloud Function scaling policies
     * * `policy.{num}.tag` - Yandex.Cloud Function version tag for Yandex Cloud Function scaling policy
     * * `policy.{num}.zone_instances_limit` - max number of instances in one zone for Yandex.Cloud Function with tag
     * * `policy.{num}.zone_requests_limit` - max number of requests in one zone for Yandex.Cloud Function with tag
     */
    policies?: pulumi.Input<pulumi.Input<inputs.FunctionScalingPolicyPolicy>[]>;
}
/**
 * The set of arguments for constructing a FunctionScalingPolicy resource.
 */
export interface FunctionScalingPolicyArgs {
    /**
     * Yandex Cloud Function id used to define function
     */
    functionId: pulumi.Input<string>;
    /**
     * list definition for Yandex Cloud Function scaling policies
     * * `policy.#` - number of Yandex Cloud Function scaling policies
     * * `policy.{num}.tag` - Yandex.Cloud Function version tag for Yandex Cloud Function scaling policy
     * * `policy.{num}.zone_instances_limit` - max number of instances in one zone for Yandex.Cloud Function with tag
     * * `policy.{num}.zone_requests_limit` - max number of requests in one zone for Yandex.Cloud Function with tag
     */
    policies?: pulumi.Input<pulumi.Input<inputs.FunctionScalingPolicyPolicy>[]>;
}
