Video

class Video : KotlinCustomResource

The representation of a single video in a Video Analyzer account. API Version: 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"
"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/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/videos/video1

Properties

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

Video streaming holds information about video streaming URLs.

Link copied to clipboard

The system metadata relating to this resource.

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>