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

92 lines (91 loc) 3.57 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Retrieves a specific pipeline job by name. If a pipeline job with that name has been previously created, the call will return the JSON representation of that instance. * * Uses Azure REST API version 2021-11-01-preview. */ export declare function getPipelineJob(args: GetPipelineJobArgs, opts?: pulumi.InvokeOptions): Promise<GetPipelineJobResult>; export interface GetPipelineJobArgs { /** * The Azure Video Analyzer account name. */ accountName: string; /** * The pipeline job name. */ pipelineJobName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Pipeline job represents a unique instance of a batch topology, used for offline processing of selected portions of archived content. */ export interface GetPipelineJobResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * An optional description for the pipeline. */ readonly description?: string; /** * Details about the error, in case the pipeline job fails. */ readonly error: outputs.videoanalyzer.PipelineJobErrorResponse; /** * The date-time by when this pipeline job will be automatically deleted from your account. */ readonly expiration: string; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * The name of the resource */ readonly name: string; /** * List of the instance level parameter values for the user-defined topology parameters. A pipeline can only define or override parameters values for parameters which have been declared in the referenced topology. Topology parameters without a default value must be defined. Topology parameters with a default value can be optionally be overridden. */ readonly parameters?: outputs.videoanalyzer.ParameterDefinitionResponse[]; /** * Current state of the pipeline (read-only). */ readonly state: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.videoanalyzer.SystemDataResponse; /** * Reference to an existing pipeline topology. When activated, this pipeline job will process content according to the pipeline topology definition. */ readonly topologyName: string; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Retrieves a specific pipeline job by name. If a pipeline job with that name has been previously created, the call will return the JSON representation of that instance. * * Uses Azure REST API version 2021-11-01-preview. */ export declare function getPipelineJobOutput(args: GetPipelineJobOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPipelineJobResult>; export interface GetPipelineJobOutputArgs { /** * The Azure Video Analyzer account name. */ accountName: pulumi.Input<string>; /** * The pipeline job name. */ pipelineJobName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }