1. Packages
  2. Azure Native
  3. API Docs
  4. videoanalyzer
  5. Video
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.videoanalyzer.Video

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

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.

Uses Azure REST API version 2021-11-01-preview. In version 2.x of the Azure Native provider, it used API version 2021-11-01-preview.

Example Usage

Register video entity.

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var video = new AzureNative.VideoAnalyzer.Video("video", new()
    {
        AccountName = "testaccount2",
        Description = "Sample Description 1",
        ResourceGroupName = "testrg",
        Title = "Sample Title 1",
        VideoName = "video1",
    });

});
Copy
package main

import (
	videoanalyzer "github.com/pulumi/pulumi-azure-native-sdk/videoanalyzer/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := videoanalyzer.NewVideo(ctx, "video", &videoanalyzer.VideoArgs{
			AccountName:       pulumi.String("testaccount2"),
			Description:       pulumi.String("Sample Description 1"),
			ResourceGroupName: pulumi.String("testrg"),
			Title:             pulumi.String("Sample Title 1"),
			VideoName:         pulumi.String("video1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.videoanalyzer.Video;
import com.pulumi.azurenative.videoanalyzer.VideoArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var video = new Video("video", VideoArgs.builder()
            .accountName("testaccount2")
            .description("Sample Description 1")
            .resourceGroupName("testrg")
            .title("Sample Title 1")
            .videoName("video1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const video = new azure_native.videoanalyzer.Video("video", {
    accountName: "testaccount2",
    description: "Sample Description 1",
    resourceGroupName: "testrg",
    title: "Sample Title 1",
    videoName: "video1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

video = azure_native.videoanalyzer.Video("video",
    account_name="testaccount2",
    description="Sample Description 1",
    resource_group_name="testrg",
    title="Sample Title 1",
    video_name="video1")
Copy
resources:
  video:
    type: azure-native:videoanalyzer:Video
    properties:
      accountName: testaccount2
      description: Sample Description 1
      resourceGroupName: testrg
      title: Sample Title 1
      videoName: video1
Copy

Create Video Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Video(name: string, args: VideoArgs, opts?: CustomResourceOptions);
@overload
def Video(resource_name: str,
          args: VideoArgs,
          opts: Optional[ResourceOptions] = None)

@overload
def Video(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          account_name: Optional[str] = None,
          resource_group_name: Optional[str] = None,
          archival: Optional[VideoArchivalArgs] = None,
          description: Optional[str] = None,
          media_info: Optional[VideoMediaInfoArgs] = None,
          title: Optional[str] = None,
          video_name: Optional[str] = None)
func NewVideo(ctx *Context, name string, args VideoArgs, opts ...ResourceOption) (*Video, error)
public Video(string name, VideoArgs args, CustomResourceOptions? opts = null)
public Video(String name, VideoArgs args)
public Video(String name, VideoArgs args, CustomResourceOptions options)
type: azure-native:videoanalyzer:Video
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. VideoArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. VideoArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. VideoArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. VideoArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. VideoArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var videoResource = new AzureNative.VideoAnalyzer.Video("videoResource", new()
{
    AccountName = "string",
    ResourceGroupName = "string",
    Archival = new AzureNative.VideoAnalyzer.Inputs.VideoArchivalArgs
    {
        RetentionPeriod = "string",
    },
    Description = "string",
    MediaInfo = new AzureNative.VideoAnalyzer.Inputs.VideoMediaInfoArgs
    {
        SegmentLength = "string",
    },
    Title = "string",
    VideoName = "string",
});
Copy
example, err := videoanalyzer.NewVideo(ctx, "videoResource", &videoanalyzer.VideoArgs{
	AccountName:       pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	Archival: &videoanalyzer.VideoArchivalArgs{
		RetentionPeriod: pulumi.String("string"),
	},
	Description: pulumi.String("string"),
	MediaInfo: &videoanalyzer.VideoMediaInfoArgs{
		SegmentLength: pulumi.String("string"),
	},
	Title:     pulumi.String("string"),
	VideoName: pulumi.String("string"),
})
Copy
var videoResource = new Video("videoResource", VideoArgs.builder()
    .accountName("string")
    .resourceGroupName("string")
    .archival(VideoArchivalArgs.builder()
        .retentionPeriod("string")
        .build())
    .description("string")
    .mediaInfo(VideoMediaInfoArgs.builder()
        .segmentLength("string")
        .build())
    .title("string")
    .videoName("string")
    .build());
Copy
video_resource = azure_native.videoanalyzer.Video("videoResource",
    account_name="string",
    resource_group_name="string",
    archival={
        "retention_period": "string",
    },
    description="string",
    media_info={
        "segment_length": "string",
    },
    title="string",
    video_name="string")
Copy
const videoResource = new azure_native.videoanalyzer.Video("videoResource", {
    accountName: "string",
    resourceGroupName: "string",
    archival: {
        retentionPeriod: "string",
    },
    description: "string",
    mediaInfo: {
        segmentLength: "string",
    },
    title: "string",
    videoName: "string",
});
Copy
type: azure-native:videoanalyzer:Video
properties:
    accountName: string
    archival:
        retentionPeriod: string
    description: string
    mediaInfo:
        segmentLength: string
    resourceGroupName: string
    title: string
    videoName: string
Copy

Video Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Video resource accepts the following input properties:

AccountName
This property is required.
Changes to this property will trigger replacement.
string
The Azure Video Analyzer account name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
Archival Pulumi.AzureNative.VideoAnalyzer.Inputs.VideoArchival
Video archival properties.
Description string
Optional video description provided by the user. Value can be up to 2048 characters long.
MediaInfo Pulumi.AzureNative.VideoAnalyzer.Inputs.VideoMediaInfo
Contains information about the video and audio content.
Title string
Optional video title provided by the user. Value can be up to 256 characters long.
VideoName Changes to this property will trigger replacement. string
The Video name.
AccountName
This property is required.
Changes to this property will trigger replacement.
string
The Azure Video Analyzer account name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
Archival VideoArchivalArgs
Video archival properties.
Description string
Optional video description provided by the user. Value can be up to 2048 characters long.
MediaInfo VideoMediaInfoArgs
Contains information about the video and audio content.
Title string
Optional video title provided by the user. Value can be up to 256 characters long.
VideoName Changes to this property will trigger replacement. string
The Video name.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The Azure Video Analyzer account name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
archival VideoArchival
Video archival properties.
description String
Optional video description provided by the user. Value can be up to 2048 characters long.
mediaInfo VideoMediaInfo
Contains information about the video and audio content.
title String
Optional video title provided by the user. Value can be up to 256 characters long.
videoName Changes to this property will trigger replacement. String
The Video name.
accountName
This property is required.
Changes to this property will trigger replacement.
string
The Azure Video Analyzer account name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
archival VideoArchival
Video archival properties.
description string
Optional video description provided by the user. Value can be up to 2048 characters long.
mediaInfo VideoMediaInfo
Contains information about the video and audio content.
title string
Optional video title provided by the user. Value can be up to 256 characters long.
videoName Changes to this property will trigger replacement. string
The Video name.
account_name
This property is required.
Changes to this property will trigger replacement.
str
The Azure Video Analyzer account name.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
archival VideoArchivalArgs
Video archival properties.
description str
Optional video description provided by the user. Value can be up to 2048 characters long.
media_info VideoMediaInfoArgs
Contains information about the video and audio content.
title str
Optional video title provided by the user. Value can be up to 256 characters long.
video_name Changes to this property will trigger replacement. str
The Video name.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The Azure Video Analyzer account name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
archival Property Map
Video archival properties.
description String
Optional video description provided by the user. Value can be up to 2048 characters long.
mediaInfo Property Map
Contains information about the video and audio content.
title String
Optional video title provided by the user. Value can be up to 256 characters long.
videoName Changes to this property will trigger replacement. String
The Video name.

Outputs

All input properties are implicitly available as output properties. Additionally, the Video resource produces the following output properties:

AzureApiVersion string
The Azure API version of the resource.
ContentUrls Pulumi.AzureNative.VideoAnalyzer.Outputs.VideoContentUrlsResponse
Set of URLs to the video content.
Flags Pulumi.AzureNative.VideoAnalyzer.Outputs.VideoFlagsResponse
Video flags contain information about the available video actions and its dynamic properties based on the current video state.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
SystemData Pulumi.AzureNative.VideoAnalyzer.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
AzureApiVersion string
The Azure API version of the resource.
ContentUrls VideoContentUrlsResponse
Set of URLs to the video content.
Flags VideoFlagsResponse
Video flags contain information about the available video actions and its dynamic properties based on the current video state.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion String
The Azure API version of the resource.
contentUrls VideoContentUrlsResponse
Set of URLs to the video content.
flags VideoFlagsResponse
Video flags contain information about the available video actions and its dynamic properties based on the current video state.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion string
The Azure API version of the resource.
contentUrls VideoContentUrlsResponse
Set of URLs to the video content.
flags VideoFlagsResponse
Video flags contain information about the available video actions and its dynamic properties based on the current video state.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azure_api_version str
The Azure API version of the resource.
content_urls VideoContentUrlsResponse
Set of URLs to the video content.
flags VideoFlagsResponse
Video flags contain information about the available video actions and its dynamic properties based on the current video state.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion String
The Azure API version of the resource.
contentUrls Property Map
Set of URLs to the video content.
flags Property Map
Video flags contain information about the available video actions and its dynamic properties based on the current video state.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

VideoArchival
, VideoArchivalArgs

RetentionPeriod string
Video retention period indicates the maximum age of the video archive segments which are intended to be kept in storage. It must be provided in the ISO8601 duration format in the granularity of days, up to a maximum of 10 years. For example, if this is set to P30D (30 days), content older than 30 days will be periodically deleted. This value can be updated at any time and the new desired retention period will be effective within 24 hours.
RetentionPeriod string
Video retention period indicates the maximum age of the video archive segments which are intended to be kept in storage. It must be provided in the ISO8601 duration format in the granularity of days, up to a maximum of 10 years. For example, if this is set to P30D (30 days), content older than 30 days will be periodically deleted. This value can be updated at any time and the new desired retention period will be effective within 24 hours.
retentionPeriod String
Video retention period indicates the maximum age of the video archive segments which are intended to be kept in storage. It must be provided in the ISO8601 duration format in the granularity of days, up to a maximum of 10 years. For example, if this is set to P30D (30 days), content older than 30 days will be periodically deleted. This value can be updated at any time and the new desired retention period will be effective within 24 hours.
retentionPeriod string
Video retention period indicates the maximum age of the video archive segments which are intended to be kept in storage. It must be provided in the ISO8601 duration format in the granularity of days, up to a maximum of 10 years. For example, if this is set to P30D (30 days), content older than 30 days will be periodically deleted. This value can be updated at any time and the new desired retention period will be effective within 24 hours.
retention_period str
Video retention period indicates the maximum age of the video archive segments which are intended to be kept in storage. It must be provided in the ISO8601 duration format in the granularity of days, up to a maximum of 10 years. For example, if this is set to P30D (30 days), content older than 30 days will be periodically deleted. This value can be updated at any time and the new desired retention period will be effective within 24 hours.
retentionPeriod String
Video retention period indicates the maximum age of the video archive segments which are intended to be kept in storage. It must be provided in the ISO8601 duration format in the granularity of days, up to a maximum of 10 years. For example, if this is set to P30D (30 days), content older than 30 days will be periodically deleted. This value can be updated at any time and the new desired retention period will be effective within 24 hours.

VideoArchivalResponse
, VideoArchivalResponseArgs

RetentionPeriod string
Video retention period indicates the maximum age of the video archive segments which are intended to be kept in storage. It must be provided in the ISO8601 duration format in the granularity of days, up to a maximum of 10 years. For example, if this is set to P30D (30 days), content older than 30 days will be periodically deleted. This value can be updated at any time and the new desired retention period will be effective within 24 hours.
RetentionPeriod string
Video retention period indicates the maximum age of the video archive segments which are intended to be kept in storage. It must be provided in the ISO8601 duration format in the granularity of days, up to a maximum of 10 years. For example, if this is set to P30D (30 days), content older than 30 days will be periodically deleted. This value can be updated at any time and the new desired retention period will be effective within 24 hours.
retentionPeriod String
Video retention period indicates the maximum age of the video archive segments which are intended to be kept in storage. It must be provided in the ISO8601 duration format in the granularity of days, up to a maximum of 10 years. For example, if this is set to P30D (30 days), content older than 30 days will be periodically deleted. This value can be updated at any time and the new desired retention period will be effective within 24 hours.
retentionPeriod string
Video retention period indicates the maximum age of the video archive segments which are intended to be kept in storage. It must be provided in the ISO8601 duration format in the granularity of days, up to a maximum of 10 years. For example, if this is set to P30D (30 days), content older than 30 days will be periodically deleted. This value can be updated at any time and the new desired retention period will be effective within 24 hours.
retention_period str
Video retention period indicates the maximum age of the video archive segments which are intended to be kept in storage. It must be provided in the ISO8601 duration format in the granularity of days, up to a maximum of 10 years. For example, if this is set to P30D (30 days), content older than 30 days will be periodically deleted. This value can be updated at any time and the new desired retention period will be effective within 24 hours.
retentionPeriod String
Video retention period indicates the maximum age of the video archive segments which are intended to be kept in storage. It must be provided in the ISO8601 duration format in the granularity of days, up to a maximum of 10 years. For example, if this is set to P30D (30 days), content older than 30 days will be periodically deleted. This value can be updated at any time and the new desired retention period will be effective within 24 hours.

VideoContentUrlsResponse
, VideoContentUrlsResponseArgs

ArchiveBaseUrl string
Video archive streaming base URL. The archived content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token on any compatible DASH or HLS players by appending the following to the base URL:

- HLSv4:     /manifest(format=m3u8-aapl).m3u8
- HLS CMAF:  /manifest(format=m3u8-cmaf)
- DASH CMAF: /manifest(format=mpd-time-cmaf)

Moreover, an ongoing video recording can be played in "live mode" with latencies which are approximately double of the chosen video segment length. It is available when the video type is ‘archive’ and video archiving is enabled.

DownloadUrl string
Video file download URL. This URL can be used in conjunction with the video content authorization token to download the video MP4 file. The resulting MP4 file can be played on any standard media player. It is available when the video type is ‘file’ and video file is available for consumption.
PreviewImageUrls Pulumi.AzureNative.VideoAnalyzer.Inputs.VideoPreviewImageUrlsResponse
Video preview image URLs. These URLs can be used in conjunction with the video content authorization token to download the most recent still image from the video archive in different resolutions. They are available when the video type is ‘archive’ and preview images are enabled.
RtspTunnelUrl string
Video low-latency streaming URL. The live content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token to expose a WebSocket tunneled RTSP stream. It is available when the video type is ‘archive’ and a live, low-latency feed is available from the source.

ArchiveBaseUrl string
Video archive streaming base URL. The archived content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token on any compatible DASH or HLS players by appending the following to the base URL:

- HLSv4:     /manifest(format=m3u8-aapl).m3u8
- HLS CMAF:  /manifest(format=m3u8-cmaf)
- DASH CMAF: /manifest(format=mpd-time-cmaf)

Moreover, an ongoing video recording can be played in "live mode" with latencies which are approximately double of the chosen video segment length. It is available when the video type is ‘archive’ and video archiving is enabled.

DownloadUrl string
Video file download URL. This URL can be used in conjunction with the video content authorization token to download the video MP4 file. The resulting MP4 file can be played on any standard media player. It is available when the video type is ‘file’ and video file is available for consumption.
PreviewImageUrls VideoPreviewImageUrlsResponse
Video preview image URLs. These URLs can be used in conjunction with the video content authorization token to download the most recent still image from the video archive in different resolutions. They are available when the video type is ‘archive’ and preview images are enabled.
RtspTunnelUrl string
Video low-latency streaming URL. The live content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token to expose a WebSocket tunneled RTSP stream. It is available when the video type is ‘archive’ and a live, low-latency feed is available from the source.

archiveBaseUrl String
Video archive streaming base URL. The archived content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token on any compatible DASH or HLS players by appending the following to the base URL:

- HLSv4:     /manifest(format=m3u8-aapl).m3u8
- HLS CMAF:  /manifest(format=m3u8-cmaf)
- DASH CMAF: /manifest(format=mpd-time-cmaf)

Moreover, an ongoing video recording can be played in "live mode" with latencies which are approximately double of the chosen video segment length. It is available when the video type is ‘archive’ and video archiving is enabled.

downloadUrl String
Video file download URL. This URL can be used in conjunction with the video content authorization token to download the video MP4 file. The resulting MP4 file can be played on any standard media player. It is available when the video type is ‘file’ and video file is available for consumption.
previewImageUrls VideoPreviewImageUrlsResponse
Video preview image URLs. These URLs can be used in conjunction with the video content authorization token to download the most recent still image from the video archive in different resolutions. They are available when the video type is ‘archive’ and preview images are enabled.
rtspTunnelUrl String
Video low-latency streaming URL. The live content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token to expose a WebSocket tunneled RTSP stream. It is available when the video type is ‘archive’ and a live, low-latency feed is available from the source.

archiveBaseUrl string
Video archive streaming base URL. The archived content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token on any compatible DASH or HLS players by appending the following to the base URL:

- HLSv4:     /manifest(format=m3u8-aapl).m3u8
- HLS CMAF:  /manifest(format=m3u8-cmaf)
- DASH CMAF: /manifest(format=mpd-time-cmaf)

Moreover, an ongoing video recording can be played in "live mode" with latencies which are approximately double of the chosen video segment length. It is available when the video type is ‘archive’ and video archiving is enabled.

downloadUrl string
Video file download URL. This URL can be used in conjunction with the video content authorization token to download the video MP4 file. The resulting MP4 file can be played on any standard media player. It is available when the video type is ‘file’ and video file is available for consumption.
previewImageUrls VideoPreviewImageUrlsResponse
Video preview image URLs. These URLs can be used in conjunction with the video content authorization token to download the most recent still image from the video archive in different resolutions. They are available when the video type is ‘archive’ and preview images are enabled.
rtspTunnelUrl string
Video low-latency streaming URL. The live content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token to expose a WebSocket tunneled RTSP stream. It is available when the video type is ‘archive’ and a live, low-latency feed is available from the source.

archive_base_url str
Video archive streaming base URL. The archived content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token on any compatible DASH or HLS players by appending the following to the base URL:

- HLSv4:     /manifest(format=m3u8-aapl).m3u8
- HLS CMAF:  /manifest(format=m3u8-cmaf)
- DASH CMAF: /manifest(format=mpd-time-cmaf)

Moreover, an ongoing video recording can be played in "live mode" with latencies which are approximately double of the chosen video segment length. It is available when the video type is ‘archive’ and video archiving is enabled.

download_url str
Video file download URL. This URL can be used in conjunction with the video content authorization token to download the video MP4 file. The resulting MP4 file can be played on any standard media player. It is available when the video type is ‘file’ and video file is available for consumption.
preview_image_urls VideoPreviewImageUrlsResponse
Video preview image URLs. These URLs can be used in conjunction with the video content authorization token to download the most recent still image from the video archive in different resolutions. They are available when the video type is ‘archive’ and preview images are enabled.
rtsp_tunnel_url str
Video low-latency streaming URL. The live content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token to expose a WebSocket tunneled RTSP stream. It is available when the video type is ‘archive’ and a live, low-latency feed is available from the source.

archiveBaseUrl String
Video archive streaming base URL. The archived content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token on any compatible DASH or HLS players by appending the following to the base URL:

- HLSv4:     /manifest(format=m3u8-aapl).m3u8
- HLS CMAF:  /manifest(format=m3u8-cmaf)
- DASH CMAF: /manifest(format=mpd-time-cmaf)

Moreover, an ongoing video recording can be played in "live mode" with latencies which are approximately double of the chosen video segment length. It is available when the video type is ‘archive’ and video archiving is enabled.

downloadUrl String
Video file download URL. This URL can be used in conjunction with the video content authorization token to download the video MP4 file. The resulting MP4 file can be played on any standard media player. It is available when the video type is ‘file’ and video file is available for consumption.
previewImageUrls Property Map
Video preview image URLs. These URLs can be used in conjunction with the video content authorization token to download the most recent still image from the video archive in different resolutions. They are available when the video type is ‘archive’ and preview images are enabled.
rtspTunnelUrl String
Video low-latency streaming URL. The live content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token to expose a WebSocket tunneled RTSP stream. It is available when the video type is ‘archive’ and a live, low-latency feed is available from the source.

VideoFlagsResponse
, VideoFlagsResponseArgs

CanStream This property is required. bool
Value indicating whether or not the video can be streamed. Only "archive" type videos can be streamed.
HasData This property is required. bool
Value indicating whether or not there has ever been data recorded or uploaded into the video. Newly created videos have this value set to false.
IsInUse This property is required. bool
Value indicating whether or not the video is currently being referenced be an active pipeline. The fact that is being referenced, doesn't necessarily indicate that data is being received. For example, video recording may be gated on events or camera may not be accessible at the time.
CanStream This property is required. bool
Value indicating whether or not the video can be streamed. Only "archive" type videos can be streamed.
HasData This property is required. bool
Value indicating whether or not there has ever been data recorded or uploaded into the video. Newly created videos have this value set to false.
IsInUse This property is required. bool
Value indicating whether or not the video is currently being referenced be an active pipeline. The fact that is being referenced, doesn't necessarily indicate that data is being received. For example, video recording may be gated on events or camera may not be accessible at the time.
canStream This property is required. Boolean
Value indicating whether or not the video can be streamed. Only "archive" type videos can be streamed.
hasData This property is required. Boolean
Value indicating whether or not there has ever been data recorded or uploaded into the video. Newly created videos have this value set to false.
isInUse This property is required. Boolean
Value indicating whether or not the video is currently being referenced be an active pipeline. The fact that is being referenced, doesn't necessarily indicate that data is being received. For example, video recording may be gated on events or camera may not be accessible at the time.
canStream This property is required. boolean
Value indicating whether or not the video can be streamed. Only "archive" type videos can be streamed.
hasData This property is required. boolean
Value indicating whether or not there has ever been data recorded or uploaded into the video. Newly created videos have this value set to false.
isInUse This property is required. boolean
Value indicating whether or not the video is currently being referenced be an active pipeline. The fact that is being referenced, doesn't necessarily indicate that data is being received. For example, video recording may be gated on events or camera may not be accessible at the time.
can_stream This property is required. bool
Value indicating whether or not the video can be streamed. Only "archive" type videos can be streamed.
has_data This property is required. bool
Value indicating whether or not there has ever been data recorded or uploaded into the video. Newly created videos have this value set to false.
is_in_use This property is required. bool
Value indicating whether or not the video is currently being referenced be an active pipeline. The fact that is being referenced, doesn't necessarily indicate that data is being received. For example, video recording may be gated on events or camera may not be accessible at the time.
canStream This property is required. Boolean
Value indicating whether or not the video can be streamed. Only "archive" type videos can be streamed.
hasData This property is required. Boolean
Value indicating whether or not there has ever been data recorded or uploaded into the video. Newly created videos have this value set to false.
isInUse This property is required. Boolean
Value indicating whether or not the video is currently being referenced be an active pipeline. The fact that is being referenced, doesn't necessarily indicate that data is being received. For example, video recording may be gated on events or camera may not be accessible at the time.

VideoMediaInfo
, VideoMediaInfoArgs

SegmentLength string
Video segment length indicates the length of individual video files (segments) which are persisted to storage. Smaller segments provide lower archive playback latency but generate larger volume of storage transactions. Larger segments reduce the amount of storage transactions while increasing the archive playback latency. Value must be specified in ISO8601 duration format (i.e. "PT30S" equals 30 seconds) and can vary between 30 seconds to 5 minutes, in 30 seconds increments.
SegmentLength string
Video segment length indicates the length of individual video files (segments) which are persisted to storage. Smaller segments provide lower archive playback latency but generate larger volume of storage transactions. Larger segments reduce the amount of storage transactions while increasing the archive playback latency. Value must be specified in ISO8601 duration format (i.e. "PT30S" equals 30 seconds) and can vary between 30 seconds to 5 minutes, in 30 seconds increments.
segmentLength String
Video segment length indicates the length of individual video files (segments) which are persisted to storage. Smaller segments provide lower archive playback latency but generate larger volume of storage transactions. Larger segments reduce the amount of storage transactions while increasing the archive playback latency. Value must be specified in ISO8601 duration format (i.e. "PT30S" equals 30 seconds) and can vary between 30 seconds to 5 minutes, in 30 seconds increments.
segmentLength string
Video segment length indicates the length of individual video files (segments) which are persisted to storage. Smaller segments provide lower archive playback latency but generate larger volume of storage transactions. Larger segments reduce the amount of storage transactions while increasing the archive playback latency. Value must be specified in ISO8601 duration format (i.e. "PT30S" equals 30 seconds) and can vary between 30 seconds to 5 minutes, in 30 seconds increments.
segment_length str
Video segment length indicates the length of individual video files (segments) which are persisted to storage. Smaller segments provide lower archive playback latency but generate larger volume of storage transactions. Larger segments reduce the amount of storage transactions while increasing the archive playback latency. Value must be specified in ISO8601 duration format (i.e. "PT30S" equals 30 seconds) and can vary between 30 seconds to 5 minutes, in 30 seconds increments.
segmentLength String
Video segment length indicates the length of individual video files (segments) which are persisted to storage. Smaller segments provide lower archive playback latency but generate larger volume of storage transactions. Larger segments reduce the amount of storage transactions while increasing the archive playback latency. Value must be specified in ISO8601 duration format (i.e. "PT30S" equals 30 seconds) and can vary between 30 seconds to 5 minutes, in 30 seconds increments.

VideoMediaInfoResponse
, VideoMediaInfoResponseArgs

SegmentLength string
Video segment length indicates the length of individual video files (segments) which are persisted to storage. Smaller segments provide lower archive playback latency but generate larger volume of storage transactions. Larger segments reduce the amount of storage transactions while increasing the archive playback latency. Value must be specified in ISO8601 duration format (i.e. "PT30S" equals 30 seconds) and can vary between 30 seconds to 5 minutes, in 30 seconds increments.
SegmentLength string
Video segment length indicates the length of individual video files (segments) which are persisted to storage. Smaller segments provide lower archive playback latency but generate larger volume of storage transactions. Larger segments reduce the amount of storage transactions while increasing the archive playback latency. Value must be specified in ISO8601 duration format (i.e. "PT30S" equals 30 seconds) and can vary between 30 seconds to 5 minutes, in 30 seconds increments.
segmentLength String
Video segment length indicates the length of individual video files (segments) which are persisted to storage. Smaller segments provide lower archive playback latency but generate larger volume of storage transactions. Larger segments reduce the amount of storage transactions while increasing the archive playback latency. Value must be specified in ISO8601 duration format (i.e. "PT30S" equals 30 seconds) and can vary between 30 seconds to 5 minutes, in 30 seconds increments.
segmentLength string
Video segment length indicates the length of individual video files (segments) which are persisted to storage. Smaller segments provide lower archive playback latency but generate larger volume of storage transactions. Larger segments reduce the amount of storage transactions while increasing the archive playback latency. Value must be specified in ISO8601 duration format (i.e. "PT30S" equals 30 seconds) and can vary between 30 seconds to 5 minutes, in 30 seconds increments.
segment_length str
Video segment length indicates the length of individual video files (segments) which are persisted to storage. Smaller segments provide lower archive playback latency but generate larger volume of storage transactions. Larger segments reduce the amount of storage transactions while increasing the archive playback latency. Value must be specified in ISO8601 duration format (i.e. "PT30S" equals 30 seconds) and can vary between 30 seconds to 5 minutes, in 30 seconds increments.
segmentLength String
Video segment length indicates the length of individual video files (segments) which are persisted to storage. Smaller segments provide lower archive playback latency but generate larger volume of storage transactions. Larger segments reduce the amount of storage transactions while increasing the archive playback latency. Value must be specified in ISO8601 duration format (i.e. "PT30S" equals 30 seconds) and can vary between 30 seconds to 5 minutes, in 30 seconds increments.

VideoPreviewImageUrlsResponse
, VideoPreviewImageUrlsResponseArgs

Large string
High resolution preview image URL.
Medium string
Medium resolution preview image URL.
Small string
Low resolution preview image URL.
Large string
High resolution preview image URL.
Medium string
Medium resolution preview image URL.
Small string
Low resolution preview image URL.
large String
High resolution preview image URL.
medium String
Medium resolution preview image URL.
small String
Low resolution preview image URL.
large string
High resolution preview image URL.
medium string
Medium resolution preview image URL.
small string
Low resolution preview image URL.
large str
High resolution preview image URL.
medium str
Medium resolution preview image URL.
small str
Low resolution preview image URL.
large String
High resolution preview image URL.
medium String
Medium resolution preview image URL.
small String
Low resolution preview image URL.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:videoanalyzer:Video video1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/videos/{videoName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi