Class GetJob
Inheritance
System.Object
GetJob
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.StreamAnalytics
Assembly: Pulumi.Azure.dll
Syntax
public static class GetJob
Methods
View SourceInvokeAsync(GetJobArgs, InvokeOptions)
Use this data source to access information about an existing Stream Analytics Job.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Azure.StreamAnalytics.GetJob.InvokeAsync(new Azure.StreamAnalytics.GetJobArgs
{
Name = "example-job",
ResourceGroupName = "example-resources",
}));
this.JobId = example.Apply(example => example.JobId);
}
[Output("jobId")]
public Output<string> JobId { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetJobResult> InvokeAsync(GetJobArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetJobArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetJobResult> |