get Job
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()));
}
}
Content copied to clipboard
Return
A collection of values returned by getJob.
Parameters
argument
A collection of arguments for invoking getJob.
Return
A collection of values returned by getJob.
See also
Parameters
name
Specifies the name of the Stream Analytics Job.
resource Group Name
Specifies the name of the resource group the Stream Analytics Job is located in.
Return
A collection of values returned by getJob.
See also
Parameters
argument
Builder for com.pulumi.azure.streamanalytics.kotlin.inputs.GetJobPlainArgs.