azure-native.videoanalyzer.Video
Explore with Pulumi AI
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. Azure REST API version: 2021-11-01-preview. Prior API version in Azure Native 1.x: 2021-05-01-preview.
Other available API versions: 2021-05-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",
});
});
package main
import (
videoanalyzer "github.com/pulumi/pulumi-azure-native-sdk/videoanalyzer/v2"
"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
})
}
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());
}
}
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")
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",
});
resources:
video:
type: azure-native:videoanalyzer:Video
properties:
accountName: testaccount2
description: Sample Description 1
resourceGroupName: testrg
title: Sample Title 1
videoName: video1
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)
type: azure-native:videoanalyzer:Video
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VideoArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args VideoArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VideoArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
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")
const videoResource = new azure_native.videoanalyzer.Video("videoResource", {
accountName: "string",
resourceGroupName: "string",
archival: {
retentionPeriod: "string",
},
description: "string",
mediaInfo: {
segmentLength: "string",
},
title: "string",
videoName: "string",
});
type: azure-native:videoanalyzer:Video
properties:
accountName: string
archival:
retentionPeriod: string
description: string
mediaInfo:
segmentLength: string
resourceGroupName: string
title: string
videoName: string
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:
- Account
Name string - The Azure Video Analyzer account name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Archival
Pulumi.
Azure Native. Video Analyzer. Inputs. Video Archival - Video archival properties.
- Description string
- Optional video description provided by the user. Value can be up to 2048 characters long.
- Media
Info Pulumi.Azure Native. Video Analyzer. Inputs. Video Media Info - 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.
- Video
Name string - The Video name.
- Account
Name string - The Azure Video Analyzer account name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Archival
Video
Archival Args - Video archival properties.
- Description string
- Optional video description provided by the user. Value can be up to 2048 characters long.
- Media
Info VideoMedia Info Args - 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.
- Video
Name string - The Video name.
- account
Name String - The Azure Video Analyzer account name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- archival
Video
Archival - Video archival properties.
- description String
- Optional video description provided by the user. Value can be up to 2048 characters long.
- media
Info VideoMedia Info - 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.
- video
Name String - The Video name.
- account
Name string - The Azure Video Analyzer account name.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- archival
Video
Archival - Video archival properties.
- description string
- Optional video description provided by the user. Value can be up to 2048 characters long.
- media
Info VideoMedia Info - 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.
- video
Name string - The Video name.
- account_
name str - The Azure Video Analyzer account name.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- archival
Video
Archival Args - Video archival properties.
- description str
- Optional video description provided by the user. Value can be up to 2048 characters long.
- media_
info VideoMedia Info Args - 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 str - The Video name.
- account
Name String - The Azure Video Analyzer account name.
- resource
Group StringName - 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.
- media
Info 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.
- video
Name String - The Video name.
Outputs
All input properties are implicitly available as output properties. Additionally, the Video resource produces the following output properties:
- Content
Urls Pulumi.Azure Native. Video Analyzer. Outputs. Video Content Urls Response - Set of URLs to the video content.
- Flags
Pulumi.
Azure Native. Video Analyzer. Outputs. Video Flags Response - 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
- System
Data Pulumi.Azure Native. Video Analyzer. Outputs. System Data Response - 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"
- Content
Urls VideoContent Urls Response - Set of URLs to the video content.
- Flags
Video
Flags Response - 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
- System
Data SystemData Response - 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"
- content
Urls VideoContent Urls Response - Set of URLs to the video content.
- flags
Video
Flags Response - 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
- system
Data SystemData Response - 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"
- content
Urls VideoContent Urls Response - Set of URLs to the video content.
- flags
Video
Flags Response - 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
- system
Data SystemData Response - 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"
- content_
urls VideoContent Urls Response - Set of URLs to the video content.
- flags
Video
Flags Response - 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 SystemData Response - 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"
- content
Urls 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
- system
Data 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
VideoArchival, VideoArchivalArgs
- Retention
Period 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 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 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 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.
- retention
Period 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
- Retention
Period 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 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 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 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.
- retention
Period 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
- Archive
Base stringUrl - 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 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.
- Preview
Image Pulumi.Urls Azure Native. Video Analyzer. Inputs. Video Preview Image Urls Response - 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 stringUrl - 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 stringUrl - 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 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.
- Preview
Image VideoUrls Preview Image Urls Response - 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 stringUrl - 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 StringUrl - 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 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.
- preview
Image VideoUrls Preview Image Urls Response - 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 StringUrl - 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 stringUrl - 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 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.
- preview
Image VideoUrls Preview Image Urls Response - 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 stringUrl - 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_ strurl - 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_ Videourls Preview Image Urls Response - 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_ strurl - 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 StringUrl - 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 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.
- preview
Image Property MapUrls - 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 StringUrl - 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
- Can
Stream bool - Value indicating whether or not the video can be streamed. Only "archive" type videos can be streamed.
- Has
Data 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 boolUse - 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 bool - Value indicating whether or not the video can be streamed. Only "archive" type videos can be streamed.
- Has
Data 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 boolUse - 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 Boolean - Value indicating whether or not the video can be streamed. Only "archive" type videos can be streamed.
- has
Data 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.
- is
In BooleanUse - 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 boolean - Value indicating whether or not the video can be streamed. Only "archive" type videos can be streamed.
- has
Data 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.
- is
In booleanUse - 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 bool - Value indicating whether or not the video can be streamed. Only "archive" type videos can be streamed.
- has_
data 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_ booluse - 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 Boolean - Value indicating whether or not the video can be streamed. Only "archive" type videos can be streamed.
- has
Data 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.
- is
In BooleanUse - 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
- Segment
Length 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 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 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 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.
- segment
Length 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
- Segment
Length 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 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 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 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.
- segment
Length 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
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}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0