azure-native.videoanalyzer.getVideo
Explore with Pulumi AI
Retrieves an existing video resource within an account with a given name. API Version: 2021-05-01-preview.
Using getVideo
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVideo(args: GetVideoArgs, opts?: InvokeOptions): Promise<GetVideoResult>
function getVideoOutput(args: GetVideoOutputArgs, opts?: InvokeOptions): Output<GetVideoResult>
def get_video(account_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
video_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVideoResult
def get_video_output(account_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
video_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVideoResult]
func LookupVideo(ctx *Context, args *LookupVideoArgs, opts ...InvokeOption) (*LookupVideoResult, error)
func LookupVideoOutput(ctx *Context, args *LookupVideoOutputArgs, opts ...InvokeOption) LookupVideoResultOutput
> Note: This function is named LookupVideo
in the Go SDK.
public static class GetVideo
{
public static Task<GetVideoResult> InvokeAsync(GetVideoArgs args, InvokeOptions? opts = null)
public static Output<GetVideoResult> Invoke(GetVideoInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVideoResult> getVideo(GetVideoArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:videoanalyzer:getVideo
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Name string - The Azure Video Analyzer account name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Video
Name string - The name of the video to retrieve.
- Account
Name string - The Azure Video Analyzer account name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Video
Name string - The name of the video to retrieve.
- account
Name String - The Azure Video Analyzer account name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- video
Name String - The name of the video to retrieve.
- account
Name string - The Azure Video Analyzer account name.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- video
Name string - The name of the video to retrieve.
- account_
name str - The Azure Video Analyzer account name.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- video_
name str - The name of the video to retrieve.
- account
Name String - The Azure Video Analyzer account name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- video
Name String - The name of the video to retrieve.
getVideo Result
The following output properties are available:
- 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
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- 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"
- 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.
- 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
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- 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"
- 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.
- 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
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- 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"
- 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.
- 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
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- 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"
- 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.
- 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
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- 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"
- 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.
- flags Property Map
- Video flags contain information about the available video actions and its dynamic properties based on the current video state.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- 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"
- 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.
Supporting Types
SystemDataResponse
- 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
- 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
- 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
- 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.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0