getJob

suspend fun getJob(argument: GetJobPlainArgs): GetJobResult

Use this data source to access information about an existing Stream Analytics Job.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.streamanalytics.StreamanalyticsFunctions;
import com.pulumi.azure.streamanalytics.inputs.GetJobArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = StreamanalyticsFunctions.getJob(GetJobArgs.builder()
.name("example-job")
.resourceGroupName("example-resources")
.build());
ctx.export("jobId", example.applyValue(getJobResult -> getJobResult.jobId()));
}
}

Return

A collection of values returned by getJob.

Parameters

argument

A collection of arguments for invoking getJob.


suspend fun getJob(name: String, resourceGroupName: String): GetJobResult

Return

A collection of values returned by getJob.

See also

Parameters

name

Specifies the name of the Stream Analytics Job.

resourceGroupName

Specifies the name of the resource group the Stream Analytics Job is located in.


suspend fun getJob(argument: suspend GetJobPlainArgsBuilder.() -> Unit): GetJobResult

Return

A collection of values returned by getJob.

See also

Parameters

argument

Builder for com.pulumi.azure.streamanalytics.kotlin.inputs.GetJobPlainArgs.