Video

class Video : KotlinCustomResource

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",
});
});
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
})
}
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

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}

Properties

Link copied to clipboard

Video archival properties.

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

Set of URLs to the video content.

Link copied to clipboard
val description: Output<String>?

Optional video description provided by the user. Value can be up to 2048 characters long.

Link copied to clipboard

Video flags contain information about the available video actions and its dynamic properties based on the current video state.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Contains information about the video and audio content.

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val title: Output<String>?

Optional video title provided by the user. Value can be up to 256 characters long.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>