FileSink Class

File sink allows for video and audio content to be recorded on the file system on the edge device.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.media.videoanalyzeredge._generated.models._models_py3.SinkNodeBase
FileSink

Constructor

FileSink(*, name: str, inputs: List[azure.media.videoanalyzeredge._generated.models._models_py3.NodeInput], base_directory_path: str, file_name_pattern: str, maximum_size_mi_b: str, **kwargs)

Variables

type
str

Required. Type discriminator for the derived types.Constant filled by server.

name
str

Required. Node name. Must be unique within the topology.

inputs
list[<xref:azure.media.videoanalyzer.edge.models.NodeInput>]

Required. An array of upstream node references within the topology to be used as inputs for this node.

base_directory_path
str

Required. Absolute directory path where media files will be stored.

file_name_pattern
str

Required. File name pattern for creating new files when performing event based recording. The pattern must include at least one system variable.

maximum_size_mi_b
str

Required. Maximum amount of disk space that can be used for storing files from this sink. Once this limit is reached, the oldest files from this sink will be automatically deleted.