@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.49 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets a job.
*
* Uses Azure REST API version 2016-03-01.
*/
export declare function getJob(args: GetJobArgs, opts?: pulumi.InvokeOptions): Promise<GetJobResult>;
export interface GetJobArgs {
/**
* The job collection name.
*/
jobCollectionName: string;
/**
* The job name.
*/
jobName: string;
/**
* The resource group name.
*/
resourceGroupName: string;
}
export interface GetJobResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Gets the job resource identifier.
*/
readonly id: string;
/**
* Gets the job resource name.
*/
readonly name: string;
/**
* Gets or sets the job properties.
*/
readonly properties: outputs.scheduler.JobPropertiesResponse;
/**
* Gets the job resource type.
*/
readonly type: string;
}
/**
* Gets a job.
*
* Uses Azure REST API version 2016-03-01.
*/
export declare function getJobOutput(args: GetJobOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetJobResult>;
export interface GetJobOutputArgs {
/**
* The job collection name.
*/
jobCollectionName: pulumi.Input<string>;
/**
* The job name.
*/
jobName: pulumi.Input<string>;
/**
* The resource group name.
*/
resourceGroupName: pulumi.Input<string>;
}