import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Manages a JavaScript UDF Function within Stream Analytics Streaming Job.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = azure.core.getResourceGroup({
 *     name: "example-resources",
 * });
 * const exampleGetJob = example.then(example => azure.streamanalytics.getJob({
 *     name: "example-job",
 *     resourceGroupName: example.name,
 * }));
 * const exampleFunctionJavaScriptUDF = new azure.streamanalytics.FunctionJavaScriptUDF("example", {
 *     name: "example-javascript-function",
 *     streamAnalyticsJobName: exampleGetJob.then(exampleGetJob => exampleGetJob.name),
 *     resourceGroupName: exampleGetJob.then(exampleGetJob => exampleGetJob.resourceGroupName),
 *     script: `function getRandomNumber(in) {
 *   return in;
 * }
 * `,
 *     inputs: [{
 *         type: "bigint",
 *     }],
 *     output: {
 *         type: "bigint",
 *     },
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.StreamAnalytics` - 2020-03-01
 *
 * ## Import
 *
 * Stream Analytics JavaScript UDF Functions can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:streamanalytics/functionJavaScriptUDF:FunctionJavaScriptUDF example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StreamAnalytics/streamingJobs/job1/functions/func1
 * ```
 */
export declare class FunctionJavaScriptUDF extends pulumi.CustomResource {
    /**
     * Get an existing FunctionJavaScriptUDF 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?: FunctionJavaScriptUDFState, opts?: pulumi.CustomResourceOptions): FunctionJavaScriptUDF;
    /**
     * Returns true if the given object is an instance of FunctionJavaScriptUDF.  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 FunctionJavaScriptUDF;
    /**
     * One or more `input` blocks as defined below.
     */
    readonly inputs: pulumi.Output<outputs.streamanalytics.FunctionJavaScriptUDFInput[]>;
    /**
     * The name of the JavaScript UDF Function. Changing this forces a new resource to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * An `output` blocks as defined below.
     */
    readonly output: pulumi.Output<outputs.streamanalytics.FunctionJavaScriptUDFOutput>;
    /**
     * The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
     */
    readonly resourceGroupName: pulumi.Output<string>;
    /**
     * The JavaScript of this UDF Function.
     */
    readonly script: pulumi.Output<string>;
    /**
     * The name of the Stream Analytics Job where this Function should be created. Changing this forces a new resource to be created.
     */
    readonly streamAnalyticsJobName: pulumi.Output<string>;
    /**
     * Create a FunctionJavaScriptUDF 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: FunctionJavaScriptUDFArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering FunctionJavaScriptUDF resources.
 */
export interface FunctionJavaScriptUDFState {
    /**
     * One or more `input` blocks as defined below.
     */
    inputs?: pulumi.Input<pulumi.Input<inputs.streamanalytics.FunctionJavaScriptUDFInput>[] | undefined>;
    /**
     * The name of the JavaScript UDF Function. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * An `output` blocks as defined below.
     */
    output?: pulumi.Input<inputs.streamanalytics.FunctionJavaScriptUDFOutput | undefined>;
    /**
     * The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
     */
    resourceGroupName?: pulumi.Input<string | undefined>;
    /**
     * The JavaScript of this UDF Function.
     */
    script?: pulumi.Input<string | undefined>;
    /**
     * The name of the Stream Analytics Job where this Function should be created. Changing this forces a new resource to be created.
     */
    streamAnalyticsJobName?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a FunctionJavaScriptUDF resource.
 */
export interface FunctionJavaScriptUDFArgs {
    /**
     * One or more `input` blocks as defined below.
     */
    inputs: pulumi.Input<pulumi.Input<inputs.streamanalytics.FunctionJavaScriptUDFInput>[]>;
    /**
     * The name of the JavaScript UDF Function. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * An `output` blocks as defined below.
     */
    output: pulumi.Input<inputs.streamanalytics.FunctionJavaScriptUDFOutput>;
    /**
     * The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
     */
    resourceGroupName: pulumi.Input<string>;
    /**
     * The JavaScript of this UDF Function.
     */
    script: pulumi.Input<string>;
    /**
     * The name of the Stream Analytics Job where this Function should be created. Changing this forces a new resource to be created.
     */
    streamAnalyticsJobName: pulumi.Input<string>;
}
//# sourceMappingURL=functionJavaScriptUDF.d.ts.map