import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Stream Analytics Job. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.streamanalytics.getJob({ * name: "example-job", * resourceGroupName: "example-resources", * }); * export const jobId = example.then(example => example.jobId); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.StreamAnalytics` - 2021-10-01-preview */ export declare function getJob(args: GetJobArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getJob. */ export interface GetJobArgs { /** * Specifies the name of the Stream Analytics Job. */ name: string; /** * Specifies the name of the resource group the Stream Analytics Job is located in. */ resourceGroupName: string; } /** * A collection of values returned by getJob. */ export interface GetJobResult { /** * The compatibility level for this job. */ readonly compatibilityLevel: string; /** * The Data Locale of the Job. */ readonly dataLocale: string; /** * The maximum tolerable delay in seconds where events arriving late could be included. */ readonly eventsLateArrivalMaxDelayInSeconds: number; /** * The maximum tolerable delay in seconds where out-of-order events can be adjusted to be back in order. */ readonly eventsOutOfOrderMaxDelayInSeconds: number; /** * The policy which should be applied to events which arrive out of order in the input event stream. */ readonly eventsOutOfOrderPolicy: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * An `identity` block as defined below. */ readonly identities: outputs.streamanalytics.GetJobIdentity[]; /** * The Job ID assigned by the Stream Analytics Job. */ readonly jobId: string; /** * The time at which the Stream Analytics job last produced an output. */ readonly lastOutputTime: string; /** * The Azure location where the Stream Analytics Job exists. */ readonly location: string; readonly name: string; /** * The policy which should be applied to events which arrive at the output and cannot be written to the external storage due to being malformed (such as missing column values, column values of wrong type or size). */ readonly outputErrorPolicy: string; readonly resourceGroupName: string; /** * The SKU Name to use for the Stream Analytics Job. */ readonly skuName: string; /** * The starting mode set for this Stream Analytics Job. */ readonly startMode: string; /** * The time at which this Stream Analytics Job was scheduled to start. */ readonly startTime: string; /** * The number of streaming units that this Stream Analytics Job uses. */ readonly streamingUnits: number; /** * The query that will be run in this Stream Analytics Job, [written in Stream Analytics Query Language (SAQL)](https://msdn.microsoft.com/library/azure/dn834998). */ readonly transformationQuery: string; } /** * Use this data source to access information about an existing Stream Analytics Job. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.streamanalytics.getJob({ * name: "example-job", * resourceGroupName: "example-resources", * }); * export const jobId = example.then(example => example.jobId); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.StreamAnalytics` - 2021-10-01-preview */ export declare function getJobOutput(args: GetJobOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getJob. */ export interface GetJobOutputArgs { /** * Specifies the name of the Stream Analytics Job. */ name: pulumi.Input; /** * Specifies the name of the resource group the Stream Analytics Job is located in. */ resourceGroupName: pulumi.Input; }