azure-native.videoanalyzer.Video
Explore with Pulumi AI
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 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,
description: Optional[str] = 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",
Description = "string",
Title = "string",
VideoName = "string",
});
example, err := videoanalyzer.NewVideo(ctx, "videoResource", &videoanalyzer.VideoArgs{
AccountName: "string",
ResourceGroupName: "string",
Description: "string",
Title: "string",
VideoName: "string",
})
var videoResource = new Video("videoResource", VideoArgs.builder()
.accountName("string")
.resourceGroupName("string")
.description("string")
.title("string")
.videoName("string")
.build());
video_resource = azure_native.videoanalyzer.Video("videoResource",
account_name=string,
resource_group_name=string,
description=string,
title=string,
video_name=string)
const videoResource = new azure_native.videoanalyzer.Video("videoResource", {
accountName: "string",
resourceGroupName: "string",
description: "string",
title: "string",
videoName: "string",
});
type: azure-native:videoanalyzer:Video
properties:
accountName: string
description: 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
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.
- Description string
- Optional video description provided by the user. Value can be up to 2048 characters long.
- Title string
- Optional video title provided by the user. Value can be up to 256 characters long.
- Video
Name string - The name of the video to create or update.
- Account
Name string - The Azure Video Analyzer account name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Description string
- Optional video description provided by the user. Value can be up to 2048 characters long.
- Title string
- Optional video title provided by the user. Value can be up to 256 characters long.
- Video
Name string - The name of the video to create or update.
- account
Name String - The Azure Video Analyzer account name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- description String
- Optional video description provided by the user. Value can be up to 2048 characters long.
- title String
- Optional video title provided by the user. Value can be up to 256 characters long.
- video
Name String - The name of the video to create or update.
- account
Name string - The Azure Video Analyzer account name.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- description string
- Optional video description provided by the user. Value can be up to 2048 characters long.
- title string
- Optional video title provided by the user. Value can be up to 256 characters long.
- video
Name string - The name of the video to create or update.
- account_
name str - The Azure Video Analyzer account name.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- description str
- Optional video description provided by the user. Value can be up to 2048 characters long.
- title str
- Optional video title provided by the user. Value can be up to 256 characters long.
- video_
name str - The name of the video to create or update.
- account
Name String - The Azure Video Analyzer account name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- description String
- Optional video description provided by the user. Value can be up to 2048 characters long.
- title String
- Optional video title provided by the user. Value can be up to 256 characters long.
- video
Name String - The name of the video to create or update.
Outputs
All input properties are implicitly available as output properties. Additionally, the Video resource produces the following output properties:
- 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.
- Media
Info Pulumi.Azure Native. Video Analyzer. Outputs. Video Media Info Response - Contains information about the video and audio content.
- Name string
- The name of the resource
- Streaming
Pulumi.
Azure Native. Video Analyzer. Outputs. Video Streaming Response - Video streaming holds information about video streaming URLs.
- System
Data Pulumi.Azure Native. Video Analyzer. Outputs. System Data Response - The system metadata relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- 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.
- Media
Info VideoMedia Info Response - Contains information about the video and audio content.
- Name string
- The name of the resource
- Streaming
Video
Streaming Response - Video streaming holds information about video streaming URLs.
- System
Data SystemData Response - The system metadata relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- 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.
- media
Info VideoMedia Info Response - Contains information about the video and audio content.
- name String
- The name of the resource
- streaming
Video
Streaming Response - Video streaming holds information about video streaming URLs.
- system
Data SystemData Response - The system metadata relating to this resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- 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.
- media
Info VideoMedia Info Response - Contains information about the video and audio content.
- name string
- The name of the resource
- streaming
Video
Streaming Response - Video streaming holds information about video streaming URLs.
- system
Data SystemData Response - The system metadata relating to this resource.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- 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.
- media_
info VideoMedia Info Response - Contains information about the video and audio content.
- name str
- The name of the resource
- streaming
Video
Streaming Response - Video streaming holds information about video streaming URLs.
- system_
data SystemData Response - The system metadata relating to this resource.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- 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.
- media
Info Property Map - Contains information about the video and audio content.
- name String
- The name of the resource
- streaming Property Map
- Video streaming holds information about video streaming URLs.
- system
Data Property Map - The system metadata relating to this resource.
- 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.
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
Recording bool - Value indicating whether or not the video is currently being referenced be an active live 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
Recording bool - Value indicating whether or not the video is currently being referenced be an active live 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
Recording Boolean - Value indicating whether or not the video is currently being referenced be an active live 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
Recording boolean - Value indicating whether or not the video is currently being referenced be an active live 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_
recording bool - Value indicating whether or not the video is currently being referenced be an active live 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
Recording Boolean - Value indicating whether or not the video is currently being referenced be an active live 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.
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.
VideoStreamingResponse, VideoStreamingResponseArgs
- Archive
Base stringUrl Video streaming base URL for the video archive. When present, archived video can be played through the Azure Video Analyzer player. Alternatively, this URL can be used with 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.
- Archive
Base stringUrl Video streaming base URL for the video archive. When present, archived video can be played through the Azure Video Analyzer player. Alternatively, this URL can be used with 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.
- archive
Base StringUrl Video streaming base URL for the video archive. When present, archived video can be played through the Azure Video Analyzer player. Alternatively, this URL can be used with 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.
- archive
Base stringUrl Video streaming base URL for the video archive. When present, archived video can be played through the Azure Video Analyzer player. Alternatively, this URL can be used with 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.
- archive_
base_ strurl Video streaming base URL for the video archive. When present, archived video can be played through the Azure Video Analyzer player. Alternatively, this URL can be used with 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.
- archive
Base StringUrl Video streaming base URL for the video archive. When present, archived video can be played through the Azure Video Analyzer player. Alternatively, this URL can be used with 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.
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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0