UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

76 lines (75 loc) 2.07 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets information about an existing job. * * Uses Azure REST API version 2021-01-01. */ export declare function getJob(args: GetJobArgs, opts?: pulumi.InvokeOptions): Promise<GetJobResult>; export interface GetJobArgs { /** * The name of the import/export job. */ jobName: string; /** * The resource group name uniquely identifies the resource group within the user subscription. */ resourceGroupName: string; } /** * Contains the job information. */ export interface GetJobResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Specifies the resource identifier of the job. */ readonly id: string; /** * Specifies the job identity details */ readonly identity?: outputs.importexport.IdentityDetailsResponse; /** * Specifies the Azure location where the job is created. */ readonly location?: string; /** * Specifies the name of the job. */ readonly name: string; /** * Specifies the job properties */ readonly properties: outputs.importexport.JobDetailsResponse; /** * SystemData of ImportExport Jobs. */ readonly systemData: outputs.importexport.SystemDataResponse; /** * Specifies the tags that are assigned to the job. */ readonly tags?: any; /** * Specifies the type of the job resource. */ readonly type: string; } /** * Gets information about an existing job. * * Uses Azure REST API version 2021-01-01. */ export declare function getJobOutput(args: GetJobOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetJobResult>; export interface GetJobOutputArgs { /** * The name of the import/export job. */ jobName: pulumi.Input<string>; /** * The resource group name uniquely identifies the resource group within the user subscription. */ resourceGroupName: pulumi.Input<string>; }