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.28 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Retrieves an existing video resource with the given name. * * Uses Azure REST API version 2021-11-01-preview. */ export declare function getVideo(args: GetVideoArgs, opts?: pulumi.InvokeOptions): Promise<GetVideoResult>; export interface GetVideoArgs { /** * The Azure Video Analyzer account name. */ accountName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The Video name. */ videoName: string; } /** * Represents a video resource within Azure Video Analyzer. Videos can be ingested from RTSP cameras through live pipelines or can be created by exporting sequences from existing captured video through a pipeline job. Videos ingested through live pipelines can be streamed through Azure Video Analyzer Player Widget or compatible players. Exported videos can be downloaded as MP4 files. */ export interface GetVideoResult { /** * Video archival properties. */ readonly archival?: outputs.videoanalyzer.VideoArchivalResponse; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Set of URLs to the video content. */ readonly contentUrls: outputs.videoanalyzer.VideoContentUrlsResponse; /** * Optional video description provided by the user. Value can be up to 2048 characters long. */ readonly description?: string; /** * Video flags contain information about the available video actions and its dynamic properties based on the current video state. */ readonly flags: outputs.videoanalyzer.VideoFlagsResponse; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * Contains information about the video and audio content. */ readonly mediaInfo?: outputs.videoanalyzer.VideoMediaInfoResponse; /** * The name of the resource */ readonly name: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.videoanalyzer.SystemDataResponse; /** * Optional video title provided by the user. Value can be up to 256 characters long. */ readonly title?: string; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Retrieves an existing video resource with the given name. * * Uses Azure REST API version 2021-11-01-preview. */ export declare function getVideoOutput(args: GetVideoOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVideoResult>; export interface GetVideoOutputArgs { /** * The Azure Video Analyzer account name. */ accountName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The Video name. */ videoName: pulumi.Input<string>; }