@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.01 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get a Job and its properties.
*
* Uses Azure REST API version 2024-05-01-preview.
*/
export declare function getJob(args: GetJobArgs, opts?: pulumi.InvokeOptions): Promise<GetJobResult>;
export interface GetJobArgs {
/**
* The name of the Job resource.
*/
jobName: string;
/**
* The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
*/
resourceGroupName: string;
/**
* The name of the Service resource.
*/
serviceName: string;
}
/**
* Job resource payload
*/
export interface GetJobResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Fully qualified resource Id for the resource.
*/
readonly id: string;
/**
* The name of the resource.
*/
readonly name: string;
/**
* Properties of the Job resource
*/
readonly properties: outputs.appplatform.JobResourcePropertiesResponse;
/**
* Metadata pertaining to creation and last modification of the resource.
*/
readonly systemData: outputs.appplatform.SystemDataResponse;
/**
* The type of the resource.
*/
readonly type: string;
}
/**
* Get a Job and its properties.
*
* Uses Azure REST API version 2024-05-01-preview.
*/
export declare function getJobOutput(args: GetJobOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetJobResult>;
export interface GetJobOutputArgs {
/**
* The name of the Job resource.
*/
jobName: pulumi.Input<string>;
/**
* The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the Service resource.
*/
serviceName: pulumi.Input<string>;
}