diff --git a/specification/videoanalyzer/cspell.yaml b/specification/videoanalyzer/cspell.yaml deleted file mode 100644 index 5fd463958742..000000000000 --- a/specification/videoanalyzer/cspell.yaml +++ /dev/null @@ -1,23 +0,0 @@ -# This file configures spell checking. Items in "words" were initially populated -# with words that might be spelling errors. Review these words and take -# appropriate action. For more information, see: https://aka.ms/ci-fix#spell-check - -# Spell checking is not case sensitive -# Keep word lists in alphabetical order so the file is easier to manage -version: '0.2' -import: - - ../../cspell.yaml -words: - - abgr - - abgrabgr - - argb - - argbargb - - bgra - - bgrabgra - - bgrbgr - - cmaf - - kbps - - mebibytes - - onvif - - rtsp - diff --git a/specification/videoanalyzer/data-plane/VideoAnalyzer.Edge/preview/1.0.0/AzureVideoAnalyzer.json b/specification/videoanalyzer/data-plane/VideoAnalyzer.Edge/preview/1.0.0/AzureVideoAnalyzer.json deleted file mode 100644 index 35ce93549b72..000000000000 --- a/specification/videoanalyzer/data-plane/VideoAnalyzer.Edge/preview/1.0.0/AzureVideoAnalyzer.json +++ /dev/null @@ -1,1689 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "1.0.0", - "title": "Azure Video Analyzer for Edge", - "description": "Azure Video Analyzer resources which can be utilized when performing direct method calls through Azure IoT Edge.", - "contact": { - "email": "videoanalyzerhelp@microsoft.com" - } - }, - "security": [ - { - "sharedAccessSignature": [] - } - ], - "paths": {}, - "securityDefinitions": { - "sharedAccessSignature": { - "type": "apiKey", - "name": "Authorization", - "in": "header" - } - }, - "definitions": { - "LivePipeline": { - "type": "object", - "required": [ - "name" - ], - "properties": { - "name": { - "type": "string", - "description": "Live pipeline unique identifier." - }, - "systemData": { - "$ref": "#/definitions/SystemData", - "description": "Read-only system metadata associated with this object." - }, - "properties": { - "$ref": "#/definitions/LivePipelineProperties", - "description": "Live pipeline properties." - } - }, - "description": "Live Pipeline represents an unique instance of a pipeline topology which is used for real-time content ingestion and analysis." - }, - "LivePipelineProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "An optional description of the live pipeline." - }, - "topologyName": { - "type": "string", - "description": "The reference to an existing pipeline topology defined for real-time content processing. When activated, this live pipeline will process content according to the pipeline topology definition." - }, - "parameters": { - "type": "array", - "description": "List of the instance level parameter values for the user-defined topology parameters. A pipeline can only define or override parameters values for parameters which have been declared in the referenced topology. Topology parameters without a default value must be defined. Topology parameters with a default value can be optionally be overridden.", - "items": { - "$ref": "#/definitions/ParameterDefinition" - } - }, - "state": { - "type": "string", - "description": "Current pipeline state (read-only).", - "enum": [ - "inactive", - "activating", - "active", - "deactivating" - ], - "x-ms-enum": { - "name": "livePipelineState", - "values": [ - { - "value": "inactive", - "description": "The live pipeline is idle and not processing media." - }, - { - "value": "activating", - "description": "The live pipeline is transitioning into the active state." - }, - { - "value": "active", - "description": "The live pipeline is active and able to process media. If your data source is not available, for instance, if your RTSP camera is powered off or unreachable, the pipeline will still be active and periodically retrying the connection. Your Azure subscription will be billed for the duration in which the live pipeline is in the active state." - }, - { - "value": "deactivating", - "description": "The live pipeline is transitioning into the inactive state." - } - ], - "modelAsString": true - } - } - }, - "description": "Live pipeline properties." - }, - "ParameterDefinition": { - "type": "object", - "required": [ - "name" - ], - "properties": { - "name": { - "type": "string", - "description": "Name of the parameter declared in the pipeline topology." - }, - "value": { - "type": "string", - "description": "Parameter value to be applied on this specific live pipeline." - } - }, - "description": "Defines the parameter value of an specific pipeline topology parameter. See pipeline topology parameters for more information." - }, - "LivePipelineCollection": { - "type": "object", - "properties": { - "value": { - "type": "array", - "description": "List of live pipelines.", - "items": { - "$ref": "#/definitions/LivePipeline" - } - }, - "@continuationToken": { - "type": "string", - "description": "A continuation token to be used in subsequent calls when enumerating through the collection. This is returned when the collection results won't fit in a single response." - } - }, - "description": "A collection of live pipelines." - }, - "PipelineTopologyCollection": { - "type": "object", - "properties": { - "value": { - "type": "array", - "description": "List of pipeline topologies.", - "items": { - "$ref": "#/definitions/PipelineTopology" - } - }, - "@continuationToken": { - "type": "string", - "description": "A continuation token to be used in subsequent calls when enumerating through the collection. This is returned when the collection results won't fit in a single response." - } - }, - "description": "A collection of pipeline topologies." - }, - "PipelineTopology": { - "type": "object", - "required": [ - "name" - ], - "properties": { - "name": { - "type": "string", - "description": "Pipeline topology unique identifier." - }, - "systemData": { - "$ref": "#/definitions/SystemData", - "description": "Read-only system metadata associated with this object." - }, - "properties": { - "$ref": "#/definitions/PipelineTopologyProperties", - "description": "Pipeline topology properties." - } - }, - "description": "Pipeline topology describes the processing steps to be applied when processing media for a particular outcome. The topology should be defined according to the scenario to be achieved and can be reused across many pipeline instances which share the same processing characteristics. For instance, a pipeline topology which acquires data from a RTSP camera, process it with an specific AI model and stored the data on the cloud can be reused across many different cameras, as long as the same processing should be applied across all the cameras. Individual instance properties can be defined through the use of user-defined parameters, which allow for a topology to be parameterized, thus allowing individual pipelines to refer to different values, such as individual cameras RTSP endpoints and credentials. Overall a topology is composed of the following:\r\n\r\n - Parameters: list of user defined parameters that can be references across the topology nodes.\r\n - Sources: list of one or more data sources nodes such as an RTSP source which allows for media to be ingested from cameras.\r\n - Processors: list of nodes which perform data analysis or transformations.\r\n -Sinks: list of one or more data sinks which allow for data to be stored or exported to other destinations." - }, - "PipelineTopologyProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "An optional description of the pipeline topology. It is recommended that the expected use of the topology to be described here." - }, - "parameters": { - "type": "array", - "items": { - "$ref": "#/definitions/ParameterDeclaration" - }, - "description": "List of the topology parameter declarations. Parameters declared here can be referenced throughout the topology nodes through the use of \"${PARAMETER_NAME}\" string pattern. Parameters can have optional default values and can later be defined in individual instances of the pipeline." - }, - "sources": { - "type": "array", - "items": { - "$ref": "#/definitions/SourceNodeBase" - }, - "description": "List of the topology source nodes. Source nodes enable external data to be ingested by the pipeline." - }, - "processors": { - "type": "array", - "items": { - "$ref": "#/definitions/ProcessorNodeBase" - }, - "description": "List of the topology processor nodes. Processor nodes enable pipeline data to be analyzed, processed or transformed." - }, - "sinks": { - "type": "array", - "items": { - "$ref": "#/definitions/SinkNodeBase" - }, - "description": "List of the topology sink nodes. Sink nodes allow pipeline data to be stored or exported." - } - }, - "description": "Pipeline topology properties." - }, - "SystemData": { - "type": "object", - "properties": { - "createdAt": { - "type": "string", - "format": "date-time", - "description": "Date and time when this resource was first created. Value is represented in UTC according to the ISO8601 date format." - }, - "lastModifiedAt": { - "type": "string", - "format": "date-time", - "description": "Date and time when this resource was last modified. Value is represented in UTC according to the ISO8601 date format." - } - }, - "description": "Read-only system metadata associated with a resource." - }, - "ParameterDeclaration": { - "type": "object", - "required": [ - "name", - "type" - ], - "properties": { - "name": { - "type": "string", - "description": "Name of the parameter.", - "maxLength": 64 - }, - "type": { - "type": "string", - "description": "Type of the parameter.", - "enum": [ - "string", - "secretString", - "int", - "double", - "bool" - ], - "x-ms-enum": { - "name": "parameterType", - "values": [ - { - "value": "string", - "description": "The parameter's value is a string." - }, - { - "value": "secretString", - "description": "The parameter's value is a string that holds sensitive information." - }, - { - "value": "int", - "description": "The parameter's value is a 32-bit signed integer." - }, - { - "value": "double", - "description": "The parameter's value is a 64-bit double-precision floating point." - }, - { - "value": "bool", - "description": "The parameter's value is a boolean value that is either true or false." - } - ], - "modelAsString": true - } - }, - "description": { - "type": "string", - "description": "Description of the parameter." - }, - "default": { - "type": "string", - "description": "The default value for the parameter to be used if the live pipeline does not specify a value." - } - }, - "description": "Single topology parameter declaration. Declared parameters can and must be referenced throughout the topology and can optionally have default values to be used when they are not defined in the pipeline instances." - }, - "SourceNodeBase": { - "type": "object", - "required": [ - "@type", - "name" - ], - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "Type discriminator for the derived types." - }, - "name": { - "type": "string", - "description": "Node name. Must be unique within the topology." - } - }, - "description": "Base class for topology source nodes." - }, - "RtspSource": { - "type": "object", - "properties": { - "transport": { - "type": "string", - "description": "Network transport utilized by the RTSP and RTP exchange: TCP or HTTP. When using TCP, the RTP packets are interleaved on the TCP RTSP connection. When using HTTP, the RTSP messages are exchanged through long lived HTTP connections, and the RTP packages are interleaved in the HTTP connections alongside the RTSP messages.", - "enum": [ - "http", - "tcp" - ], - "x-ms-enum": { - "name": "rtspTransport", - "values": [ - { - "value": "http", - "description": "HTTP transport. RTSP messages are exchanged over long running HTTP requests and RTP packets are interleaved within the HTTP channel." - }, - { - "value": "tcp", - "description": "TCP transport. RTSP is used directly over TCP and RTP packets are interleaved within the TCP channel." - } - ], - "modelAsString": true - } - }, - "endpoint": { - "description": "RTSP endpoint information for Video Analyzer to connect to. This contains the required information for Video Analyzer to connect to RTSP cameras and/or generic RTSP servers.", - "$ref": "#/definitions/EndpointBase" - } - }, - "required": [ - "endpoint" - ], - "allOf": [ - { - "$ref": "#/definitions/SourceNodeBase" - } - ], - "description": "RTSP source allows for media from an RTSP camera or generic RTSP server to be ingested into a live pipeline.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.RtspSource" - }, - "IotHubMessageSource": { - "type": "object", - "properties": { - "hubInputName": { - "type": "string", - "description": "Name of the IoT Edge Hub input from which messages will be consumed." - } - }, - "allOf": [ - { - "$ref": "#/definitions/SourceNodeBase" - } - ], - "description": "IoT Hub Message source allows for the pipeline to consume messages from the IoT Edge Hub. Messages can be routed from other IoT modules via routes declared in the IoT Edge deployment manifest.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.IotHubMessageSource" - }, - "IotHubMessageSink": { - "type": "object", - "properties": { - "hubOutputName": { - "type": "string", - "description": "Name of the Iot Edge Hub output to which the messages will be published." - } - }, - "required": [ - "@type", - "hubOutputName" - ], - "allOf": [ - { - "$ref": "#/definitions/SinkNodeBase" - } - ], - "description": "IoT Hub Message sink allows for pipeline messages to published into the IoT Edge Hub. Published messages can then be delivered to the cloud and other modules via routes declared in the IoT Edge deployment manifest.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.IotHubMessageSink" - }, - "EndpointBase": { - "type": "object", - "required": [ - "@type", - "url" - ], - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "Type discriminator for the derived types." - }, - "credentials": { - "description": "Credentials to be presented to the endpoint.", - "$ref": "#/definitions/CredentialsBase" - }, - "url": { - "type": "string", - "description": "The endpoint URL for Video Analyzer to connect to." - } - }, - "description": "Base class for endpoints." - }, - "CredentialsBase": { - "type": "object", - "required": [ - "@type" - ], - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "Type discriminator for the derived types." - } - }, - "description": "Base class for credential objects." - }, - "UsernamePasswordCredentials": { - "type": "object", - "properties": { - "username": { - "type": "string", - "description": "Username to be presented as part of the credentials." - }, - "password": { - "type": "string", - "description": "Password to be presented as part of the credentials. It is recommended that this value is parameterized as a secret string in order to prevent this value to be returned as part of the resource on API requests." - } - }, - "required": [ - "username", - "password" - ], - "allOf": [ - { - "$ref": "#/definitions/CredentialsBase" - } - ], - "description": "Username and password credentials.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.UsernamePasswordCredentials" - }, - "HttpHeaderCredentials": { - "type": "object", - "properties": { - "headerName": { - "type": "string", - "description": "HTTP header name." - }, - "headerValue": { - "type": "string", - "description": "HTTP header value. It is recommended that this value is parameterized as a secret string in order to prevent this value to be returned as part of the resource on API requests." - } - }, - "required": [ - "headerName", - "headerValue" - ], - "allOf": [ - { - "$ref": "#/definitions/CredentialsBase" - } - ], - "description": "HTTP header credentials.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.HttpHeaderCredentials" - }, - "UnsecuredEndpoint": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/EndpointBase" - } - ], - "description": "Unsecured endpoint describes an endpoint that the pipeline can connect to over clear transport (no encryption in transit).", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.UnsecuredEndpoint" - }, - "TlsEndpoint": { - "type": "object", - "properties": { - "trustedCertificates": { - "description": "List of trusted certificate authorities when authenticating a TLS connection. A null list designates that Azure Video Analyzer's list of trusted authorities should be used.", - "$ref": "#/definitions/CertificateSource" - }, - "validationOptions": { - "description": "Validation options to use when authenticating a TLS connection. By default, strict validation is used.", - "$ref": "#/definitions/TlsValidationOptions" - } - }, - "allOf": [ - { - "$ref": "#/definitions/EndpointBase" - } - ], - "description": "TLS endpoint describes an endpoint that the pipeline can connect to over TLS transport (data is encrypted in transit).", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.TlsEndpoint" - }, - "CertificateSource": { - "type": "object", - "required": [ - "@type" - ], - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "Type discriminator for the derived types." - } - }, - "description": "Base class for certificate sources." - }, - "TlsValidationOptions": { - "type": "object", - "properties": { - "ignoreHostname": { - "type": "string", - "description": "When set to 'true' causes the certificate subject name validation to be skipped. Default is 'false'." - }, - "ignoreSignature": { - "type": "string", - "description": "When set to 'true' causes the certificate chain trust validation to be skipped. Default is 'false'." - } - }, - "description": "Options for controlling the validation of TLS endpoints." - }, - "PemCertificateList": { - "type": "object", - "properties": { - "certificates": { - "type": "array", - "description": "PEM formatted public certificates. One certificate per entry.", - "items": { - "type": "string" - } - } - }, - "required": [ - "certificates" - ], - "allOf": [ - { - "$ref": "#/definitions/CertificateSource" - } - ], - "description": "A list of PEM formatted certificates.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.PemCertificateList" - }, - "SinkNodeBase": { - "type": "object", - "required": [ - "@type", - "inputs", - "name" - ], - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "Type discriminator for the derived types." - }, - "name": { - "type": "string", - "description": "Node name. Must be unique within the topology." - }, - "inputs": { - "type": "array", - "description": "An array of upstream node references within the topology to be used as inputs for this node.", - "items": { - "$ref": "#/definitions/NodeInput" - } - } - }, - "description": "Base class for topology sink nodes." - }, - "NodeInput": { - "type": "object", - "required": [ - "nodeName" - ], - "properties": { - "nodeName": { - "type": "string", - "description": "The name of the upstream node in the pipeline which output is used as input of the current node." - }, - "outputSelectors": { - "type": "array", - "description": "Allows for the selection of specific data streams (eg. video only) from another node.", - "items": { - "$ref": "#/definitions/OutputSelector" - } - } - }, - "description": "Describes an input signal to be used on a pipeline node." - }, - "OutputSelector": { - "type": "object", - "properties": { - "property": { - "type": "string", - "description": "The property of the data stream to be used as the selection criteria.", - "enum": [ - "mediaType" - ], - "x-ms-enum": { - "name": "outputSelectorProperty", - "values": [ - { - "value": "mediaType", - "description": "The stream's MIME type or subtype: audio, video or application" - } - ], - "modelAsString": true - } - }, - "operator": { - "type": "string", - "description": "The operator to compare properties by.", - "enum": [ - "is", - "isNot" - ], - "x-ms-enum": { - "name": "outputSelectorOperator", - "values": [ - { - "value": "is", - "description": "The property is of the type defined by value." - }, - { - "value": "isNot", - "description": "The property is not of the type defined by value." - } - ], - "modelAsString": true - } - }, - "value": { - "type": "string", - "description": "Value to compare against." - } - }, - "description": "Allows for the selection of particular streams from another node." - }, - "FileSink": { - "type": "object", - "properties": { - "baseDirectoryPath": { - "type": "string", - "description": "Absolute directory path where media files will be stored.", - "example": "/var/media/output/" - }, - "fileNamePattern": { - "type": "string", - "description": "File name pattern for creating new files when performing event based recording. The pattern must include at least one system variable.", - "example": "mySampleFile-${System.TopologyName}-${System.PipelineName}-${System.Runtime.DateTime}" - }, - "maximumSizeMiB": { - "type": "string", - "description": "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." - } - }, - "required": [ - "fileNamePattern", - "baseDirectoryPath", - "maximumSizeMiB" - ], - "allOf": [ - { - "$ref": "#/definitions/SinkNodeBase" - } - ], - "description": "File sink allows for video and audio content to be recorded on the file system on the edge device.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.FileSink" - }, - "VideoCreationProperties": { - "type": "object", - "properties": { - "title": { - "type": "string", - "description": "Optional video title provided by the user. Value can be up to 256 characters long." - }, - "description": { - "type": "string", - "description": "Optional video description provided by the user. Value can be up to 2048 characters long." - }, - "segmentLength": { - "type": "string", - "example": "PT30S", - "description": "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. Changing this value after the video is initially created can lead to errors when uploading media to the archive. Default value is 30 seconds." - } - }, - "description": "Optional video properties to be used in case a new video resource needs to be created on the service. These will not take effect if the video already exists." - }, - "VideoSink": { - "type": "object", - "properties": { - "videoName": { - "type": "string", - "description": "Name of a new or existing Video Analyzer video resource used for the media recording.", - "example": "myVideo001" - }, - "videoCreationProperties": { - "description": "Optional video properties to be used in case a new video resource needs to be created on the service.", - "$ref": "#/definitions/VideoCreationProperties" - }, - "localMediaCachePath": { - "type": "string", - "description": "Path to a local file system directory for caching of temporary media files. This will also be used to store content which cannot be immediately uploaded to Azure due to Internet connectivity issues.", - "example": "/var/lib/tmp/" - }, - "localMediaCacheMaximumSizeMiB": { - "type": "string", - "description": "Maximum amount of disk space that can be used for caching of temporary media files. Once this limit is reached, the oldest segments of the media archive will be continuously deleted in order to make space for new media, thus leading to gaps in the cloud recorded content." - } - }, - "required": [ - "@type", - "videoName", - "localMediaCachePath", - "localMediaCacheMaximumSizeMiB" - ], - "allOf": [ - { - "$ref": "#/definitions/SinkNodeBase" - } - ], - "description": "Video sink allows for video and audio to be recorded to the Video Analyzer service. The recorded video can be played from anywhere and further managed from the cloud. Due to security reasons, a given Video Analyzer edge module instance can only record content to new video entries, or existing video entries previously recorded by the same module. Any attempt to record content to an existing video which has not been created by the same module instance will result in failure to record.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.VideoSink" - }, - "ProcessorNodeBase": { - "type": "object", - "required": [ - "@type", - "inputs", - "name" - ], - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "Type discriminator for the derived types." - }, - "name": { - "type": "string", - "description": "Node name. Must be unique within the topology." - }, - "inputs": { - "type": "array", - "description": "An array of upstream node references within the topology to be used as inputs for this node.", - "items": { - "$ref": "#/definitions/NodeInput" - } - } - }, - "description": "Base class for topology processor nodes." - }, - "MotionDetectionProcessor": { - "type": "object", - "properties": { - "sensitivity": { - "type": "string", - "description": "Motion detection sensitivity: low, medium, high.", - "enum": [ - "low", - "medium", - "high" - ], - "x-ms-enum": { - "name": "motionDetectionSensitivity", - "values": [ - { - "value": "low", - "description": "Low sensitivity." - }, - { - "value": "medium", - "description": "Medium sensitivity." - }, - { - "value": "high", - "description": "High sensitivity." - } - ], - "modelAsString": true - } - }, - "outputMotionRegion": { - "type": "boolean", - "description": "Indicates whether the processor should detect and output the regions within the video frame where motion was detected. Default is true." - }, - "eventAggregationWindow": { - "type": "string", - "description": "Time window duration on which events are aggregated before being emitted. Value must be specified in ISO8601 duration format (i.e. \"PT2S\" equals 2 seconds). Use 0 seconds for no aggregation. Default is 1 second." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProcessorNodeBase" - } - ], - "description": "Motion detection processor allows for motion detection on the video stream. It generates motion events whenever motion is present on the video.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.MotionDetectionProcessor" - }, - "ObjectTrackingProcessor": { - "type": "object", - "properties": { - "accuracy": { - "type": "string", - "description": "Object tracker accuracy: low, medium, high. Higher accuracy leads to higher CPU consumption in average.", - "enum": [ - "low", - "medium", - "high" - ], - "x-ms-enum": { - "name": "objectTrackingAccuracy", - "values": [ - { - "value": "low", - "description": "Low accuracy." - }, - { - "value": "medium", - "description": "Medium accuracy." - }, - { - "value": "high", - "description": "High accuracy." - } - ], - "modelAsString": true - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProcessorNodeBase" - } - ], - "description": "Object tracker processor allows for continuous tracking of one of more objects over a finite sequence of video frames. It must be used downstream of an object detector extension node, thus allowing for the extension to be configured to to perform inferences on sparse frames through the use of the 'maximumSamplesPerSecond' sampling property. The object tracker node will then track the detected objects over the frames in which the detector is not invoked resulting on a smother tracking of detected objects across the continuum of video frames. The tracker will stop tracking objects which are not subsequently detected by the upstream detector on the subsequent detections.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.ObjectTrackingProcessor" - }, - "LineCrossingProcessor": { - "type": "object", - "required": [ - "lines" - ], - "properties": { - "lines": { - "type": "array", - "description": "An array of lines used to compute line crossing events.", - "items": { - "$ref": "#/definitions/NamedLineBase" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProcessorNodeBase" - } - ], - "description": "Line crossing processor allows for the detection of tracked objects moving across one or more predefined lines. It must be downstream of an object tracker of downstream on an AI extension node that generates sequenceId for objects which are tracked across different frames of the video. Inference events are generated every time objects crosses from one side of the line to another.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.LineCrossingProcessor" - }, - "ExtensionProcessorBase": { - "type": "object", - "required": [ - "endpoint", - "image" - ], - "properties": { - "endpoint": { - "description": "Endpoint details of the pipeline extension plugin.", - "$ref": "#/definitions/EndpointBase" - }, - "image": { - "description": "Image transformations and formatting options to be applied to the video frame(s) prior submission to the pipeline extension plugin.", - "$ref": "#/definitions/ImageProperties" - }, - "samplingOptions": { - "description": "Media sampling parameters that define how often media is submitted to the extension plugin.", - "$ref": "#/definitions/SamplingOptions" - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProcessorNodeBase" - } - ], - "description": "Base class for pipeline extension processors. Pipeline extensions allow for custom media analysis and processing to be plugged into the Video Analyzer pipeline.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.ExtensionProcessorBase" - }, - "GrpcExtension": { - "type": "object", - "required": [ - "dataTransfer" - ], - "properties": { - "dataTransfer": { - "description": "Specifies how media is transferred to the extension plugin.", - "$ref": "#/definitions/GrpcExtensionDataTransfer" - }, - "extensionConfiguration": { - "type": "string", - "description": "An optional configuration string that is sent to the extension plugin. The configuration string is specific to each custom extension and it not understood neither validated by Video Analyzer. Please see https://aka.ms/ava-extension-grpc for details." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ExtensionProcessorBase" - } - ], - "description": "GRPC extension processor allows pipeline extension plugins to be connected to the pipeline through over a gRPC channel. Extension plugins must act as an gRPC server. Please see https://aka.ms/ava-extension-grpc for details.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.GrpcExtension" - }, - "GrpcExtensionDataTransfer": { - "type": "object", - "required": [ - "mode" - ], - "properties": { - "sharedMemorySizeMiB": { - "type": "string", - "description": "The share memory buffer for sample transfers, in mebibytes. It can only be used with the 'SharedMemory' transfer mode." - }, - "mode": { - "type": "string", - "description": "Data transfer mode: embedded or sharedMemory.", - "enum": [ - "embedded", - "sharedMemory" - ], - "x-ms-enum": { - "name": "grpcExtensionDataTransferMode", - "values": [ - { - "value": "embedded", - "description": "Media samples are embedded into the gRPC messages. This mode is less efficient but it requires a simpler implementations and can be used with plugins which are not on the same node as the Video Analyzer module." - }, - { - "value": "sharedMemory", - "description": "Media samples are made available through shared memory. This mode enables efficient data transfers but it requires that the extension plugin to be co-located on the same node and sharing the same shared memory space." - } - ], - "modelAsString": true - } - } - }, - "description": "Describes how media is transferred to the extension plugin.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.GrpcExtensionDataTransfer" - }, - "HttpExtension": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ExtensionProcessorBase" - } - ], - "description": "HTTP extension processor allows pipeline extension plugins to be connected to the pipeline through over the HTTP protocol. Extension plugins must act as an HTTP server. Please see https://aka.ms/ava-extension-http for details.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.HttpExtension" - }, - "ImageProperties": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/definitions/ImageScale" - }, - "format": { - "$ref": "#/definitions/ImageFormatProperties" - } - }, - "description": "Image transformations and formatting options to be applied to the video frame(s)." - }, - "SamplingOptions": { - "type": "object", - "properties": { - "skipSamplesWithoutAnnotation": { - "type": "string", - "description": "When set to 'true', prevents frames without upstream inference data to be sent to the extension plugin. This is useful to limit the frames sent to the extension to pre-analyzed frames only. For example, when used downstream from a motion detector, this can enable for only frames in which motion has been detected to be further analyzed." - }, - "maximumSamplesPerSecond": { - "type": "string", - "description": "Maximum rate of samples submitted to the extension. This prevents an extension plugin to be overloaded with data." - } - }, - "description": "Defines how often media is submitted to the extension plugin." - }, - "ImageScale": { - "type": "object", - "properties": { - "mode": { - "type": "string", - "description": "Describes the image scaling mode to be applied. Default mode is 'pad'.", - "enum": [ - "preserveAspectRatio", - "pad", - "stretch" - ], - "x-ms-enum": { - "name": "imageScaleMode", - "values": [ - { - "value": "preserveAspectRatio", - "description": "Preserves the same aspect ratio as the input image. If only one image dimension is provided, the second dimension is calculated based on the input image aspect ratio. When 2 dimensions are provided, the image is resized to fit the most constraining dimension, considering the input image size and aspect ratio." - }, - { - "value": "pad", - "description": "Pads the image with black horizontal stripes (letterbox) or black vertical stripes (pillar-box) so the image is resized to the specified dimensions while not altering the content aspect ratio." - }, - { - "value": "stretch", - "description": "Stretches the original image so it resized to the specified dimensions." - } - ], - "modelAsString": true - } - }, - "width": { - "type": "string", - "description": "The desired output image width." - }, - "height": { - "type": "string", - "description": "The desired output image height." - } - }, - "description": "Image scaling mode." - }, - "ImageFormatProperties": { - "type": "object", - "required": [ - "@type" - ], - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "Type discriminator for the derived types." - } - }, - "description": "Base class for image formatting properties." - }, - "ImageFormatRaw": { - "type": "object", - "required": [ - "pixelFormat" - ], - "properties": { - "pixelFormat": { - "type": "string", - "description": "Pixel format to be applied to the raw image.", - "enum": [ - "yuv420p", - "rgb565be", - "rgb565le", - "rgb555be", - "rgb555le", - "rgb24", - "bgr24", - "argb", - "rgba", - "abgr", - "bgra" - ], - "x-ms-enum": { - "name": "imageFormatRawPixelFormat", - "values": [ - { - "value": "yuv420p", - "description": "Planar YUV 4:2:0, 12bpp, (1 Cr and Cb sample per 2x2 Y samples)." - }, - { - "value": "rgb565be", - "description": "Packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), big-endian." - }, - { - "value": "rgb565le", - "description": "Packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), little-endian." - }, - { - "value": "rgb555be", - "description": "Packed RGB 5:5:5, 16bpp, (msb)1X 5R 5G 5B(lsb), big-endian , X=unused/undefined." - }, - { - "value": "rgb555le", - "description": "Packed RGB 5:5:5, 16bpp, (msb)1X 5R 5G 5B(lsb), little-endian, X=unused/undefined." - }, - { - "value": "rgb24", - "description": "Packed RGB 8:8:8, 24bpp, RGBRGB." - }, - { - "value": "bgr24", - "description": "Packed RGB 8:8:8, 24bpp, BGRBGR." - }, - { - "value": "argb", - "description": "Packed ARGB 8:8:8:8, 32bpp, ARGBARGB." - }, - { - "value": "rgba", - "description": "Packed RGBA 8:8:8:8, 32bpp, RGBARGBA." - }, - { - "value": "abgr", - "description": "Packed ABGR 8:8:8:8, 32bpp, ABGRABGR." - }, - { - "value": "bgra", - "description": "Packed BGRA 8:8:8:8, 32bpp, BGRABGRA." - } - ], - "modelAsString": true - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/ImageFormatProperties" - } - ], - "description": "Raw image formatting.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.ImageFormatRaw" - }, - "ImageFormatJpeg": { - "type": "object", - "properties": { - "quality": { - "type": "string", - "description": "Image quality value between 0 to 100 (best quality)." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ImageFormatProperties" - } - ], - "description": "JPEG image encoding.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.ImageFormatJpeg" - }, - "ImageFormatBmp": { - "type": "object", - "properties": {}, - "allOf": [ - { - "$ref": "#/definitions/ImageFormatProperties" - } - ], - "description": "BMP image encoding.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.ImageFormatBmp" - }, - "ImageFormatPng": { - "type": "object", - "properties": {}, - "allOf": [ - { - "$ref": "#/definitions/ImageFormatProperties" - } - ], - "description": "PNG image encoding.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.ImageFormatPng" - }, - "NamedLineBase": { - "type": "object", - "required": [ - "@type", - "name" - ], - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "The Type discriminator for the derived types." - }, - "name": { - "type": "string", - "description": "Line name. Must be unique within the node." - } - }, - "description": "Base class for named lines." - }, - "NamedLineString": { - "type": "object", - "required": [ - "line" - ], - "properties": { - "line": { - "type": "string", - "example": "[[0.3,0.2],[0.9,0.8]]", - "description": "Point coordinates for the line start and end, respectively. Example: '[[0.3, 0.2],[0.9, 0.8]]'. Each point is expressed as [LEFT, TOP] coordinate ratios ranging from 0.0 to 1.0, where [0,0] is the upper-left frame corner and [1, 1] is the bottom-right frame corner." - } - }, - "allOf": [ - { - "$ref": "#/definitions/NamedLineBase" - } - ], - "description": "Describes a line configuration.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.NamedLineString" - }, - "NamedPolygonBase": { - "type": "object", - "required": [ - "@type", - "name" - ], - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "The Type discriminator for the derived types." - }, - "name": { - "type": "string", - "description": "Polygon name. Must be unique within the node." - } - }, - "description": "Describes the named polygon." - }, - "NamedPolygonString": { - "type": "object", - "required": [ - "polygon" - ], - "properties": { - "polygon": { - "type": "string", - "example": "[[0.3, 0.2],[0.9, 0.8],[0.7, 0.6]]", - "description": "Point coordinates for the polygon. Example: '[[0.3, 0.2],[0.9, 0.8],[0.7, 0.6]]'. Each point is expressed as [LEFT, TOP] coordinate ratios ranging from 0.0 to 1.0, where [0,0] is the upper-left frame corner and [1, 1] is the bottom-right frame corner." - } - }, - "allOf": [ - { - "$ref": "#/definitions/NamedPolygonBase" - } - ], - "description": "Describes a closed polygon configuration.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.NamedPolygonString" - }, - "SignalGateProcessor": { - "type": "object", - "properties": { - "activationEvaluationWindow": { - "type": "string", - "example": "PT1.0S", - "description": "The period of time over which the gate gathers input events before evaluating them." - }, - "activationSignalOffset": { - "type": "string", - "example": "-PT1.0S", - "description": "Signal offset once the gate is activated (can be negative). It determines the how much farther behind of after the signal will be let through based on the activation time. A negative offset indicates that data prior the activation time must be included on the signal that is let through, once the gate is activated. When used upstream of a file or video sink, this allows for scenarios such as recording buffered media prior an event, such as: record video 5 seconds prior motions is detected." - }, - "minimumActivationTime": { - "type": "string", - "example": "PT10S", - "description": "The minimum period for which the gate remains open in the absence of subsequent triggers (events). When used upstream of a file or video sink, it determines the minimum length of the recorded video clip." - }, - "maximumActivationTime": { - "type": "string", - "example": "PT10S", - "description": "The maximum period for which the gate remains open in the presence of subsequent triggers (events). When used upstream of a file or video sink, it determines the maximum length of the recorded video clip." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProcessorNodeBase" - } - ], - "description": "A signal gate determines when to block (gate) incoming media, and when to allow it through. It gathers input events over the activationEvaluationWindow, and determines whether to open or close the gate. See https://aka.ms/ava-signalgate for more information.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.SignalGateProcessor" - }, - "SpatialAnalysisOperationBase": { - "type": "object", - "required": [ - "@type" - ], - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "The Type discriminator for the derived types." - } - }, - "description": "Base class for Azure Cognitive Services Spatial Analysis operations." - }, - "SpatialAnalysisCustomOperation": { - "type": "object", - "required": [ - "extensionConfiguration" - ], - "properties": { - "extensionConfiguration": { - "type": "string", - "description": "Custom configuration to pass to the Azure Cognitive Services Spatial Analysis module." - } - }, - "allOf": [ - { - "$ref": "#/definitions/SpatialAnalysisOperationBase" - } - ], - "description": "Defines a Spatial Analysis custom operation. This requires the Azure Cognitive Services Spatial analysis module to be deployed alongside the Video Analyzer module, please see https://aka.ms/ava-spatial-analysis for more information.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.SpatialAnalysisCustomOperation" - }, - "SpatialAnalysisTypedOperationBase": { - "type": "object", - "properties": { - "debug": { - "type": "string", - "description": "If set to 'true', enables debugging mode for this operation." - }, - "cameraConfiguration": { - "type": "string", - "description": "Advanced camera configuration." - }, - "detectorNodeConfiguration": { - "type": "string", - "description": "Advanced detector node configuration." - }, - "enableFaceMaskClassifier": { - "type": "string", - "description": "If set to 'true', enables face mask detection for this operation." - } - }, - "allOf": [ - { - "$ref": "#/definitions/SpatialAnalysisOperationBase" - } - ], - "description": "Base class for Azure Cognitive Services Spatial Analysis typed operations." - }, - "SpatialAnalysisOperationEventBase": { - "type": "object", - "properties": { - "threshold": { - "type": "string", - "description": "The event threshold." - }, - "focus": { - "type": "string", - "description": "The operation focus type.", - "enum": [ - "center", - "bottomCenter", - "footprint" - ], - "x-ms-enum": { - "name": "spatialAnalysisOperationFocus", - "values": [ - { - "value": "center", - "description": "The center of the object." - }, - { - "value": "bottomCenter", - "description": "The bottom center of the object." - }, - { - "value": "footprint", - "description": "The footprint." - } - ], - "modelAsString": true - } - } - }, - "description": "Defines the Azure Cognitive Services Spatial Analysis operation eventing configuration." - }, - "SpatialAnalysisPersonCountEvent": { - "type": "object", - "properties": { - "trigger": { - "type": "string", - "description": "The event trigger type.", - "enum": [ - "event", - "interval" - ], - "x-ms-enum": { - "name": "spatialAnalysisPersonCountEventTrigger", - "values": [ - { - "value": "event", - "description": "Event trigger." - }, - { - "value": "interval", - "description": "Interval trigger." - } - ], - "modelAsString": true - } - }, - "outputFrequency": { - "type": "string", - "description": "The event or interval output frequency." - } - }, - "allOf": [ - { - "$ref": "#/definitions/SpatialAnalysisOperationEventBase" - } - ], - "description": "Defines a Spatial Analysis person count operation eventing configuration." - }, - "SpatialAnalysisPersonCountZoneEvents": { - "type": "object", - "required": [ - "zone" - ], - "properties": { - "zone": { - "description": "The named zone.", - "$ref": "#/definitions/NamedPolygonBase" - }, - "events": { - "type": "array", - "description": "The event configuration.", - "items": { - "$ref": "#/definitions/SpatialAnalysisPersonCountEvent" - } - } - } - }, - "SpatialAnalysisPersonCountOperation": { - "type": "object", - "required": [ - "zones" - ], - "properties": { - "zones": { - "type": "array", - "description": "The list of zones and optional events.", - "items": { - "$ref": "#/definitions/SpatialAnalysisPersonCountZoneEvents" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/SpatialAnalysisTypedOperationBase" - } - ], - "description": "Defines a Spatial Analysis person count operation. This requires the Azure Cognitive Services Spatial analysis module to be deployed alongside the Video Analyzer module, please see https://aka.ms/ava-spatial-analysis for more information.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.SpatialAnalysisPersonCountOperation" - }, - "SpatialAnalysisPersonZoneCrossingEvent": { - "type": "object", - "properties": { - "eventType": { - "type": "string", - "description": "The event type.", - "enum": [ - "zoneCrossing", - "zoneDwellTime" - ], - "x-ms-enum": { - "name": "spatialAnalysisPersonZoneCrossingEventType", - "values": [ - { - "value": "zoneCrossing", - "description": "Zone crossing event type." - }, - { - "value": "zoneDwellTime", - "description": "Zone dwell time event type." - } - ], - "modelAsString": true - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/SpatialAnalysisOperationEventBase" - } - ], - "description": "Defines a Spatial Analysis person crossing zone operation eventing configuration." - }, - "SpatialAnalysisPersonZoneCrossingZoneEvents": { - "type": "object", - "required": [ - "zone" - ], - "properties": { - "zone": { - "description": "The named zone.", - "$ref": "#/definitions/NamedPolygonBase" - }, - "events": { - "type": "array", - "description": "The event configuration.", - "items": { - "$ref": "#/definitions/SpatialAnalysisPersonZoneCrossingEvent" - } - } - } - }, - "SpatialAnalysisPersonZoneCrossingOperation": { - "type": "object", - "required": [ - "zones" - ], - "properties": { - "zones": { - "type": "array", - "description": "The list of zones with optional events.", - "items": { - "$ref": "#/definitions/SpatialAnalysisPersonZoneCrossingZoneEvents" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/SpatialAnalysisTypedOperationBase" - } - ], - "description": "Defines a Spatial Analysis person zone crossing operation. This requires the Azure Cognitive Services Spatial analysis module to be deployed alongside the Video Analyzer module, please see https://aka.ms/ava-spatial-analysis for more information.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.SpatialAnalysisPersonZoneCrossingOperation" - }, - "SpatialAnalysisPersonDistanceEvent": { - "type": "object", - "properties": { - "trigger": { - "type": "string", - "description": "The event trigger type.", - "enum": [ - "event", - "interval" - ], - "x-ms-enum": { - "name": "spatialAnalysisPersonDistanceEventTrigger", - "values": [ - { - "value": "event", - "description": "Event trigger." - }, - { - "value": "interval", - "description": "Interval trigger." - } - ], - "modelAsString": true - } - }, - "outputFrequency": { - "type": "string", - "description": "The event or interval output frequency." - }, - "minimumDistanceThreshold": { - "type": "string", - "description": "The minimum distance threshold" - }, - "maximumDistanceThreshold": { - "type": "string", - "description": "The maximum distance threshold" - } - }, - "allOf": [ - { - "$ref": "#/definitions/SpatialAnalysisOperationEventBase" - } - ], - "description": "Defines a Spatial Analysis person distance operation eventing configuration." - }, - "SpatialAnalysisPersonDistanceZoneEvents": { - "type": "object", - "required": [ - "zone" - ], - "properties": { - "zone": { - "description": "The named zone.", - "$ref": "#/definitions/NamedPolygonBase" - }, - "events": { - "type": "array", - "description": "The event configuration.", - "items": { - "$ref": "#/definitions/SpatialAnalysisPersonDistanceEvent" - } - } - } - }, - "SpatialAnalysisPersonDistanceOperation": { - "type": "object", - "required": [ - "zones" - ], - "properties": { - "zones": { - "type": "array", - "description": "The list of zones with optional events.", - "items": { - "$ref": "#/definitions/SpatialAnalysisPersonDistanceZoneEvents" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/SpatialAnalysisTypedOperationBase" - } - ], - "description": "Defines a Spatial Analysis person distance operation. This requires the Azure Cognitive Services Spatial analysis module to be deployed alongside the Video Analyzer module, please see https://aka.ms/ava-spatial-analysis for more information.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.SpatialAnalysisPersonDistanceOperation" - }, - "SpatialAnalysisPersonLineCrossingEvent": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SpatialAnalysisOperationEventBase" - } - ], - "description": "Defines a Spatial Analysis person line crossing operation eventing configuration." - }, - "SpatialAnalysisPersonLineCrossingLineEvents": { - "type": "object", - "required": [ - "line" - ], - "properties": { - "line": { - "description": "The named line.", - "$ref": "#/definitions/NamedLineBase" - }, - "events": { - "type": "array", - "description": "The event configuration.", - "items": { - "$ref": "#/definitions/SpatialAnalysisPersonLineCrossingEvent" - } - } - } - }, - "SpatialAnalysisPersonLineCrossingOperation": { - "type": "object", - "required": [ - "lines" - ], - "properties": { - "lines": { - "type": "array", - "description": "The list of lines with optional events.", - "items": { - "$ref": "#/definitions/SpatialAnalysisPersonLineCrossingLineEvents" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/SpatialAnalysisTypedOperationBase" - } - ], - "description": "Defines a Spatial Analysis person line crossing operation. This requires the Azure Cognitive Services Spatial analysis module to be deployed alongside the Video Analyzer module, please see https://aka.ms/ava-spatial-analysis for more information.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.SpatialAnalysisPersonLineCrossingOperation" - }, - "CognitiveServicesVisionProcessor": { - "type": "object", - "required": [ - "operation", - "endpoint" - ], - "properties": { - "endpoint": { - "description": "Endpoint to which this processor should connect.", - "$ref": "#/definitions/EndpointBase" - }, - "image": { - "description": "Describes the parameters of the image that is sent as input to the endpoint.", - "$ref": "#/definitions/ImageProperties" - }, - "samplingOptions": { - "description": "Describes the sampling options to be applied when forwarding samples to the extension.", - "$ref": "#/definitions/SamplingOptions" - }, - "operation": { - "description": "Describes the Spatial Analysis operation to be used in the Cognitive Services Vision processor.", - "$ref": "#/definitions/SpatialAnalysisOperationBase" - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProcessorNodeBase" - } - ], - "description": "A processor that allows the pipeline topology to send video frames to a Cognitive Services Vision extension. Inference results are relayed to downstream nodes.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.CognitiveServicesVisionProcessor" - } - } -} diff --git a/specification/videoanalyzer/data-plane/VideoAnalyzer.Edge/preview/1.0.0/AzureVideoAnalyzerSdkDefinitions.json b/specification/videoanalyzer/data-plane/VideoAnalyzer.Edge/preview/1.0.0/AzureVideoAnalyzerSdkDefinitions.json deleted file mode 100644 index 8daf4143a58f..000000000000 --- a/specification/videoanalyzer/data-plane/VideoAnalyzer.Edge/preview/1.0.0/AzureVideoAnalyzerSdkDefinitions.json +++ /dev/null @@ -1,209 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "1.0.0", - "title": "Azure Video Analyzer for Edge", - "description": "Azure Video Analyzer helpers for IoT Edge direct method calls.", - "contact": { - "email": "videoanalyzerhelp@microsoft.com" - } - }, - "security": [ - { - "sharedAccessSignature": [] - } - ], - "paths": {}, - "securityDefinitions": { - "sharedAccessSignature": { - "type": "apiKey", - "name": "Authorization", - "in": "header" - } - }, - "definitions": { - "MethodRequest": { - "type": "object", - "required": [ - "methodName" - ], - "properties": { - "methodName": { - "type": "string", - "description": "Direct method method name.", - "readOnly": true - }, - "@apiVersion": { - "type": "string", - "description": "Video Analyzer API version.", - "enum": [ - "1.0" - ], - "x-ms-enum": { - "name": "apiVersionEnum", - "modelAsString": false - } - } - }, - "discriminator": "methodName", - "description": "Base class for direct method calls." - }, - "PipelineTopologySetRequest": { - "type": "object", - "x-ms-discriminator-value": "pipelineTopologySet", - "allOf": [ - { - "$ref": "#/definitions/MethodRequest" - } - ], - "required": [ - "pipelineTopology" - ], - "properties": { - "pipelineTopology": { - "$ref": "./AzureVideoAnalyzer.json#/definitions/PipelineTopology" - } - }, - "description": "Creates a new pipeline topology or updates an existing one." - }, - "PipelineTopologySetRequestBody": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MethodRequest" - }, - { - "$ref": "./AzureVideoAnalyzer.json#/definitions/PipelineTopology" - } - ], - "description": "Pipeline topology resource representation." - }, - "LivePipelineSetRequest": { - "type": "object", - "x-ms-discriminator-value": "livePipelineSet", - "allOf": [ - { - "$ref": "#/definitions/MethodRequest" - } - ], - "required": [ - "livePipeline" - ], - "properties": { - "livePipeline": { - "$ref": "./AzureVideoAnalyzer.json#/definitions/LivePipeline" - } - }, - "description": "Creates a new live pipeline or updates an existing one." - }, - "LivePipelineSetRequestBody": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MethodRequest" - }, - { - "$ref": "./AzureVideoAnalyzer.json#/definitions/LivePipeline" - } - ], - "description": "Live pipeline resource representation." - }, - "MethodRequestEmptyBodyBase": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MethodRequest" - } - ], - "required": [ - "name" - ], - "properties": { - "name": { - "type": "string", - "description": "Resource name." - } - } - }, - "PipelineTopologyListRequest": { - "type": "object", - "x-ms-discriminator-value": "pipelineTopologyList", - "allOf": [ - { - "$ref": "#/definitions/MethodRequest" - } - ], - "description": "List all existing pipeline topologies." - }, - "PipelineTopologyGetRequest": { - "type": "object", - "x-ms-discriminator-value": "pipelineTopologyGet", - "allOf": [ - { - "$ref": "#/definitions/MethodRequestEmptyBodyBase" - } - ], - "description": "Retrieves an existing pipeline topology." - }, - "PipelineTopologyDeleteRequest": { - "type": "object", - "x-ms-discriminator-value": "pipelineTopologyDelete", - "allOf": [ - { - "$ref": "#/definitions/MethodRequestEmptyBodyBase" - } - ], - "description": "Deletes an existing pipeline topology." - }, - "LivePipelineListRequest": { - "type": "object", - "x-ms-discriminator-value": "livePipelineList", - "allOf": [ - { - "$ref": "#/definitions/MethodRequest" - } - ], - "description": "List all existing live pipelines." - }, - "LivePipelineGetRequest": { - "type": "object", - "x-ms-discriminator-value": "livePipelineGet", - "allOf": [ - { - "$ref": "#/definitions/MethodRequestEmptyBodyBase" - } - ], - "description": "Retrieves an existing live pipeline." - }, - "LivePipelineActivateRequest": { - "type": "object", - "x-ms-discriminator-value": "livePipelineActivate", - "allOf": [ - { - "$ref": "#/definitions/MethodRequestEmptyBodyBase" - } - ], - "description": "Activates an existing live pipeline." - }, - "LivePipelineDeactivateRequest": { - "type": "object", - "x-ms-discriminator-value": "livePipelineDeactivate", - "allOf": [ - { - "$ref": "#/definitions/MethodRequestEmptyBodyBase" - } - ], - "description": "Deactivates an existing live pipeline." - }, - "LivePipelineDeleteRequest": { - "type": "object", - "x-ms-discriminator-value": "livePipelineDelete", - "allOf": [ - { - "$ref": "#/definitions/MethodRequestEmptyBodyBase" - } - ], - "description": "Deletes an existing live pipeline." - } - } -} diff --git a/specification/videoanalyzer/data-plane/VideoAnalyzer.Edge/preview/1.1.0/AzureVideoAnalyzer.json b/specification/videoanalyzer/data-plane/VideoAnalyzer.Edge/preview/1.1.0/AzureVideoAnalyzer.json deleted file mode 100644 index 01fbb962b84f..000000000000 --- a/specification/videoanalyzer/data-plane/VideoAnalyzer.Edge/preview/1.1.0/AzureVideoAnalyzer.json +++ /dev/null @@ -1,2163 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "1.1.0", - "title": "Azure Video Analyzer for Edge", - "description": "Azure Video Analyzer resources which can be utilized when performing direct method calls through Azure IoT Edge.", - "contact": { - "email": "videoanalyzerhelp@microsoft.com" - } - }, - "security": [ - { - "sharedAccessSignature": [] - } - ], - "paths": {}, - "securityDefinitions": { - "sharedAccessSignature": { - "type": "apiKey", - "name": "Authorization", - "in": "header" - } - }, - "definitions": { - "LivePipeline": { - "type": "object", - "required": [ - "name" - ], - "properties": { - "name": { - "type": "string", - "description": "Live pipeline unique identifier." - }, - "systemData": { - "$ref": "#/definitions/SystemData", - "description": "Read-only system metadata associated with this object." - }, - "properties": { - "$ref": "#/definitions/LivePipelineProperties", - "description": "Live pipeline properties." - } - }, - "description": "Live Pipeline represents an unique instance of a pipeline topology which is used for real-time content ingestion and analysis." - }, - "LivePipelineProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "An optional description of the live pipeline." - }, - "topologyName": { - "type": "string", - "description": "The reference to an existing pipeline topology defined for real-time content processing. When activated, this live pipeline will process content according to the pipeline topology definition." - }, - "parameters": { - "type": "array", - "description": "List of the instance level parameter values for the user-defined topology parameters. A pipeline can only define or override parameters values for parameters which have been declared in the referenced topology. Topology parameters without a default value must be defined. Topology parameters with a default value can be optionally be overridden.", - "items": { - "$ref": "#/definitions/ParameterDefinition" - } - }, - "state": { - "type": "string", - "description": "Current pipeline state (read-only).", - "enum": [ - "inactive", - "activating", - "active", - "deactivating" - ], - "x-ms-enum": { - "name": "livePipelineState", - "values": [ - { - "value": "inactive", - "description": "The live pipeline is idle and not processing media." - }, - { - "value": "activating", - "description": "The live pipeline is transitioning into the active state." - }, - { - "value": "active", - "description": "The live pipeline is active and able to process media. If your data source is not available, for instance, if your RTSP camera is powered off or unreachable, the pipeline will still be active and periodically retrying the connection. Your Azure subscription will be billed for the duration in which the live pipeline is in the active state." - }, - { - "value": "deactivating", - "description": "The live pipeline is transitioning into the inactive state." - } - ], - "modelAsString": true - } - } - }, - "description": "Live pipeline properties." - }, - "ParameterDefinition": { - "type": "object", - "required": [ - "name" - ], - "properties": { - "name": { - "type": "string", - "description": "Name of the parameter declared in the pipeline topology." - }, - "value": { - "type": "string", - "description": "Parameter value to be applied on this specific live pipeline." - } - }, - "description": "Defines the parameter value of an specific pipeline topology parameter. See pipeline topology parameters for more information." - }, - "LivePipelineCollection": { - "type": "object", - "properties": { - "value": { - "type": "array", - "description": "List of live pipelines.", - "items": { - "$ref": "#/definitions/LivePipeline" - } - }, - "@continuationToken": { - "type": "string", - "description": "A continuation token to be used in subsequent calls when enumerating through the collection. This is returned when the collection results won't fit in a single response." - } - }, - "description": "A collection of live pipelines." - }, - "PipelineTopologyCollection": { - "type": "object", - "properties": { - "value": { - "type": "array", - "description": "List of pipeline topologies.", - "items": { - "$ref": "#/definitions/PipelineTopology" - } - }, - "@continuationToken": { - "type": "string", - "description": "A continuation token to be used in subsequent calls when enumerating through the collection. This is returned when the collection results won't fit in a single response." - } - }, - "description": "A collection of pipeline topologies." - }, - "PipelineTopology": { - "type": "object", - "required": [ - "name" - ], - "properties": { - "name": { - "type": "string", - "description": "Pipeline topology unique identifier." - }, - "systemData": { - "$ref": "#/definitions/SystemData", - "description": "Read-only system metadata associated with this object." - }, - "properties": { - "$ref": "#/definitions/PipelineTopologyProperties", - "description": "Pipeline topology properties." - } - }, - "description": "Pipeline topology describes the processing steps to be applied when processing media for a particular outcome. The topology should be defined according to the scenario to be achieved and can be reused across many pipeline instances which share the same processing characteristics. For instance, a pipeline topology which acquires data from a RTSP camera, process it with an specific AI model and stored the data on the cloud can be reused across many different cameras, as long as the same processing should be applied across all the cameras. Individual instance properties can be defined through the use of user-defined parameters, which allow for a topology to be parameterized, thus allowing individual pipelines to refer to different values, such as individual cameras RTSP endpoints and credentials. Overall a topology is composed of the following:\r\n\r\n - Parameters: list of user defined parameters that can be references across the topology nodes.\r\n - Sources: list of one or more data sources nodes such as an RTSP source which allows for media to be ingested from cameras.\r\n - Processors: list of nodes which perform data analysis or transformations.\r\n -Sinks: list of one or more data sinks which allow for data to be stored or exported to other destinations." - }, - "PipelineTopologyProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "An optional description of the pipeline topology. It is recommended that the expected use of the topology to be described here." - }, - "parameters": { - "type": "array", - "items": { - "$ref": "#/definitions/ParameterDeclaration" - }, - "description": "List of the topology parameter declarations. Parameters declared here can be referenced throughout the topology nodes through the use of \"${PARAMETER_NAME}\" string pattern. Parameters can have optional default values and can later be defined in individual instances of the pipeline." - }, - "sources": { - "type": "array", - "items": { - "$ref": "#/definitions/SourceNodeBase" - }, - "description": "List of the topology source nodes. Source nodes enable external data to be ingested by the pipeline." - }, - "processors": { - "type": "array", - "items": { - "$ref": "#/definitions/ProcessorNodeBase" - }, - "description": "List of the topology processor nodes. Processor nodes enable pipeline data to be analyzed, processed or transformed." - }, - "sinks": { - "type": "array", - "items": { - "$ref": "#/definitions/SinkNodeBase" - }, - "description": "List of the topology sink nodes. Sink nodes allow pipeline data to be stored or exported." - } - }, - "description": "Pipeline topology properties." - }, - "SystemData": { - "type": "object", - "properties": { - "createdAt": { - "type": "string", - "format": "date-time", - "description": "Date and time when this resource was first created. Value is represented in UTC according to the ISO8601 date format." - }, - "lastModifiedAt": { - "type": "string", - "format": "date-time", - "description": "Date and time when this resource was last modified. Value is represented in UTC according to the ISO8601 date format." - } - }, - "description": "Read-only system metadata associated with a resource." - }, - "ParameterDeclaration": { - "type": "object", - "required": [ - "name", - "type" - ], - "properties": { - "name": { - "type": "string", - "description": "Name of the parameter.", - "maxLength": 64 - }, - "type": { - "type": "string", - "description": "Type of the parameter.", - "enum": [ - "string", - "secretString", - "int", - "double", - "bool" - ], - "x-ms-enum": { - "name": "parameterType", - "values": [ - { - "value": "string", - "description": "The parameter's value is a string." - }, - { - "value": "secretString", - "description": "The parameter's value is a string that holds sensitive information." - }, - { - "value": "int", - "description": "The parameter's value is a 32-bit signed integer." - }, - { - "value": "double", - "description": "The parameter's value is a 64-bit double-precision floating point." - }, - { - "value": "bool", - "description": "The parameter's value is a boolean value that is either true or false." - } - ], - "modelAsString": true - } - }, - "description": { - "type": "string", - "description": "Description of the parameter." - }, - "default": { - "type": "string", - "description": "The default value for the parameter to be used if the live pipeline does not specify a value." - } - }, - "description": "Single topology parameter declaration. Declared parameters can and must be referenced throughout the topology and can optionally have default values to be used when they are not defined in the pipeline instances." - }, - "SourceNodeBase": { - "type": "object", - "required": [ - "@type", - "name" - ], - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "Type discriminator for the derived types." - }, - "name": { - "type": "string", - "description": "Node name. Must be unique within the topology." - } - }, - "description": "Base class for topology source nodes." - }, - "RtspSource": { - "type": "object", - "properties": { - "transport": { - "type": "string", - "description": "Network transport utilized by the RTSP and RTP exchange: TCP or HTTP. When using TCP, the RTP packets are interleaved on the TCP RTSP connection. When using HTTP, the RTSP messages are exchanged through long lived HTTP connections, and the RTP packages are interleaved in the HTTP connections alongside the RTSP messages.", - "enum": [ - "http", - "tcp" - ], - "x-ms-enum": { - "name": "rtspTransport", - "values": [ - { - "value": "http", - "description": "HTTP transport. RTSP messages are exchanged over long running HTTP requests and RTP packets are interleaved within the HTTP channel." - }, - { - "value": "tcp", - "description": "TCP transport. RTSP is used directly over TCP and RTP packets are interleaved within the TCP channel." - } - ], - "modelAsString": true - } - }, - "endpoint": { - "description": "RTSP endpoint information for Video Analyzer to connect to. This contains the required information for Video Analyzer to connect to RTSP cameras and/or generic RTSP servers.", - "$ref": "#/definitions/EndpointBase" - } - }, - "required": [ - "endpoint" - ], - "allOf": [ - { - "$ref": "#/definitions/SourceNodeBase" - } - ], - "description": "RTSP source allows for media from an RTSP camera or generic RTSP server to be ingested into a live pipeline.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.RtspSource" - }, - "IotHubMessageSource": { - "type": "object", - "properties": { - "hubInputName": { - "type": "string", - "description": "Name of the IoT Edge Hub input from which messages will be consumed." - } - }, - "allOf": [ - { - "$ref": "#/definitions/SourceNodeBase" - } - ], - "description": "IoT Hub Message source allows for the pipeline to consume messages from the IoT Edge Hub. Messages can be routed from other IoT modules via routes declared in the IoT Edge deployment manifest.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.IotHubMessageSource" - }, - "IotHubMessageSink": { - "type": "object", - "properties": { - "hubOutputName": { - "type": "string", - "description": "Name of the Iot Edge Hub output to which the messages will be published." - } - }, - "required": [ - "@type", - "hubOutputName" - ], - "allOf": [ - { - "$ref": "#/definitions/SinkNodeBase" - } - ], - "description": "IoT Hub Message sink allows for pipeline messages to published into the IoT Edge Hub. Published messages can then be delivered to the cloud and other modules via routes declared in the IoT Edge deployment manifest.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.IotHubMessageSink" - }, - "EndpointBase": { - "type": "object", - "required": [ - "@type", - "url" - ], - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "Type discriminator for the derived types." - }, - "credentials": { - "description": "Credentials to be presented to the endpoint.", - "$ref": "#/definitions/CredentialsBase" - }, - "url": { - "type": "string", - "description": "The endpoint URL for Video Analyzer to connect to." - } - }, - "description": "Base class for endpoints." - }, - "CredentialsBase": { - "type": "object", - "required": [ - "@type" - ], - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "Type discriminator for the derived types." - } - }, - "description": "Base class for credential objects." - }, - "UsernamePasswordCredentials": { - "type": "object", - "properties": { - "username": { - "type": "string", - "description": "Username to be presented as part of the credentials." - }, - "password": { - "type": "string", - "description": "Password to be presented as part of the credentials. It is recommended that this value is parameterized as a secret string in order to prevent this value to be returned as part of the resource on API requests." - } - }, - "required": [ - "username", - "password" - ], - "allOf": [ - { - "$ref": "#/definitions/CredentialsBase" - } - ], - "description": "Username and password credentials.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.UsernamePasswordCredentials" - }, - "HttpHeaderCredentials": { - "type": "object", - "properties": { - "headerName": { - "type": "string", - "description": "HTTP header name." - }, - "headerValue": { - "type": "string", - "description": "HTTP header value. It is recommended that this value is parameterized as a secret string in order to prevent this value to be returned as part of the resource on API requests." - } - }, - "required": [ - "headerName", - "headerValue" - ], - "allOf": [ - { - "$ref": "#/definitions/CredentialsBase" - } - ], - "description": "HTTP header credentials.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.HttpHeaderCredentials" - }, - "UnsecuredEndpoint": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/EndpointBase" - } - ], - "description": "Unsecured endpoint describes an endpoint that the pipeline can connect to over clear transport (no encryption in transit).", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.UnsecuredEndpoint" - }, - "TlsEndpoint": { - "type": "object", - "properties": { - "trustedCertificates": { - "description": "List of trusted certificate authorities when authenticating a TLS connection. A null list designates that Azure Video Analyzer's list of trusted authorities should be used.", - "$ref": "#/definitions/CertificateSource" - }, - "validationOptions": { - "description": "Validation options to use when authenticating a TLS connection. By default, strict validation is used.", - "$ref": "#/definitions/TlsValidationOptions" - } - }, - "allOf": [ - { - "$ref": "#/definitions/EndpointBase" - } - ], - "description": "TLS endpoint describes an endpoint that the pipeline can connect to over TLS transport (data is encrypted in transit).", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.TlsEndpoint" - }, - "SymmetricKeyCredentials": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "Symmetric key credential." - } - }, - "required": [ - "key" - ], - "allOf": [ - { - "$ref": "#/definitions/CredentialsBase" - } - ], - "description": "Symmetric key credential.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.SymmetricKeyCredentials" - }, - "CertificateSource": { - "type": "object", - "required": [ - "@type" - ], - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "Type discriminator for the derived types." - } - }, - "description": "Base class for certificate sources." - }, - "TlsValidationOptions": { - "type": "object", - "properties": { - "ignoreHostname": { - "type": "string", - "description": "When set to 'true' causes the certificate subject name validation to be skipped. Default is 'false'." - }, - "ignoreSignature": { - "type": "string", - "description": "When set to 'true' causes the certificate chain trust validation to be skipped. Default is 'false'." - } - }, - "description": "Options for controlling the validation of TLS endpoints." - }, - "PemCertificateList": { - "type": "object", - "properties": { - "certificates": { - "type": "array", - "description": "PEM formatted public certificates. One certificate per entry.", - "items": { - "type": "string" - } - } - }, - "required": [ - "certificates" - ], - "allOf": [ - { - "$ref": "#/definitions/CertificateSource" - } - ], - "description": "A list of PEM formatted certificates.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.PemCertificateList" - }, - "SinkNodeBase": { - "type": "object", - "required": [ - "@type", - "inputs", - "name" - ], - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "Type discriminator for the derived types." - }, - "name": { - "type": "string", - "description": "Node name. Must be unique within the topology." - }, - "inputs": { - "type": "array", - "description": "An array of upstream node references within the topology to be used as inputs for this node.", - "items": { - "$ref": "#/definitions/NodeInput" - } - } - }, - "description": "Base class for topology sink nodes." - }, - "NodeInput": { - "type": "object", - "required": [ - "nodeName" - ], - "properties": { - "nodeName": { - "type": "string", - "description": "The name of the upstream node in the pipeline which output is used as input of the current node." - }, - "outputSelectors": { - "type": "array", - "description": "Allows for the selection of specific data streams (eg. video only) from another node.", - "items": { - "$ref": "#/definitions/OutputSelector" - } - } - }, - "description": "Describes an input signal to be used on a pipeline node." - }, - "OutputSelector": { - "type": "object", - "properties": { - "property": { - "type": "string", - "description": "The property of the data stream to be used as the selection criteria.", - "enum": [ - "mediaType" - ], - "x-ms-enum": { - "name": "outputSelectorProperty", - "values": [ - { - "value": "mediaType", - "description": "The stream's MIME type or subtype: audio, video or application" - } - ], - "modelAsString": true - } - }, - "operator": { - "type": "string", - "description": "The operator to compare properties by.", - "enum": [ - "is", - "isNot" - ], - "x-ms-enum": { - "name": "outputSelectorOperator", - "values": [ - { - "value": "is", - "description": "The property is of the type defined by value." - }, - { - "value": "isNot", - "description": "The property is not of the type defined by value." - } - ], - "modelAsString": true - } - }, - "value": { - "type": "string", - "description": "Value to compare against." - } - }, - "description": "Allows for the selection of particular streams from another node." - }, - "FileSink": { - "type": "object", - "properties": { - "baseDirectoryPath": { - "type": "string", - "description": "Absolute directory path where media files will be stored.", - "example": "/var/media/output/" - }, - "fileNamePattern": { - "type": "string", - "description": "File name pattern for creating new files when performing event based recording. The pattern must include at least one system variable.", - "example": "mySampleFile-${System.TopologyName}-${System.PipelineName}-${System.Runtime.DateTime}" - }, - "maximumSizeMiB": { - "type": "string", - "description": "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." - } - }, - "required": [ - "fileNamePattern", - "baseDirectoryPath", - "maximumSizeMiB" - ], - "allOf": [ - { - "$ref": "#/definitions/SinkNodeBase" - } - ], - "description": "File sink allows for video and audio content to be recorded on the file system on the edge device.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.FileSink" - }, - "VideoPublishingOptions": { - "type": "object", - "properties": { - "enableVideoPreviewImage": { - "type": "string", - "description": "When set to 'true' the video will publish preview images. Default is 'false'." - } - }, - "description": "Options for changing video publishing behavior on the video sink and output video." - }, - "VideoCreationProperties": { - "type": "object", - "properties": { - "title": { - "type": "string", - "description": "Optional video title provided by the user. Value can be up to 256 characters long." - }, - "description": { - "type": "string", - "description": "Optional video description provided by the user. Value can be up to 2048 characters long." - }, - "segmentLength": { - "type": "string", - "example": "PT30S", - "description": "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. Changing this value after the video is initially created can lead to errors when uploading media to the archive. Default value is 30 seconds." - }, - "retentionPeriod": { - "type": "string", - "example": "P30D", - "description": "Video retention period indicates how long the video is kept in storage, and must be a multiple of 1 day. For example, if this is set to 30 days, then content older than 30 days will be deleted." - } - }, - "description": "Optional video properties to be used in case a new video resource needs to be created on the service. These will not take effect if the video already exists." - }, - "VideoSink": { - "type": "object", - "properties": { - "videoName": { - "type": "string", - "description": "Name of a new or existing Video Analyzer video resource used for the media recording.", - "example": "myVideo001" - }, - "videoCreationProperties": { - "type": "object", - "description": "Optional video properties to be used in case a new video resource needs to be created on the service.", - "$ref": "#/definitions/VideoCreationProperties" - }, - "videoPublishingOptions": { - "type": "object", - "description": "Optional video publishing options to be used for changing publishing behavior of the output video.", - "$ref": "#/definitions/VideoPublishingOptions" - }, - "localMediaCachePath": { - "type": "string", - "description": "Path to a local file system directory for caching of temporary media files. This will also be used to store content which cannot be immediately uploaded to Azure due to Internet connectivity issues.", - "example": "/var/lib/tmp/" - }, - "localMediaCacheMaximumSizeMiB": { - "type": "string", - "description": "Maximum amount of disk space that can be used for caching of temporary media files. Once this limit is reached, the oldest segments of the media archive will be continuously deleted in order to make space for new media, thus leading to gaps in the cloud recorded content." - } - }, - "required": [ - "@type", - "videoName", - "localMediaCachePath", - "localMediaCacheMaximumSizeMiB" - ], - "allOf": [ - { - "$ref": "#/definitions/SinkNodeBase" - } - ], - "description": "Video sink allows for video and audio to be recorded to the Video Analyzer service. The recorded video can be played from anywhere and further managed from the cloud. Due to security reasons, a given Video Analyzer edge module instance can only record content to new video entries, or existing video entries previously recorded by the same module. Any attempt to record content to an existing video which has not been created by the same module instance will result in failure to record.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.VideoSink" - }, - "ProcessorNodeBase": { - "type": "object", - "required": [ - "@type", - "inputs", - "name" - ], - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "Type discriminator for the derived types." - }, - "name": { - "type": "string", - "description": "Node name. Must be unique within the topology." - }, - "inputs": { - "type": "array", - "description": "An array of upstream node references within the topology to be used as inputs for this node.", - "items": { - "$ref": "#/definitions/NodeInput" - } - } - }, - "description": "Base class for topology processor nodes." - }, - "MotionDetectionProcessor": { - "type": "object", - "properties": { - "sensitivity": { - "type": "string", - "description": "Motion detection sensitivity: low, medium, high.", - "enum": [ - "low", - "medium", - "high" - ], - "x-ms-enum": { - "name": "motionDetectionSensitivity", - "values": [ - { - "value": "low", - "description": "Low sensitivity." - }, - { - "value": "medium", - "description": "Medium sensitivity." - }, - { - "value": "high", - "description": "High sensitivity." - } - ], - "modelAsString": true - } - }, - "outputMotionRegion": { - "type": "boolean", - "description": "Indicates whether the processor should detect and output the regions within the video frame where motion was detected. Default is true." - }, - "eventAggregationWindow": { - "type": "string", - "description": "Time window duration on which events are aggregated before being emitted. Value must be specified in ISO8601 duration format (i.e. \"PT2S\" equals 2 seconds). Use 0 seconds for no aggregation. Default is 1 second." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProcessorNodeBase" - } - ], - "description": "Motion detection processor allows for motion detection on the video stream. It generates motion events whenever motion is present on the video.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.MotionDetectionProcessor" - }, - "ObjectTrackingProcessor": { - "type": "object", - "properties": { - "accuracy": { - "type": "string", - "description": "Object tracker accuracy: low, medium, high. Higher accuracy leads to higher CPU consumption in average.", - "enum": [ - "low", - "medium", - "high" - ], - "x-ms-enum": { - "name": "objectTrackingAccuracy", - "values": [ - { - "value": "low", - "description": "Low accuracy." - }, - { - "value": "medium", - "description": "Medium accuracy." - }, - { - "value": "high", - "description": "High accuracy." - } - ], - "modelAsString": true - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProcessorNodeBase" - } - ], - "description": "Object tracker processor allows for continuous tracking of one of more objects over a finite sequence of video frames. It must be used downstream of an object detector extension node, thus allowing for the extension to be configured to to perform inferences on sparse frames through the use of the 'maximumSamplesPerSecond' sampling property. The object tracker node will then track the detected objects over the frames in which the detector is not invoked resulting on a smother tracking of detected objects across the continuum of video frames. The tracker will stop tracking objects which are not subsequently detected by the upstream detector on the subsequent detections.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.ObjectTrackingProcessor" - }, - "LineCrossingProcessor": { - "type": "object", - "required": [ - "lines" - ], - "properties": { - "lines": { - "type": "array", - "description": "An array of lines used to compute line crossing events.", - "items": { - "$ref": "#/definitions/NamedLineBase" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProcessorNodeBase" - } - ], - "description": "Line crossing processor allows for the detection of tracked objects moving across one or more predefined lines. It must be downstream of an object tracker of downstream on an AI extension node that generates sequenceId for objects which are tracked across different frames of the video. Inference events are generated every time objects crosses from one side of the line to another.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.LineCrossingProcessor" - }, - "ExtensionProcessorBase": { - "type": "object", - "required": [ - "endpoint", - "image" - ], - "properties": { - "endpoint": { - "description": "Endpoint details of the pipeline extension plugin.", - "$ref": "#/definitions/EndpointBase" - }, - "image": { - "description": "Image transformations and formatting options to be applied to the video frame(s) prior submission to the pipeline extension plugin.", - "$ref": "#/definitions/ImageProperties" - }, - "samplingOptions": { - "description": "Media sampling parameters that define how often media is submitted to the extension plugin.", - "$ref": "#/definitions/SamplingOptions" - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProcessorNodeBase" - } - ], - "description": "Base class for pipeline extension processors. Pipeline extensions allow for custom media analysis and processing to be plugged into the Video Analyzer pipeline.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.ExtensionProcessorBase" - }, - "GrpcExtension": { - "type": "object", - "required": [ - "dataTransfer" - ], - "properties": { - "dataTransfer": { - "description": "Specifies how media is transferred to the extension plugin.", - "$ref": "#/definitions/GrpcExtensionDataTransfer" - }, - "extensionConfiguration": { - "type": "string", - "description": "An optional configuration string that is sent to the extension plugin. The configuration string is specific to each custom extension and it not understood neither validated by Video Analyzer. Please see https://aka.ms/ava-extension-grpc for details." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ExtensionProcessorBase" - } - ], - "description": "GRPC extension processor allows pipeline extension plugins to be connected to the pipeline through over a gRPC channel. Extension plugins must act as an gRPC server. Please see https://aka.ms/ava-extension-grpc for details.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.GrpcExtension" - }, - "GrpcExtensionDataTransfer": { - "type": "object", - "required": [ - "mode" - ], - "properties": { - "sharedMemorySizeMiB": { - "type": "string", - "description": "The share memory buffer for sample transfers, in mebibytes. It can only be used with the 'SharedMemory' transfer mode." - }, - "mode": { - "type": "string", - "description": "Data transfer mode: embedded or sharedMemory.", - "enum": [ - "embedded", - "sharedMemory" - ], - "x-ms-enum": { - "name": "grpcExtensionDataTransferMode", - "values": [ - { - "value": "embedded", - "description": "Media samples are embedded into the gRPC messages. This mode is less efficient but it requires a simpler implementations and can be used with plugins which are not on the same node as the Video Analyzer module." - }, - { - "value": "sharedMemory", - "description": "Media samples are made available through shared memory. This mode enables efficient data transfers but it requires that the extension plugin to be co-located on the same node and sharing the same shared memory space." - } - ], - "modelAsString": true - } - } - }, - "description": "Describes how media is transferred to the extension plugin.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.GrpcExtensionDataTransfer" - }, - "HttpExtension": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ExtensionProcessorBase" - } - ], - "description": "HTTP extension processor allows pipeline extension plugins to be connected to the pipeline through over the HTTP protocol. Extension plugins must act as an HTTP server. Please see https://aka.ms/ava-extension-http for details.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.HttpExtension" - }, - "ImageProperties": { - "type": "object", - "properties": { - "scale": { - "$ref": "#/definitions/ImageScale" - }, - "format": { - "$ref": "#/definitions/ImageFormatProperties" - } - }, - "description": "Image transformations and formatting options to be applied to the video frame(s)." - }, - "SamplingOptions": { - "type": "object", - "properties": { - "skipSamplesWithoutAnnotation": { - "type": "string", - "description": "When set to 'true', prevents frames without upstream inference data to be sent to the extension plugin. This is useful to limit the frames sent to the extension to pre-analyzed frames only. For example, when used downstream from a motion detector, this can enable for only frames in which motion has been detected to be further analyzed." - }, - "maximumSamplesPerSecond": { - "type": "string", - "description": "Maximum rate of samples submitted to the extension. This prevents an extension plugin to be overloaded with data." - } - }, - "description": "Defines how often media is submitted to the extension plugin." - }, - "ImageScale": { - "type": "object", - "properties": { - "mode": { - "type": "string", - "description": "Describes the image scaling mode to be applied. Default mode is 'pad'.", - "enum": [ - "preserveAspectRatio", - "pad", - "stretch" - ], - "x-ms-enum": { - "name": "imageScaleMode", - "values": [ - { - "value": "preserveAspectRatio", - "description": "Preserves the same aspect ratio as the input image. If only one image dimension is provided, the second dimension is calculated based on the input image aspect ratio. When 2 dimensions are provided, the image is resized to fit the most constraining dimension, considering the input image size and aspect ratio." - }, - { - "value": "pad", - "description": "Pads the image with black horizontal stripes (letterbox) or black vertical stripes (pillar-box) so the image is resized to the specified dimensions while not altering the content aspect ratio." - }, - { - "value": "stretch", - "description": "Stretches the original image so it resized to the specified dimensions." - } - ], - "modelAsString": true - } - }, - "width": { - "type": "string", - "description": "The desired output image width." - }, - "height": { - "type": "string", - "description": "The desired output image height." - } - }, - "description": "Image scaling mode." - }, - "ImageFormatProperties": { - "type": "object", - "required": [ - "@type" - ], - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "Type discriminator for the derived types." - } - }, - "description": "Base class for image formatting properties." - }, - "ImageFormatRaw": { - "type": "object", - "required": [ - "pixelFormat" - ], - "properties": { - "pixelFormat": { - "type": "string", - "description": "Pixel format to be applied to the raw image.", - "enum": [ - "yuv420p", - "rgb565be", - "rgb565le", - "rgb555be", - "rgb555le", - "rgb24", - "bgr24", - "argb", - "rgba", - "abgr", - "bgra" - ], - "x-ms-enum": { - "name": "imageFormatRawPixelFormat", - "values": [ - { - "value": "yuv420p", - "description": "Planar YUV 4:2:0, 12bpp, (1 Cr and Cb sample per 2x2 Y samples)." - }, - { - "value": "rgb565be", - "description": "Packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), big-endian." - }, - { - "value": "rgb565le", - "description": "Packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), little-endian." - }, - { - "value": "rgb555be", - "description": "Packed RGB 5:5:5, 16bpp, (msb)1X 5R 5G 5B(lsb), big-endian , X=unused/undefined." - }, - { - "value": "rgb555le", - "description": "Packed RGB 5:5:5, 16bpp, (msb)1X 5R 5G 5B(lsb), little-endian, X=unused/undefined." - }, - { - "value": "rgb24", - "description": "Packed RGB 8:8:8, 24bpp, RGBRGB." - }, - { - "value": "bgr24", - "description": "Packed RGB 8:8:8, 24bpp, BGRBGR." - }, - { - "value": "argb", - "description": "Packed ARGB 8:8:8:8, 32bpp, ARGBARGB." - }, - { - "value": "rgba", - "description": "Packed RGBA 8:8:8:8, 32bpp, RGBARGBA." - }, - { - "value": "abgr", - "description": "Packed ABGR 8:8:8:8, 32bpp, ABGRABGR." - }, - { - "value": "bgra", - "description": "Packed BGRA 8:8:8:8, 32bpp, BGRABGRA." - } - ], - "modelAsString": true - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/ImageFormatProperties" - } - ], - "description": "Raw image formatting.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.ImageFormatRaw" - }, - "ImageFormatJpeg": { - "type": "object", - "properties": { - "quality": { - "type": "string", - "description": "Image quality value between 0 to 100 (best quality)." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ImageFormatProperties" - } - ], - "description": "JPEG image encoding.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.ImageFormatJpeg" - }, - "ImageFormatBmp": { - "type": "object", - "properties": {}, - "allOf": [ - { - "$ref": "#/definitions/ImageFormatProperties" - } - ], - "description": "BMP image encoding.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.ImageFormatBmp" - }, - "ImageFormatPng": { - "type": "object", - "properties": {}, - "allOf": [ - { - "$ref": "#/definitions/ImageFormatProperties" - } - ], - "description": "PNG image encoding.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.ImageFormatPng" - }, - "NamedLineBase": { - "type": "object", - "required": [ - "@type", - "name" - ], - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "The Type discriminator for the derived types." - }, - "name": { - "type": "string", - "description": "Line name. Must be unique within the node." - } - }, - "description": "Base class for named lines." - }, - "NamedLineString": { - "type": "object", - "required": [ - "line" - ], - "properties": { - "line": { - "type": "string", - "example": "[[0.3,0.2],[0.9,0.8]]", - "description": "Point coordinates for the line start and end, respectively. Example: '[[0.3, 0.2],[0.9, 0.8]]'. Each point is expressed as [LEFT, TOP] coordinate ratios ranging from 0.0 to 1.0, where [0,0] is the upper-left frame corner and [1, 1] is the bottom-right frame corner." - } - }, - "allOf": [ - { - "$ref": "#/definitions/NamedLineBase" - } - ], - "description": "Describes a line configuration.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.NamedLineString" - }, - "NamedPolygonBase": { - "type": "object", - "required": [ - "@type", - "name" - ], - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "The Type discriminator for the derived types." - }, - "name": { - "type": "string", - "description": "Polygon name. Must be unique within the node." - } - }, - "description": "Describes the named polygon." - }, - "NamedPolygonString": { - "type": "object", - "required": [ - "polygon" - ], - "properties": { - "polygon": { - "type": "string", - "example": "[[0.3, 0.2],[0.9, 0.8],[0.7, 0.6]]", - "description": "Point coordinates for the polygon. Example: '[[0.3, 0.2],[0.9, 0.8],[0.7, 0.6]]'. Each point is expressed as [LEFT, TOP] coordinate ratios ranging from 0.0 to 1.0, where [0,0] is the upper-left frame corner and [1, 1] is the bottom-right frame corner." - } - }, - "allOf": [ - { - "$ref": "#/definitions/NamedPolygonBase" - } - ], - "description": "Describes a closed polygon configuration.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.NamedPolygonString" - }, - "SignalGateProcessor": { - "type": "object", - "properties": { - "activationEvaluationWindow": { - "type": "string", - "example": "PT1.0S", - "description": "The period of time over which the gate gathers input events before evaluating them." - }, - "activationSignalOffset": { - "type": "string", - "example": "-PT1.0S", - "description": "Signal offset once the gate is activated (can be negative). It determines the how much farther behind of after the signal will be let through based on the activation time. A negative offset indicates that data prior the activation time must be included on the signal that is let through, once the gate is activated. When used upstream of a file or video sink, this allows for scenarios such as recording buffered media prior an event, such as: record video 5 seconds prior motions is detected." - }, - "minimumActivationTime": { - "type": "string", - "example": "PT1S", - "description": "The minimum period for which the gate remains open in the absence of subsequent triggers (events). When used upstream of a file or video sink, it determines the minimum length of the recorded video clip." - }, - "maximumActivationTime": { - "type": "string", - "example": "PT2S", - "description": "The maximum period for which the gate remains open in the presence of subsequent triggers (events). When used upstream of a file or video sink, it determines the maximum length of the recorded video clip." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProcessorNodeBase" - } - ], - "description": "A signal gate determines when to block (gate) incoming media, and when to allow it through. It gathers input events over the activationEvaluationWindow, and determines whether to open or close the gate. See https://aka.ms/ava-signalgate for more information.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.SignalGateProcessor" - }, - "SpatialAnalysisOperationBase": { - "type": "object", - "required": [ - "@type" - ], - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "The Type discriminator for the derived types." - } - }, - "description": "Base class for Azure Cognitive Services Spatial Analysis operations." - }, - "SpatialAnalysisCustomOperation": { - "type": "object", - "required": [ - "extensionConfiguration" - ], - "properties": { - "extensionConfiguration": { - "type": "string", - "description": "Custom configuration to pass to the Azure Cognitive Services Spatial Analysis module." - } - }, - "allOf": [ - { - "$ref": "#/definitions/SpatialAnalysisOperationBase" - } - ], - "description": "Defines a Spatial Analysis custom operation. This requires the Azure Cognitive Services Spatial analysis module to be deployed alongside the Video Analyzer module, please see https://aka.ms/ava-spatial-analysis for more information.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.SpatialAnalysisCustomOperation" - }, - "SpatialAnalysisTypedOperationBase": { - "type": "object", - "properties": { - "debug": { - "type": "string", - "description": "If set to 'true', enables debugging mode for this operation." - }, - "calibrationConfiguration": { - "type": "string", - "description": "Advanced calibration configuration." - }, - "cameraConfiguration": { - "type": "string", - "description": "Advanced camera configuration." - }, - "cameraCalibratorNodeConfiguration": { - "type": "string", - "description": "Advanced camera calibrator configuration." - }, - "detectorNodeConfiguration": { - "type": "string", - "description": "Advanced detector node configuration." - }, - "trackerNodeConfiguration": { - "type": "string", - "description": "Advanced tracker node configuration." - }, - "enableFaceMaskClassifier": { - "type": "string", - "description": "If set to 'true', enables face mask detection for this operation." - } - }, - "allOf": [ - { - "$ref": "#/definitions/SpatialAnalysisOperationBase" - } - ], - "description": "Base class for Azure Cognitive Services Spatial Analysis typed operations." - }, - "SpatialAnalysisOperationEventBase": { - "type": "object", - "properties": { - "threshold": { - "type": "string", - "description": "The event threshold." - }, - "focus": { - "type": "string", - "description": "The operation focus type.", - "enum": [ - "center", - "bottomCenter", - "footprint" - ], - "x-ms-enum": { - "name": "spatialAnalysisOperationFocus", - "values": [ - { - "value": "center", - "description": "The center of the object." - }, - { - "value": "bottomCenter", - "description": "The bottom center of the object." - }, - { - "value": "footprint", - "description": "The footprint." - } - ], - "modelAsString": true - } - } - }, - "description": "Defines the Azure Cognitive Services Spatial Analysis operation eventing configuration." - }, - "SpatialAnalysisPersonCountEvent": { - "type": "object", - "properties": { - "trigger": { - "type": "string", - "description": "The event trigger type.", - "enum": [ - "event", - "interval" - ], - "x-ms-enum": { - "name": "spatialAnalysisPersonCountEventTrigger", - "values": [ - { - "value": "event", - "description": "Event trigger." - }, - { - "value": "interval", - "description": "Interval trigger." - } - ], - "modelAsString": true - } - }, - "outputFrequency": { - "type": "string", - "description": "The event or interval output frequency." - } - }, - "allOf": [ - { - "$ref": "#/definitions/SpatialAnalysisOperationEventBase" - } - ], - "description": "Defines a Spatial Analysis person count operation eventing configuration." - }, - "SpatialAnalysisPersonCountZoneEvents": { - "type": "object", - "required": [ - "zone" - ], - "properties": { - "zone": { - "description": "The named zone.", - "$ref": "#/definitions/NamedPolygonBase" - }, - "events": { - "type": "array", - "description": "The event configuration.", - "items": { - "$ref": "#/definitions/SpatialAnalysisPersonCountEvent" - } - } - } - }, - "SpatialAnalysisPersonCountOperation": { - "type": "object", - "required": [ - "zones" - ], - "properties": { - "zones": { - "type": "array", - "description": "The list of zones and optional events.", - "items": { - "$ref": "#/definitions/SpatialAnalysisPersonCountZoneEvents" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/SpatialAnalysisTypedOperationBase" - } - ], - "description": "Defines a Spatial Analysis person count operation. This requires the Azure Cognitive Services Spatial analysis module to be deployed alongside the Video Analyzer module, please see https://aka.ms/ava-spatial-analysis for more information.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.SpatialAnalysisPersonCountOperation" - }, - "SpatialAnalysisPersonZoneCrossingEvent": { - "type": "object", - "properties": { - "eventType": { - "type": "string", - "description": "The event type.", - "enum": [ - "zoneCrossing", - "zoneDwellTime" - ], - "x-ms-enum": { - "name": "spatialAnalysisPersonZoneCrossingEventType", - "values": [ - { - "value": "zoneCrossing", - "description": "Zone crossing event type." - }, - { - "value": "zoneDwellTime", - "description": "Zone dwell time event type." - } - ], - "modelAsString": true - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/SpatialAnalysisOperationEventBase" - } - ], - "description": "Defines a Spatial Analysis person crossing zone operation eventing configuration." - }, - "SpatialAnalysisPersonZoneCrossingZoneEvents": { - "type": "object", - "required": [ - "zone" - ], - "properties": { - "zone": { - "description": "The named zone.", - "$ref": "#/definitions/NamedPolygonBase" - }, - "events": { - "type": "array", - "description": "The event configuration.", - "items": { - "$ref": "#/definitions/SpatialAnalysisPersonZoneCrossingEvent" - } - } - } - }, - "SpatialAnalysisPersonZoneCrossingOperation": { - "type": "object", - "required": [ - "zones" - ], - "properties": { - "zones": { - "type": "array", - "description": "The list of zones with optional events.", - "items": { - "$ref": "#/definitions/SpatialAnalysisPersonZoneCrossingZoneEvents" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/SpatialAnalysisTypedOperationBase" - } - ], - "description": "Defines a Spatial Analysis person zone crossing operation. This requires the Azure Cognitive Services Spatial analysis module to be deployed alongside the Video Analyzer module, please see https://aka.ms/ava-spatial-analysis for more information.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.SpatialAnalysisPersonZoneCrossingOperation" - }, - "SpatialAnalysisPersonDistanceEvent": { - "type": "object", - "properties": { - "trigger": { - "type": "string", - "description": "The event trigger type.", - "enum": [ - "event", - "interval" - ], - "x-ms-enum": { - "name": "spatialAnalysisPersonDistanceEventTrigger", - "values": [ - { - "value": "event", - "description": "Event trigger." - }, - { - "value": "interval", - "description": "Interval trigger." - } - ], - "modelAsString": true - } - }, - "outputFrequency": { - "type": "string", - "description": "The event or interval output frequency." - }, - "minimumDistanceThreshold": { - "type": "string", - "description": "The minimum distance threshold" - }, - "maximumDistanceThreshold": { - "type": "string", - "description": "The maximum distance threshold" - } - }, - "allOf": [ - { - "$ref": "#/definitions/SpatialAnalysisOperationEventBase" - } - ], - "description": "Defines a Spatial Analysis person distance operation eventing configuration." - }, - "SpatialAnalysisPersonDistanceZoneEvents": { - "type": "object", - "required": [ - "zone" - ], - "properties": { - "zone": { - "description": "The named zone.", - "$ref": "#/definitions/NamedPolygonBase" - }, - "events": { - "type": "array", - "description": "The event configuration.", - "items": { - "$ref": "#/definitions/SpatialAnalysisPersonDistanceEvent" - } - } - } - }, - "SpatialAnalysisPersonDistanceOperation": { - "type": "object", - "required": [ - "zones" - ], - "properties": { - "zones": { - "type": "array", - "description": "The list of zones with optional events.", - "items": { - "$ref": "#/definitions/SpatialAnalysisPersonDistanceZoneEvents" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/SpatialAnalysisTypedOperationBase" - } - ], - "description": "Defines a Spatial Analysis person distance operation. This requires the Azure Cognitive Services Spatial analysis module to be deployed alongside the Video Analyzer module, please see https://aka.ms/ava-spatial-analysis for more information.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.SpatialAnalysisPersonDistanceOperation" - }, - "SpatialAnalysisPersonLineCrossingEvent": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SpatialAnalysisOperationEventBase" - } - ], - "description": "Defines a Spatial Analysis person line crossing operation eventing configuration." - }, - "SpatialAnalysisPersonLineCrossingLineEvents": { - "type": "object", - "required": [ - "line" - ], - "properties": { - "line": { - "description": "The named line.", - "$ref": "#/definitions/NamedLineBase" - }, - "events": { - "type": "array", - "description": "The event configuration.", - "items": { - "$ref": "#/definitions/SpatialAnalysisPersonLineCrossingEvent" - } - } - } - }, - "SpatialAnalysisPersonLineCrossingOperation": { - "type": "object", - "required": [ - "lines" - ], - "properties": { - "lines": { - "type": "array", - "description": "The list of lines with optional events.", - "items": { - "$ref": "#/definitions/SpatialAnalysisPersonLineCrossingLineEvents" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/SpatialAnalysisTypedOperationBase" - } - ], - "description": "Defines a Spatial Analysis person line crossing operation. This requires the Azure Cognitive Services Spatial analysis module to be deployed alongside the Video Analyzer module, please see https://aka.ms/ava-spatial-analysis for more information.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.SpatialAnalysisPersonLineCrossingOperation" - }, - "RemoteDeviceAdapter": { - "type": "object", - "required": [ - "name" - ], - "properties": { - "name": { - "type": "string", - "description": "The unique identifier for the remote device adapter." - }, - "systemData": { - "$ref": "#/definitions/SystemData", - "description": "Read-only system metadata associated with this object." - }, - "properties": { - "$ref": "#/definitions/RemoteDeviceAdapterProperties", - "description": "Properties of the remote device adapter." - } - }, - "description": "The Video Analyzer edge module can act as a transparent gateway for video, enabling IoT devices to send video to the cloud from behind a firewall. A remote device adapter should be created for each such IoT device. Communication between the cloud and IoT device would then flow via the Video Analyzer edge module." - }, - "RemoteDeviceAdapterProperties": { - "type": "object", - "properties": { - "description": { - "description": "An optional description for the remote device adapter.", - "type": "string" - }, - "target": { - "description": "The IoT device to which this remote device will connect.", - "$ref": "#/definitions/RemoteDeviceAdapterTarget" - }, - "iotHubDeviceConnection": { - "description": "Information that enables communication between the IoT Hub and the IoT device - allowing this edge module to act as a transparent gateway between the two.", - "$ref": "#/definitions/IotHubDeviceConnection" - } - }, - "required": [ - "target", - "iotHubDeviceConnection" - ], - "description": "Remote device adapter properties." - }, - "RemoteDeviceAdapterTarget": { - "type": "object", - "properties": { - "host": { - "description": "Hostname or IP address of the remote device.", - "type": "string" - } - }, - "required": [ - "host" - ], - "description": "Properties of the remote device adapter target." - }, - "IotHubDeviceConnection": { - "type": "object", - "properties": { - "deviceId": { - "description": "The name of the IoT device configured and managed in IoT Hub. (case-sensitive)", - "type": "string" - }, - "credentials": { - "description": "IoT device connection credentials. Currently IoT device symmetric key credentials are supported.", - "$ref": "#/definitions/CredentialsBase" - } - }, - "required": [ - "deviceId" - ], - "description": "Information that enables communication between the IoT Hub and the IoT device - allowing this edge module to act as a transparent gateway between the two." - }, - "RemoteDeviceAdapterCollection": { - "description": "A list of remote device adapters.", - "properties": { - "value": { - "type": "array", - "description": "An array of remote device adapters.", - "items": { - "$ref": "#/definitions/RemoteDeviceAdapter" - } - }, - "@continuationToken": { - "type": "string", - "description": "A continuation token to use in subsequent calls to enumerate through the remote device adapter collection. This is used when the collection contains too many results to return in one response." - } - }, - "type": "object" - }, - "CognitiveServicesVisionProcessor": { - "type": "object", - "required": [ - "operation", - "endpoint" - ], - "properties": { - "endpoint": { - "description": "Endpoint to which this processor should connect.", - "$ref": "#/definitions/EndpointBase" - }, - "image": { - "description": "Describes the parameters of the image that is sent as input to the endpoint.", - "$ref": "#/definitions/ImageProperties" - }, - "samplingOptions": { - "description": "Describes the sampling options to be applied when forwarding samples to the extension.", - "$ref": "#/definitions/SamplingOptions" - }, - "operation": { - "description": "Describes the Spatial Analysis operation to be used in the Cognitive Services Vision processor.", - "$ref": "#/definitions/SpatialAnalysisOperationBase" - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProcessorNodeBase" - } - ], - "description": "A processor that allows the pipeline topology to send video frames to a Cognitive Services Vision extension. Inference results are relayed to downstream nodes.", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.CognitiveServicesVisionProcessor" - }, - "DiscoveredOnvifDeviceCollection": { - "type": "object", - "properties": { - "value": { - "type": "array", - "description": "An array of ONVIF devices that have been discovered in the same subnet as the IoT Edge device.", - "items": { - "$ref": "#/definitions/DiscoveredOnvifDevice" - } - } - }, - "description": "A list of ONVIF devices that were discovered in the same subnet as the IoT Edge device." - }, - "DiscoveredOnvifDevice": { - "type": "object", - "properties": { - "serviceIdentifier": { - "type": "string", - "description": "The unique identifier of the ONVIF device that was discovered in the same subnet as the IoT Edge device." - }, - "remoteIPAddress": { - "type": "string", - "description": "The IP address of the ONVIF device that was discovered in the same subnet as the IoT Edge device." - }, - "scopes": { - "type": "array", - "description": "An array of hostnames for the ONVIF discovered devices that are in the same subnet as the IoT Edge device.", - "items": { - "type": "string" - } - }, - "endpoints": { - "type": "array", - "description": "An array of media profile endpoints that the ONVIF discovered device supports.", - "items": { - "type": "string" - } - } - }, - "description": "The discovered properties of the ONVIF device that are returned during the discovery." - }, - "OnvifDevice": { - "type": "object", - "properties": { - "hostname": { - "type": "object", - "description": "The hostname of the ONVIF device.", - "$ref": "#/definitions/OnvifHostName" - }, - "systemDateTime": { - "description": "The system date and time of the ONVIF device.", - "$ref": "#/definitions/OnvifSystemDateTime" - }, - "dns": { - "description": "The ONVIF device DNS properties.", - "$ref": "#/definitions/OnvifDns" - }, - "mediaProfiles": { - "type": "array", - "description": "An array of of ONVIF media profiles supported by the ONVIF device.", - "items": { - "$ref": "#/definitions/MediaProfile" - } - } - }, - "description": "The ONVIF device properties." - }, - "OnvifSystemDateTime": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "An enum value determining whether the date time was configured using NTP or manual.", - "enum": [ - "Ntp", - "Manual" - ], - "x-ms-enum": { - "name": "onvifSystemDateTimeType", - "values": [ - { - "value": "Ntp" - }, - { - "value": "Manual" - } - ], - "modelAsString": true - } - }, - "time": { - "type": "string", - "description": "The device datetime returned when calling the request." - }, - "timeZone": { - "type": "string", - "description": "The timezone of the ONVIF device datetime." - } - }, - "description": "The ONVIF device DNS properties." - }, - "OnvifHostName": { - "type": "object", - "properties": { - "fromDhcp": { - "type": "boolean", - "description": "Result value showing if the ONVIF device is configured to use DHCP." - }, - "hostname": { - "type": "string", - "description": "The hostname of the ONVIF device." - } - }, - "description": "The ONVIF device DNS properties." - }, - "OnvifDns": { - "type": "object", - "properties": { - "fromDhcp": { - "type": "boolean", - "description": "Result value showing if the ONVIF device is configured to use DHCP." - }, - "ipv4Address": { - "type": "array", - "description": "An array of IPv4 address for the discovered ONVIF device.", - "items": { - "type": "string" - } - }, - "ipv6Address": { - "type": "array", - "description": "An array of IPv6 address for the discovered ONVIF device.", - "items": { - "type": "string" - } - } - }, - "description": "The ONVIF device DNS properties." - }, - "MediaProfile": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the Media Profile." - }, - "mediaUri": { - "type": "object", - "description": "Object representing the URI that will be used to request for media streaming.", - "items": { - "$ref": "#/definitions/MediaUri" - } - }, - "videoEncoderConfiguration": { - "type": "object", - "description": "The Video encoder configuration.", - "$ref": "#/definitions/VideoEncoderConfiguration" - } - }, - "description": "Class representing the ONVIF MediaProfiles." - }, - "MediaUri": { - "type": "object", - "properties": { - "uri": { - "type": "string", - "description": "URI that can be used for media streaming." - } - }, - "description": "Object representing the URI that will be used to request for media streaming." - }, - "VideoEncoderConfiguration": { - "type": "object", - "properties": { - "encoding": { - "type": "string", - "description": "The video codec used by the Media Profile.", - "enum": [ - "JPEG", - "H264", - "MPEG4" - ], - "x-ms-enum": { - "name": "videoEncoding", - "values": [ - { - "value": "JPEG", - "description": "The Media Profile uses JPEG encoding." - }, - { - "value": "H264", - "description": "The Media Profile uses H264 encoding." - }, - { - "value": "MPEG4", - "description": "The Media Profile uses MPEG4 encoding." - } - ], - "modelAsString": true - } - }, - "quality": { - "type": "number", - "description": "Relative value representing the quality of the video." - }, - "resolution": { - "description": "The Video Resolution.", - "$ref": "#/definitions/VideoResolution" - }, - "rateControl": { - "type": "object", - "description": "The Video's rate control.", - "$ref": "#/definitions/RateControl" - }, - "h264": { - "type": "object", - "description": "The H264 Configuration.", - "$ref": "#/definitions/H264Configuration" - }, - "mpeg4": { - "description": "The H264 Configuration.", - "$ref": "#/definitions/MPEG4Configuration" - } - }, - "description": "Class representing the MPEG4 Configuration." - }, - "MPEG4Configuration": { - "type": "object", - "properties": { - "govLength": { - "type": "number", - "description": "Group of Video frames length." - }, - "profile": { - "type": "string", - "description": "The MPEG4 Profile", - "enum": [ - "SP", - "ASP" - ], - "x-ms-enum": { - "name": "MPEG4Profile", - "values": [ - { - "value": "SP", - "description": "Simple Profile." - }, - { - "value": "ASP", - "description": "Advanced Simple Profile." - } - ], - "modelAsString": true - } - } - }, - "description": "Class representing the MPEG4 Configuration." - }, - "RateControl": { - "type": "object", - "properties": { - "bitRateLimit": { - "type": "number", - "description": "the maximum output bitrate in kbps." - }, - "encodingInterval": { - "type": "number", - "description": "Interval at which images are encoded and transmitted." - }, - "frameRateLimit": { - "type": "number", - "description": "Maximum output framerate in fps." - }, - "guaranteedFrameRate": { - "type": "boolean", - "description": "A value of true indicates that frame rate is a fixed value rather than an upper limit, and that the video encoder shall prioritize frame rate over all other adaptable configuration values such as bitrate." - } - }, - "description": "Class representing the video's rate control." - }, - "VideoResolution": { - "type": "object", - "properties": { - "width": { - "type": "number", - "description": "The number of columns of the Video image." - }, - "height": { - "type": "number", - "description": "The number of lines of the Video image." - } - }, - "description": "The Video resolution." - }, - "H264Configuration": { - "type": "object", - "properties": { - "govLength": { - "type": "number", - "description": "Group of Video frames length." - }, - "profile": { - "type": "string", - "description": "The H264 Profile", - "enum": [ - "Baseline", - "Main", - "Extended", - "High" - ], - "x-ms-enum": { - "name": "H264Profile", - "values": [ - { - "value": "Baseline" - }, - { - "value": "Main" - }, - { - "value": "Extended" - }, - { - "value": "High" - } - ], - "modelAsString": true - } - } - }, - "description": "Class representing the H264 Configuration." - } - } -} diff --git a/specification/videoanalyzer/data-plane/VideoAnalyzer.Edge/preview/1.1.0/AzureVideoAnalyzerSdkDefinitions.json b/specification/videoanalyzer/data-plane/VideoAnalyzer.Edge/preview/1.1.0/AzureVideoAnalyzerSdkDefinitions.json deleted file mode 100644 index 954f1e1ebc63..000000000000 --- a/specification/videoanalyzer/data-plane/VideoAnalyzer.Edge/preview/1.1.0/AzureVideoAnalyzerSdkDefinitions.json +++ /dev/null @@ -1,304 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "1.1.0", - "title": "Azure Video Analyzer for Edge", - "description": "Azure Video Analyzer helpers for IoT Edge direct method calls.", - "contact": { - "email": "videoanalyzerhelp@microsoft.com" - } - }, - "security": [ - { - "sharedAccessSignature": [] - } - ], - "paths": {}, - "securityDefinitions": { - "sharedAccessSignature": { - "type": "apiKey", - "name": "Authorization", - "in": "header" - } - }, - "definitions": { - "MethodRequest": { - "type": "object", - "required": [ - "methodName" - ], - "properties": { - "methodName": { - "type": "string", - "description": "Direct method method name.", - "readOnly": true - }, - "@apiVersion": { - "type": "string", - "description": "Video Analyzer API version.", - "enum": [ - "1.1" - ], - "x-ms-enum": { - "name": "apiVersionEnum", - "modelAsString": false - }, - "x-ms-client-default": "1.1" - } - }, - "discriminator": "methodName", - "description": "Base class for direct method calls." - }, - "PipelineTopologySetRequest": { - "type": "object", - "x-ms-discriminator-value": "pipelineTopologySet", - "allOf": [ - { - "$ref": "#/definitions/MethodRequest" - } - ], - "required": [ - "pipelineTopology" - ], - "properties": { - "pipelineTopology": { - "$ref": "./AzureVideoAnalyzer.json#/definitions/PipelineTopology" - } - }, - "description": "Creates a new pipeline topology or updates an existing one." - }, - "PipelineTopologySetRequestBody": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MethodRequest" - }, - { - "$ref": "./AzureVideoAnalyzer.json#/definitions/PipelineTopology" - } - ], - "description": "Pipeline topology describes the processing steps to be applied when processing media for a particular outcome. The topology should be defined according to the scenario to be achieved and can be reused across many pipeline instances which share the same processing characteristics. For instance, a pipeline topology which acquires data from a RTSP camera, process it with an specific AI model and stored the data on the cloud can be reused across many different cameras, as long as the same processing should be applied across all the cameras. Individual instance properties can be defined through the use of user-defined parameters, which allow for a topology to be parameterized, thus allowing individual pipelines to refer to different values, such as individual cameras RTSP endpoints and credentials. Overall a topology is composed of the following:\r\n\r\n - Parameters: list of user defined parameters that can be references across the topology nodes.\r\n - Sources: list of one or more data sources nodes such as an RTSP source which allows for media to be ingested from cameras.\r\n - Processors: list of nodes which perform data analysis or transformations.\r\n -Sinks: list of one or more data sinks which allow for data to be stored or exported to other destinations." - }, - "LivePipelineSetRequest": { - "type": "object", - "x-ms-discriminator-value": "livePipelineSet", - "allOf": [ - { - "$ref": "#/definitions/MethodRequest" - } - ], - "required": [ - "livePipeline" - ], - "properties": { - "livePipeline": { - "$ref": "./AzureVideoAnalyzer.json#/definitions/LivePipeline" - } - }, - "description": "Creates a new live pipeline or updates an existing one." - }, - "LivePipelineSetRequestBody": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MethodRequest" - }, - { - "$ref": "./AzureVideoAnalyzer.json#/definitions/LivePipeline" - } - ], - "description": "Live Pipeline represents an unique instance of a pipeline topology which is used for real-time content ingestion and analysis." - }, - "MethodRequestEmptyBodyBase": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MethodRequest" - } - ], - "required": [ - "name" - ], - "properties": { - "name": { - "type": "string", - "description": "Resource name." - } - } - }, - "PipelineTopologyListRequest": { - "type": "object", - "x-ms-discriminator-value": "pipelineTopologyList", - "allOf": [ - { - "$ref": "#/definitions/MethodRequest" - } - ], - "description": "List all existing pipeline topologies." - }, - "PipelineTopologyGetRequest": { - "type": "object", - "x-ms-discriminator-value": "pipelineTopologyGet", - "allOf": [ - { - "$ref": "#/definitions/MethodRequestEmptyBodyBase" - } - ], - "description": "Retrieves an existing pipeline topology." - }, - "PipelineTopologyDeleteRequest": { - "type": "object", - "x-ms-discriminator-value": "pipelineTopologyDelete", - "allOf": [ - { - "$ref": "#/definitions/MethodRequestEmptyBodyBase" - } - ], - "description": "Deletes an existing pipeline topology." - }, - "LivePipelineListRequest": { - "type": "object", - "x-ms-discriminator-value": "livePipelineList", - "allOf": [ - { - "$ref": "#/definitions/MethodRequest" - } - ], - "description": "List all existing live pipelines." - }, - "LivePipelineGetRequest": { - "type": "object", - "x-ms-discriminator-value": "livePipelineGet", - "allOf": [ - { - "$ref": "#/definitions/MethodRequestEmptyBodyBase" - } - ], - "description": "Retrieves an existing live pipeline." - }, - "LivePipelineActivateRequest": { - "type": "object", - "x-ms-discriminator-value": "livePipelineActivate", - "allOf": [ - { - "$ref": "#/definitions/MethodRequestEmptyBodyBase" - } - ], - "description": "Activates an existing live pipeline." - }, - "LivePipelineDeactivateRequest": { - "type": "object", - "x-ms-discriminator-value": "livePipelineDeactivate", - "allOf": [ - { - "$ref": "#/definitions/MethodRequestEmptyBodyBase" - } - ], - "description": "Deactivates an existing live pipeline." - }, - "LivePipelineDeleteRequest": { - "type": "object", - "x-ms-discriminator-value": "livePipelineDelete", - "allOf": [ - { - "$ref": "#/definitions/MethodRequestEmptyBodyBase" - } - ], - "description": "Deletes an existing live pipeline." - }, - "RemoteDeviceAdapterSetRequest": { - "type": "object", - "x-ms-discriminator-value": "remoteDeviceAdapterSet", - "allOf": [ - { - "$ref": "#/definitions/MethodRequest" - } - ], - "required": [ - "remoteDeviceAdapter" - ], - "properties": { - "remoteDeviceAdapter": { - "$ref": "./AzureVideoAnalyzer.json#/definitions/RemoteDeviceAdapter" - } - }, - "description": "Creates a new remote device adapter or updates an existing one." - }, - "RemoteDeviceAdapterSetRequestBody": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MethodRequest" - }, - { - "$ref": "./AzureVideoAnalyzer.json#/definitions/RemoteDeviceAdapter" - } - ], - "description": "The Video Analyzer edge module can act as a transparent gateway for video, enabling IoT devices to send video to the cloud from behind a firewall. A remote device adapter should be created for each such IoT device. Communication between the cloud and IoT device would then flow via the Video Analyzer edge module." - }, - "RemoteDeviceAdapterListRequest": { - "type": "object", - "x-ms-discriminator-value": "remoteDeviceAdapterList", - "allOf": [ - { - "$ref": "#/definitions/MethodRequest" - } - ], - "description": "List all existing remote device adapters." - }, - "RemoteDeviceAdapterGetRequest": { - "type": "object", - "x-ms-discriminator-value": "remoteDeviceAdapterGet", - "allOf": [ - { - "$ref": "#/definitions/MethodRequestEmptyBodyBase" - } - ], - "description": "Retrieves an existing remote device adapter." - }, - "RemoteDeviceAdapterDeleteRequest": { - "type": "object", - "x-ms-discriminator-value": "remoteDeviceAdapterDelete", - "allOf": [ - { - "$ref": "#/definitions/MethodRequestEmptyBodyBase" - } - ], - "description": "Deletes an existing remote device adapter." - }, - "OnvifDeviceDiscoverRequest": { - "type": "object", - "x-ms-discriminator-value": "onvifDeviceDiscover", - "allOf": [ - { - "$ref": "#/definitions/MethodRequest" - } - ], - "properties": { - "discoveryDuration": { - "type": "string", - "description": "The amount of time that the ONVIF device discovery will wait for supported device responses." - } - }, - "description": "Lists all the discoverable ONVIF devices on the same subnet as the Edge Module." - }, - "OnvifDeviceGetRequest": { - "type": "object", - "x-ms-discriminator-value": "onvifDeviceGet", - "allOf": [ - { - "$ref": "#/definitions/MethodRequest" - } - ], - "required": [ - "endpoint" - ], - "properties": { - "endpoint": { - "$ref": "./AzureVideoAnalyzer.json#/definitions/EndpointBase" - } - }, - "description": "Retrieves properties and media profiles of an ONVIF device." - } - } -} diff --git a/specification/videoanalyzer/data-plane/readme.md b/specification/videoanalyzer/data-plane/readme.md deleted file mode 100644 index 913636375d2c..000000000000 --- a/specification/videoanalyzer/data-plane/readme.md +++ /dev/null @@ -1,113 +0,0 @@ -# Azure Video Analyzer Edge - -> see https://aka.ms/autorest - -This is the AutoRest configuration file for Azure Video Analyzer edge. - -These swaggers are used to generate the SDKs for Azure Video Analyzer. These SDKs are models only (no client) and customer would need to use IoT SDK to send direct method calls to IoT hub. These SDKs are not ARM based and doesn't do any REST calls. all operations are sent as direct methods on IoT hub. - ---- - -## Getting Started - -To build the SDK for Azure Video Analyzer edge, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: - -> `autorest` - -To see additional help and options, run: - -> `autorest --help` - ---- - -## Configuration - -### Basic Information - -These are the global settings for the Azure Video Analyzer edge API. - -``` yaml -openapi-type: data-plane -tag: package-preview-1.1.0 -directive: - - where: - - $.definitions.MethodRequest.properties.methodName - suppress: - - RequiredReadOnlyProperties -``` - - -### Tag: package-preview-1.1.0 - -These settings apply only when `--tag=package-preview-1.1.0` is specified on the command line. - -```yaml $(tag) == 'package-preview-1.1.0' -input-file: - - VideoAnalyzer.Edge/preview/1.1.0/AzureVideoAnalyzer.json - - VideoAnalyzer.Edge/preview/1.1.0/AzureVideoAnalyzerSdkDefinitions.json -``` -### Tag: package-ava-edge-1-0-0-preview - -These settings apply only when `--tag=package-ava-edge-1-0-0-preview` is specified on the command line. - -``` yaml $(tag) == 'package-ava-edge-1-0-0-preview' -input-file: - - VideoAnalyzer.Edge/preview/1.0.0/AzureVideoAnalyzer.json - - VideoAnalyzer.Edge/preview/1.0.0/AzureVideoAnalyzerSdkDefinitions.json -``` - ---- - -# Code Generation - -## Swagger to SDK - -This section describes what SDK should be generated by the automatic system. -This is not used by Autorest itself. - -``` yaml $(swagger-to-sdk) -swagger-to-sdk: - - repo: azure-sdk-for-net -``` - -## C# - -These settings apply only when `--csharp` is specified on the command line. -Please also specify `--csharp-sdks-folder=`. - -``` yaml $(csharp) -csharp: - azure-arm: false - payload-flattening-threshold: 2 - license-header: MICROSOFT_MIT_NO_VERSION - namespace: Microsoft.Azure.Media.AzureVideoAnalyzer.Edge - output-folder: $(csharp-sdks-folder)/mediaservices/Microsoft.Azure.Media.AzureVideoAnalyzer.Edge/src/Generated - clear-output-folder: true - use-internal-constructors: true - override-client-name: AzureVideoAnalyzerEdgeClient - use-datetimeoffset: true -``` - -## Multi-API/Profile support for AutoRest v3 generators - -AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. - -This block is updated by an automatic script. Edits may be lost! - -``` yaml $(tag) == 'all-api-versions' /* autogenerated */ -# include the azure profile definitions from the standard location -require: $(this-folder)/../../../profiles/readme.md - -# all the input files across all versions -input-file: - - $(this-folder)/VideoAnalyzer.Edge/preview/1.0.0/AzureVideoAnalyzer.json - -``` - -If there are files that should not be in the `all-api-versions` set, -uncomment the `exclude-file` section below and add the file paths. - -``` yaml $(tag) == 'all-api-versions' -#exclude-file: -# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json -``` diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/EdgeModules.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/EdgeModules.json deleted file mode 100644 index afac678f2fe6..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/EdgeModules.json +++ /dev/null @@ -1,399 +0,0 @@ -{ - "schemes": [ - "https" - ], - "swagger": "2.0", - "info": { - "title": "Azure Video Analyzer", - "description": "Azure Video Analyzer resource provider API definition.", - "version": "2021-05-01-preview" - }, - "host": "management.azure.com", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "Impersonate your user account" - } - } - }, - "definitions": { - "EdgeModuleProperties": { - "properties": { - "edgeModuleId": { - "type": "string", - "format": "uuid", - "description": "Internal ID generated for the instance of the Video Analyzer edge module.", - "readOnly": true, - "x-nullable": false - } - }, - "type": "object", - "description": "Application level properties for the edge module resource." - }, - "ListProvisioningTokenInput": { - "properties": { - "expirationDate": { - "type": "string", - "format": "date-time", - "description": "The desired expiration date of the registration token. The Azure Video Analyzer IoT edge module must be initialized and connected to the Internet prior to the token expiration date." - } - }, - "type": "object", - "required": [ - "expirationDate" - ], - "description": "The input parameters to generate registration token for the Azure Video Analyzer IoT edge module." - }, - "EdgeModuleProvisioningToken": { - "properties": { - "expirationDate": { - "type": "string", - "format": "date-time", - "description": "The expiration date of the registration token. The Azure Video Analyzer IoT edge module must be initialized and connected to the Internet prior to the token expiration date.", - "readOnly": true, - "x-nullable": false - }, - "token": { - "type": "string", - "description": "The token blob to be provided to the Azure Video Analyzer IoT edge module through the Azure IoT Edge module twin properties.", - "readOnly": true - } - }, - "type": "object", - "description": "Provisioning token properties. A provisioning token allows for a single instance of Azure Video analyzer IoT edge module to be initialized and authorized to the cloud account. The provisioning token itself is short lived and it is only used for the initial handshake between IoT edge module and the cloud. After the initial handshake, the IoT edge module will agree on a set of authentication keys which will be auto-rotated as long as the module is able to periodically connect to the cloud. A new provisioning token can be generated for the same IoT edge module in case the module state lost or reset." - }, - "EdgeModuleEntity": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/EdgeModuleProperties", - "description": "The resource properties.", - "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "The system metadata relating to this resource.", - "readOnly": true - } - }, - "type": "object", - "description": "The representation of an edge module." - }, - "EdgeModuleEntityCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/EdgeModuleEntity" - }, - "description": "A collection of EdgeModuleEntity items." - }, - "@nextLink": { - "type": "string", - "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)." - } - }, - "type": "object", - "description": "A collection of EdgeModuleEntity items." - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/edgeModules": { - "get": { - "summary": "List edge module resources.", - "description": "List all of the existing edge module resources for a given Video Analyzer account.", - "operationId": "EdgeModules_List", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/EdgeModuleEntityCollection" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "Restricts the set of items returned." - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n." - }, - { - "name": "$orderby", - "in": "query", - "required": false, - "type": "string", - "description": "Specifies the key by which the result collection should be ordered." - } - ], - "x-ms-pageable": { - "nextLinkName": "@nextLink" - }, - "x-ms-examples": { - "Lists the registered edge modules.": { - "$ref": "examples/edge-modules-list.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/edgeModules/{edgeModuleName}": { - "get": { - "summary": "Retrieves an existing edge module resource.", - "description": "Retrieves a specific existing edge module resource in the given Video Analyzer account.", - "operationId": "EdgeModules_Get", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/EdgeModuleEntity" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "edgeModuleName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the edge module to retrieve." - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Gets edge module registration.": { - "$ref": "examples/edge-modules-get.json" - } - } - }, - "put": { - "summary": "Creates a new edge module or updates an existing one.", - "description": "Creates a new edge module or updates an existing one. An edge module resource enables a single instance of an Azure Video Analyzer IoT edge module to interact with the Video Analyzer Account. This is used for authorization and also to make sure that the particular edge module instance only has access to the data it requires from the Azure Video Analyzer service. A new edge module resource should be created for every new instance of an Azure Video Analyzer edge module deployed to you Azure IoT edge environment. Edge module resources can be deleted if the specific module is not in use anymore.", - "operationId": "EdgeModules_CreateOrUpdate", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/EdgeModuleEntity" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/EdgeModuleEntity" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "edgeModuleName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the edge module to create or update." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/EdgeModuleEntity" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Registers an edge module.": { - "$ref": "examples/edge-modules-create.json" - } - } - }, - "delete": { - "summary": "Deletes an existing edge module resource.", - "description": "Deletes an existing edge module resource. Deleting the edge module resource will prevent an Azure Video Analyzer IoT edge module which was previously initiated with the module provisioning token from communicating with the cloud.", - "operationId": "EdgeModules_Delete", - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "NoContent" - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "edgeModuleName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the edge module to be deleted." - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Deletes an edge module registration.": { - "$ref": "examples/edge-modules-delete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/edgeModules/{edgeModuleName}/listProvisioningToken": { - "post": { - "summary": "Creates a new provisioning token.", - "description": "Creates a new provisioning token. A provisioning token allows for a single instance of Azure Video analyzer IoT edge module to be initialized and authorized to the cloud account. The provisioning token itself is short lived and it is only used for the initial handshake between IoT edge module and the cloud. After the initial handshake, the IoT edge module will agree on a set of authentication keys which will be auto-rotated as long as the module is able to periodically connect to the cloud. A new provisioning token can be generated for the same IoT edge module in case the module state lost or reset.", - "operationId": "EdgeModules_ListProvisioningToken", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/EdgeModuleProvisioningToken" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "edgeModuleName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the edge module used to create a new provisioning token." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ListProvisioningTokenInput" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Generate the Provisioning token for an edge module registration.": { - "$ref": "examples/edge-modules-listProvisioningToken.json" - } - } - } - } - }, - "parameters": { - "AzureVideoAnalyzerAccountName": { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure Video Analyzer account name.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/VideoAnalyzers.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/VideoAnalyzers.json deleted file mode 100644 index 7855b5abc3ac..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/VideoAnalyzers.json +++ /dev/null @@ -1,1010 +0,0 @@ -{ - "schemes": [ - "https" - ], - "swagger": "2.0", - "info": { - "title": "Azure Video Analyzer", - "description": "Azure Video Analyzer resource provider API definition.", - "version": "2021-05-01-preview" - }, - "host": "management.azure.com", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "Impersonate your user account" - } - } - }, - "definitions": { - "OperationDisplay": { - "properties": { - "provider": { - "type": "string", - "description": "The service provider." - }, - "resource": { - "type": "string", - "description": "Resource on which the operation is performed." - }, - "operation": { - "type": "string", - "description": "The operation type." - }, - "description": { - "type": "string", - "description": "The operation description." - } - }, - "type": "object", - "description": "Operation details." - }, - "MetricDimension": { - "properties": { - "name": { - "type": "string", - "description": "The metric dimension name.", - "readOnly": true - }, - "displayName": { - "type": "string", - "description": "The display name for the dimension.", - "readOnly": true - }, - "toBeExportedForShoebox": { - "type": "boolean", - "description": "Whether to export metric to shoebox.", - "readOnly": true, - "x-nullable": false - } - }, - "type": "object", - "description": "A metric dimension." - }, - "MetricSpecification": { - "properties": { - "name": { - "type": "string", - "description": "The metric name.", - "readOnly": true - }, - "displayName": { - "type": "string", - "description": "The metric display name.", - "readOnly": true - }, - "displayDescription": { - "type": "string", - "description": "The metric display description.", - "readOnly": true - }, - "unit": { - "type": "string", - "enum": [ - "Bytes", - "Count", - "Milliseconds" - ], - "x-ms-enum": { - "name": "MetricUnit", - "values": [ - { - "value": "Bytes", - "description": "The number of bytes." - }, - { - "value": "Count", - "description": "The count." - }, - { - "value": "Milliseconds", - "description": "The number of milliseconds." - } - ], - "modelAsString": true - }, - "description": "The metric unit", - "readOnly": true, - "x-nullable": false - }, - "aggregationType": { - "type": "string", - "enum": [ - "Average", - "Count", - "Total" - ], - "x-ms-enum": { - "name": "MetricAggregationType", - "values": [ - { - "value": "Average", - "description": "The average." - }, - { - "value": "Count", - "description": "The count of a number of items, usually requests." - }, - { - "value": "Total", - "description": "The sum." - } - ], - "modelAsString": true - }, - "description": "The metric aggregation type", - "readOnly": true, - "x-nullable": false - }, - "lockAggregationType": { - "type": "string", - "enum": [ - "Average", - "Count", - "Total" - ], - "x-ms-enum": { - "name": "MetricAggregationType", - "values": [ - { - "value": "Average", - "description": "The average." - }, - { - "value": "Count", - "description": "The count of a number of items, usually requests." - }, - { - "value": "Total", - "description": "The sum." - } - ], - "modelAsString": true - }, - "description": "The metric lock aggregation type", - "readOnly": true, - "x-nullable": true - }, - "supportedAggregationTypes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Supported aggregation types." - }, - "dimensions": { - "type": "array", - "items": { - "$ref": "#/definitions/MetricDimension" - }, - "description": "The metric dimensions.", - "readOnly": true - }, - "enableRegionalMdmAccount": { - "type": "boolean", - "description": "Indicates whether regional MDM account is enabled.", - "readOnly": true, - "x-nullable": false - }, - "sourceMdmAccount": { - "type": "string", - "description": "The source MDM account.", - "readOnly": true - }, - "sourceMdmNamespace": { - "type": "string", - "description": "The source MDM namespace.", - "readOnly": true - }, - "supportedTimeGrainTypes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The supported time grain types.", - "readOnly": true - } - }, - "type": "object", - "description": "A metric emitted by service." - }, - "Properties": { - "properties": { - "serviceSpecification": { - "$ref": "#/definitions/ServiceSpecification", - "description": "The service specifications.", - "readOnly": true - } - }, - "type": "object", - "description": "Metric properties." - }, - "ServiceSpecification": { - "properties": { - "logSpecifications": { - "type": "array", - "items": { - "$ref": "#/definitions/LogSpecification" - }, - "description": "List of log specifications.", - "readOnly": true - }, - "metricSpecifications": { - "type": "array", - "items": { - "$ref": "#/definitions/MetricSpecification" - }, - "description": "List of metric specifications.", - "readOnly": true - } - }, - "type": "object", - "description": "The service metric specifications." - }, - "LogSpecification": { - "properties": { - "name": { - "type": "string", - "description": "The diagnostic log category name.", - "readOnly": true - }, - "displayName": { - "type": "string", - "description": "The diagnostic log category display name.", - "readOnly": true - }, - "blobDuration": { - "type": "string", - "description": "The time range for requests in each blob.", - "readOnly": true - } - }, - "type": "object", - "description": "A diagnostic log emitted by service." - }, - "Operation": { - "properties": { - "name": { - "type": "string", - "description": "The operation name." - }, - "display": { - "$ref": "#/definitions/OperationDisplay", - "description": "The operation display name." - }, - "origin": { - "type": "string", - "description": "Origin of the operation." - }, - "properties": { - "$ref": "#/definitions/Properties", - "description": "Operation properties format." - }, - "isDataAction": { - "type": "boolean", - "description": "Whether the operation applies to data-plane.", - "x-nullable": true - }, - "actionType": { - "type": "string", - "enum": [ - "Internal" - ], - "x-ms-enum": { - "name": "ActionType", - "values": [ - { - "value": "Internal", - "description": "An internal action." - } - ], - "modelAsString": true - }, - "description": "Indicates the action type.", - "x-nullable": true - } - }, - "type": "object", - "description": "An operation.", - "required": [ - "name" - ] - }, - "StorageAccount": { - "properties": { - "id": { - "type": "string", - "description": "The ID of the storage account resource. Video Analyzer relies on tables, queues, and blobs. The primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage)." - }, - "identity": { - "$ref": "#/definitions/ResourceIdentity", - "description": "A managed identity that Video Analyzer will use to access the storage account." - }, - "status": { - "type": "string", - "description": "The current status of the storage account mapping.", - "readOnly": true - } - }, - "type": "object", - "description": "The details about the associated storage account." - }, - "SyncStorageKeysInput": { - "properties": { - "id": { - "type": "string", - "description": "The ID of the storage account resource." - } - }, - "type": "object", - "description": "The input to the sync storage keys request." - }, - "VideoAnalyzerPropertiesUpdate": { - "properties": { - "storageAccounts": { - "type": "array", - "items": { - "$ref": "#/definitions/StorageAccount" - }, - "description": "The storage accounts for this resource." - }, - "endpoints": { - "type": "array", - "items": { - "$ref": "#/definitions/Endpoint" - }, - "description": "The list of endpoints associated with this resource.", - "readOnly": true - }, - "encryption": { - "$ref": "#/definitions/AccountEncryption", - "description": "The account encryption properties." - } - }, - "type": "object", - "description": "Properties of the Video Analyzer account." - }, - "VideoAnalyzerProperties": { - "allOf": [ - { - "$ref": "#/definitions/VideoAnalyzerPropertiesUpdate" - } - ], - "required": [ - "encryption", - "storageAccounts" - ] - }, - "VideoAnalyzer": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/VideoAnalyzerProperties", - "description": "The properties of the Video Analyzer account.", - "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "The system data of the Video Analyzer account.", - "readOnly": true - }, - "identity": { - "$ref": "#/definitions/VideoAnalyzerIdentity", - "description": "The set of managed identities associated with the Video Analyzer resource." - } - }, - "type": "object", - "description": "A Video Analyzer account." - }, - "VideoAnalyzerUpdate": { - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Resource tags." - }, - "properties": { - "$ref": "#/definitions/VideoAnalyzerPropertiesUpdate", - "description": "The resource properties.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/VideoAnalyzerIdentity", - "description": "The identities associated to the Video Analyzer resource." - } - }, - "type": "object", - "description": "The update operation for a Video Analyzer account." - }, - "Endpoint": { - "properties": { - "endpointUrl": { - "type": "string", - "description": "The URL of the endpoint." - }, - "type": { - "type": "string", - "description": "The type of the endpoint.", - "enum": [ - "ClientApi" - ], - "x-ms-enum": { - "name": "VideoAnalyzerEndpointType", - "values": [ - { - "value": "ClientApi", - "description": "The client API endpoint." - } - ], - "modelAsString": true - } - } - }, - "type": "object", - "required": [ - "type" - ], - "description": "The endpoint details." - }, - "UserAssignedManagedIdentity": { - "properties": { - "clientId": { - "type": "string", - "description": "The client ID.", - "readOnly": true - }, - "principalId": { - "type": "string", - "description": "The principal ID.", - "readOnly": true - } - }, - "type": "object", - "description": "The details of the user assigned managed identity used by the Video Analyzer resource." - }, - "UserAssignedManagedIdentities": { - "type": "object", - "description": "The User Assigned Managed Identities.", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedManagedIdentity" - } - }, - "VideoAnalyzerIdentity": { - "properties": { - "type": { - "type": "string", - "description": "The identity type." - }, - "userAssignedIdentities": { - "$ref": "#/definitions/UserAssignedManagedIdentities", - "description": "The User Assigned Managed Identities." - } - }, - "type": "object", - "required": [ - "type" - ], - "description": "The managed identity for the Video Analyzer resource." - }, - "ResourceIdentity": { - "properties": { - "userAssignedIdentity": { - "type": "string", - "description": "The user assigned managed identity's resource identifier to use when accessing a resource." - } - }, - "type": "object", - "description": "The user assigned managed identity to use when accessing a resource.", - "required": [ - "userAssignedIdentity" - ] - }, - "KeyVaultProperties": { - "properties": { - "keyIdentifier": { - "type": "string", - "description": "The URL of the Key Vault key used to encrypt the account. The key may either be versioned (for example https://vault/keys/mykey/version1) or reference a key without a version (for example https://vault/keys/mykey)." - }, - "currentKeyIdentifier": { - "type": "string", - "description": "The current key used to encrypt Video Analyzer account, including the key version.", - "readOnly": true - } - }, - "type": "object", - "description": "The details for accessing the encryption keys in Key Vault.", - "required": [ - "keyIdentifier" - ] - }, - "AccountEncryption": { - "properties": { - "type": { - "type": "string", - "enum": [ - "SystemKey", - "CustomerKey" - ], - "x-ms-enum": { - "name": "AccountEncryptionKeyType", - "values": [ - { - "value": "SystemKey", - "description": "The Account Key is encrypted with a System Key." - }, - { - "value": "CustomerKey", - "description": "The Account Key is encrypted with a Customer Key." - } - ], - "modelAsString": true - }, - "description": "The type of key used to encrypt the Account Key." - }, - "keyVaultProperties": { - "$ref": "#/definitions/KeyVaultProperties", - "description": "The properties of the key used to encrypt the account." - }, - "identity": { - "$ref": "#/definitions/ResourceIdentity", - "description": "The Key Vault identity." - }, - "status": { - "type": "string", - "description": "The current status of the Key Vault mapping.", - "readOnly": true - } - }, - "type": "object", - "description": "Defines how the Video Analyzer account is (optionally) encrypted.", - "required": [ - "type" - ] - }, - "OperationCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "description": "A collection of Operation items." - } - }, - "type": "object", - "description": "A collection of Operation items." - }, - "VideoAnalyzerCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/VideoAnalyzer" - }, - "description": "A collection of VideoAnalyzer items." - } - }, - "type": "object", - "description": "A collection of VideoAnalyzer items." - } - }, - "paths": { - "/providers/Microsoft.Media/operations": { - "get": { - "summary": "List Operations", - "description": "Lists all the Media operations.", - "operationId": "Operations_List", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/OperationCollection" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "List Operations": { - "$ref": "examples/operations-list-all.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers": { - "get": { - "summary": "List Video Analyzer accounts", - "description": "Lists the Video Analyzer accounts in the specified resource group.", - "operationId": "VideoAnalyzers_List", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VideoAnalyzerCollection" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "List all Video Analyzer accounts": { - "$ref": "examples/video-analyzer-accounts-list-all-accounts.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}": { - "get": { - "summary": "Get a Video Analyzer account", - "description": "Get the details of the specified Video Analyzer account", - "operationId": "VideoAnalyzers_Get", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VideoAnalyzer" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The Video Analyzer account name." - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Get a Video Analyzer account by name": { - "$ref": "examples/video-analyzer-accounts-get-by-name.json" - } - } - }, - "put": { - "summary": "Create or update a Video Analyzer account", - "description": "Create or update an instance of a Video Analyzer account", - "operationId": "VideoAnalyzers_CreateOrUpdate", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VideoAnalyzer" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/VideoAnalyzer" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The Video Analyzer account name." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/VideoAnalyzer" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Create a Video Analyzer account": { - "$ref": "examples/video-analyzer-accounts-create-or-update.json" - } - } - }, - "delete": { - "summary": "Delete a Video Analyzer account.", - "description": "Delete the specified Video Analyzer account", - "operationId": "VideoAnalyzers_Delete", - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "NoContent" - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The Video Analyzer account name." - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Delete a Video Analyzer account": { - "$ref": "examples/video-analyzer-accounts-delete.json" - } - } - }, - "patch": { - "summary": "Update a Video Analyzer account", - "description": "Updates an existing instance of Video Analyzer account", - "operationId": "VideoAnalyzers_Update", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VideoAnalyzer" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The Video Analyzer account name." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/VideoAnalyzerUpdate" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Update a Video Analyzer accounts": { - "$ref": "examples/video-analyzer-accounts-update.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/syncStorageKeys": { - "post": { - "summary": "Synchronizes Storage Account Keys", - "description": "Synchronizes storage account keys for a storage account associated with the Video Analyzer account.", - "operationId": "VideoAnalyzers_SyncStorageKeys", - "responses": { - "200": { - "description": "OK" - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The Video Analyzer account name." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/SyncStorageKeysInput" - }, - "description": "The request parameters." - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Synchronizes Storage Account Keys": { - "$ref": "examples/video-analyzer-accounts-sync-storage-keys.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Media/locations/{locationName}/checkNameAvailability": { - "post": { - "summary": "Check Name Availability", - "description": "Checks whether the Video Analyzer resource name is available.", - "operationId": "Locations_CheckNameAvailability", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/CheckNameAvailabilityResponse" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "locationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the location." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/CheckNameAvailabilityRequest" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Check Name Availability": { - "$ref": "examples/accounts-check-name-availability.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Media/videoAnalyzers": { - "get": { - "summary": "List Video Analyzer accounts", - "description": "Lists the Video Analyzer accounts in the specific subscription.", - "operationId": "VideoAnalyzers_ListBySubscription", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VideoAnalyzerCollection" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "List all Video Analyzer accounts by subscription": { - "$ref": "examples/video-analyzer-accounts-subscription-list-all-accounts.json" - } - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/Videos.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/Videos.json deleted file mode 100644 index e5b6a6039ddd..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/Videos.json +++ /dev/null @@ -1,1013 +0,0 @@ -{ - "schemes": [ - "https" - ], - "swagger": "2.0", - "info": { - "title": "Azure Video Analyzer", - "description": "Azure Video Analyzer resource provider API definition.", - "version": "2021-05-01-preview" - }, - "host": "management.azure.com", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "Impersonate your user account" - } - } - }, - "definitions": { - "VideoStreaming": { - "properties": { - "archiveBaseUrl": { - "type": "string", - "description": "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:\r\n\r\n - HLSv4: /manifest(format=m3u8-aapl).m3u8\r\n - HLS CMAF: /manifest(format=m3u8-cmaf)\r\n - DASH CMAF: /manifest(format=mpd-time-cmaf)\r\n\r\nMoreover, an ongoing video recording can be played in \"live mode\" with latencies which are approximately double of the chosen video segment length." - } - }, - "type": "object", - "description": "Video streaming holds information about video streaming URLs." - }, - "VideoFlags": { - "properties": { - "canStream": { - "type": "boolean", - "description": "Value indicating whether or not the video can be streamed. Only \"archive\" type videos can be streamed." - }, - "hasData": { - "type": "boolean", - "description": "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." - }, - "isRecording": { - "type": "boolean", - "description": "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." - } - }, - "type": "object", - "required": [ - "canStream", - "hasData", - "isRecording" - ], - "description": "Video flags contain information about the available video actions and its dynamic properties based on the current video state." - }, - "VideoMediaInfo": { - "properties": { - "segmentLength": { - "type": "string", - "description": "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.", - "readOnly": true - } - }, - "type": "object", - "description": "Contains information about the video and audio content." - }, - "VideoStreamingToken": { - "properties": { - "expirationDate": { - "type": "string", - "format": "date-time", - "description": "The streaming token expiration date in ISO8601 format (eg. 2021-01-01T00:00:00Z).", - "readOnly": true, - "x-nullable": false - }, - "token": { - "type": "string", - "description": "The streaming token value to be added to the video streaming URL as the value for a \"token\" query string parameter. The token is specific to a single video.", - "readOnly": true - } - }, - "type": "object", - "description": "Video streaming token grants access to the video streaming URLs which can be used by an compatible HLS or DASH player." - }, - "VideoProperties": { - "properties": { - "title": { - "type": "string", - "description": "Optional video title provided by the user. Value can be up to 256 characters long." - }, - "description": { - "type": "string", - "description": "Optional video description provided by the user. Value can be up to 2048 characters long." - }, - "type": { - "type": "string", - "enum": [ - "Archive" - ], - "x-ms-enum": { - "name": "VideoType", - "values": [ - { - "value": "Archive", - "description": "Archive is flexible format that represents a video stream associated with wall-clock time. The video archive can either be continuous or discontinuous. An archive is discontinuous when there are gaps in the recording due to various reasons, such as the live pipeline being stopped, camera being disconnected or due to the use of event based recordings through the use of a signal gate. Finally, there is no limit to the archive duration and new video data can be appended to the existing archive at any time, as long as the same video codec and codec parameters are being used." - } - ], - "modelAsString": true - }, - "description": "Type of the video archive. Different archive formats provide different capabilities.", - "readOnly": true, - "x-nullable": false - }, - "flags": { - "$ref": "#/definitions/VideoFlags", - "description": "Video flags contain information about the available video actions and its dynamic properties based on the current video state.", - "readOnly": true - }, - "streaming": { - "$ref": "#/definitions/VideoStreaming", - "description": "Video streaming holds information about video streaming URLs.", - "readOnly": true - }, - "mediaInfo": { - "$ref": "#/definitions/VideoMediaInfo", - "description": "Contains information about the video and audio content.", - "readOnly": true - } - }, - "type": "object", - "description": "Application level properties for the video resource." - }, - "AuthenticationBase": { - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "The discriminator for derived types." - } - }, - "type": "object", - "required": [ - "@type" - ], - "description": "Base class for access policies authentication methods." - }, - "TokenClaim": { - "properties": { - "name": { - "type": "string", - "description": "Name of the claim which must be present on the token." - }, - "value": { - "type": "string", - "description": "Expected value of the claim to be present on the token." - } - }, - "type": "object", - "required": [ - "name", - "value" - ], - "description": "Properties for expected token claims." - }, - "JwtAuthentication": { - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.JwtAuthentication", - "allOf": [ - { - "$ref": "#/definitions/AuthenticationBase" - } - ], - "properties": { - "issuers": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of expected token issuers. Token issuer is valid if it matches at least one of the given values." - }, - "audiences": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of expected token audiences. Token audience is valid if it matches at least one of the given values." - }, - "claims": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenClaim" - }, - "description": "List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid." - }, - "keys": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenKey" - }, - "description": "List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key." - } - }, - "type": "object", - "description": "Properties for access validation based on JSON Web Tokens (JWT)." - }, - "TokenKey": { - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "The discriminator for derived types." - }, - "kid": { - "type": "string", - "description": "JWT token key id. Validation keys are looked up based on the key id present on the JWT token header." - } - }, - "type": "object", - "required": [ - "@type", - "kid" - ], - "description": "Key properties for JWT token validation." - }, - "RsaTokenKey": { - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.RsaTokenKey", - "allOf": [ - { - "$ref": "#/definitions/TokenKey" - } - ], - "properties": { - "alg": { - "type": "string", - "enum": [ - "RS256", - "RS384", - "RS512" - ], - "x-ms-enum": { - "name": "AccessPolicyRsaAlgo", - "values": [ - { - "value": "RS256", - "description": "RS256" - }, - { - "value": "RS384", - "description": "RS384" - }, - { - "value": "RS512", - "description": "RS512" - } - ], - "modelAsString": true - }, - "description": "RSA algorithm to be used: RS256, RS384 or RS512." - }, - "n": { - "type": "string", - "description": "RSA public key modulus." - }, - "e": { - "type": "string", - "description": "RSA public key exponent." - } - }, - "type": "object", - "required": [ - "alg", - "n", - "e" - ], - "description": "Required validation properties for tokens generated with RSA algorithm." - }, - "EccTokenKey": { - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.EccTokenKey", - "allOf": [ - { - "$ref": "#/definitions/TokenKey" - } - ], - "properties": { - "alg": { - "type": "string", - "enum": [ - "ES256", - "ES384", - "ES512" - ], - "x-ms-enum": { - "name": "AccessPolicyEccAlgo", - "values": [ - { - "value": "ES256", - "description": "ES265" - }, - { - "value": "ES384", - "description": "ES384" - }, - { - "value": "ES512", - "description": "ES512" - } - ], - "modelAsString": true - }, - "description": "Elliptical curve algorithm to be used: ES256, ES384 or ES512." - }, - "x": { - "type": "string", - "description": "X coordinate." - }, - "y": { - "type": "string", - "description": "Y coordinate." - } - }, - "type": "object", - "required": [ - "alg", - "x", - "y" - ], - "description": "Required validation properties for tokens generated with Elliptical Curve algorithm." - }, - "AccessPolicyProperties": { - "properties": { - "role": { - "type": "string", - "enum": [ - "Reader" - ], - "x-ms-enum": { - "name": "AccessPolicyRole", - "values": [ - { - "value": "Reader", - "description": "Reader role allows for read-only operations to be performed through the client APIs." - } - ], - "modelAsString": true - }, - "description": "Defines the access level granted by this policy.", - "x-nullable": true - }, - "authentication": { - "$ref": "#/definitions/AuthenticationBase", - "description": "Authentication method to be used when validating client API access." - } - }, - "type": "object", - "description": "Application level properties for the access policy resource." - }, - "VideoEntity": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/VideoProperties", - "description": "The resource properties.", - "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData", - "description": "The system metadata relating to this resource.", - "readOnly": true - } - }, - "type": "object", - "description": "The representation of a single video in a Video Analyzer account." - }, - "AccessPolicyEntity": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/AccessPolicyProperties", - "description": "The resource properties.", - "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData", - "description": "The system metadata relating to this resource.", - "readOnly": true - } - }, - "type": "object", - "description": "Policy that determines how a video can be accessed." - }, - "VideoEntityCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/VideoEntity" - }, - "description": "A collection of VideoEntity items." - }, - "@nextLink": { - "type": "string", - "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)." - } - }, - "type": "object", - "description": "A collection of VideoEntity items." - }, - "AccessPolicyEntityCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/AccessPolicyEntity" - }, - "description": "A collection of AccessPolicyEntity items." - }, - "@nextLink": { - "type": "string", - "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)." - } - }, - "type": "object", - "description": "A collection of AccessPolicyEntity items." - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/videos": { - "get": { - "summary": "List all existing video resources.", - "description": "List all existing video resources in the specified account.", - "operationId": "Videos_List", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VideoEntityCollection" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n." - } - ], - "x-ms-pageable": { - "nextLinkName": "@nextLink" - }, - "x-ms-examples": { - "Lists video entities.": { - "$ref": "examples/video-list.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/videos/{videoName}": { - "get": { - "summary": "Retrieves a video resource.", - "description": "Retrieves an existing video resource within an account with a given name.", - "operationId": "Videos_Get", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VideoEntity" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "videoName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the video to retrieve." - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Gets a video entity.": { - "$ref": "examples/video-get.json" - } - } - }, - "put": { - "summary": "Create or updates a video resource.", - "description": "Creates a new video resource or updates an existing one in an account.", - "operationId": "Videos_CreateOrUpdate", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VideoEntity" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/VideoEntity" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "videoName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the video to create or update." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/VideoEntity" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Register video entity.": { - "$ref": "examples/video-create.json" - } - } - }, - "delete": { - "summary": "Deletes a video resource.", - "description": "Deletes an existing video resource and its underlying data. This operation is irreversible.", - "operationId": "Videos_Delete", - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "NoContent" - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "videoName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the video to delete." - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Deletes a video entity.": { - "$ref": "examples/video-delete.json" - } - } - }, - "patch": { - "summary": "Updates the properties of a video resource.", - "description": "Updates individual properties of an existing video resource.", - "operationId": "Videos_Update", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VideoEntity" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "videoName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the video to update." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/VideoEntity" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Update video entity.": { - "$ref": "examples/video-patch.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/videos/{videoName}/listStreamingToken": { - "post": { - "summary": "Generates a streaming token for video playback.", - "description": "Generates a streaming token used for authenticating video playback.", - "operationId": "Videos_ListStreamingToken", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VideoStreamingToken" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "videoName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the video to generate a token for playback." - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Generate a streaming token for media endpoint authorization.": { - "$ref": "examples/video-listStreamingToken.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/accessPolicies": { - "get": { - "summary": "List access policy resources.", - "description": "List all existing access policy resources for the specified account.", - "operationId": "AccessPolicies_List", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AccessPolicyEntityCollection" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n." - } - ], - "x-ms-pageable": { - "nextLinkName": "@nextLink" - }, - "x-ms-examples": { - "Lists access policy entities.": { - "$ref": "examples/access-policy-list.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/accessPolicies/{accessPolicyName}": { - "get": { - "summary": "Retrieves an access policy resource.", - "description": "Retrieves an existing access policy resource from an account by name.", - "operationId": "AccessPolicies_Get", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AccessPolicyEntity" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "accessPolicyName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the access policy to retrieve." - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Gets an access policy entity.": { - "$ref": "examples/access-policy-get.json" - } - } - }, - "put": { - "summary": "Creates or updates an access policy.", - "description": "Creates a new access policy resource or updates an existing one.", - "operationId": "AccessPolicies_CreateOrUpdate", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AccessPolicyEntity" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/AccessPolicyEntity" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "accessPolicyName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the access policy to create or update." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/AccessPolicyEntity" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Register access policy entity.": { - "$ref": "examples/access-policy-create.json" - } - } - }, - "delete": { - "summary": "Deletes an access policy.", - "description": "Deletes an existing access policy resource.", - "operationId": "AccessPolicies_Delete", - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "NoContent" - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "accessPolicyName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the access policy to delete." - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Deletes an access policy entity.": { - "$ref": "examples/access-policy-delete.json" - } - } - }, - "patch": { - "summary": "Updates an existing access policy.", - "description": "Updates individual properties of an existing access policy resource.", - "operationId": "AccessPolicies_Update", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AccessPolicyEntity" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "accessPolicyName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the access policy to update." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/AccessPolicyEntity" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Update access policy entity.": { - "$ref": "examples/access-policy-patch.json" - } - } - } - } - }, - "parameters": { - "AzureVideoAnalyzerAccountName": { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure Video Analyzer account name.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/access-policy-create.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/access-policy-create.json deleted file mode 100644 index cd966deaa343..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/access-policy-create.json +++ /dev/null @@ -1,146 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "accessPolicyName": "accessPolicyName1", - "api-version": "2021-05-01-preview", - "parameters": { - "properties": { - "role": "Reader", - "authentication": { - "@type": "#Microsoft.VideoAnalyzer.JwtAuthentication", - "issuers": [ - "issuer1", - "issuer2" - ], - "audiences": [ - "audience1" - ], - "claims": [ - { - "name": "claimname1", - "value": "claimvalue1" - }, - { - "name": "claimname2", - "value": "claimvalue2" - } - ], - "keys": [ - { - "@type": "#Microsoft.VideoAnalyzer.RsaTokenKey", - "alg": "RS256", - "kid": "123", - "n": "YmFzZTY0IQ==", - "e": "ZLFzZTY0IQ==" - }, - { - "@type": "#Microsoft.VideoAnalyzer.EccTokenKey", - "alg": "ES256", - "kid": "124", - "x": "XX==", - "y": "YY==" - } - ] - } - } - } - }, - "responses": { - "200": { - "body": { - "name": "accessPolicyName1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/accesspolicies/accessPolicyName1", - "type": "Microsoft.Media/videoAnalyzers/accesspolicies", - "properties": { - "role": "Reader", - "authentication": { - "@type": "#Microsoft.VideoAnalyzer.JwtAuthentication", - "issuers": [ - "issuer1", - "issuer2" - ], - "audiences": [ - "audience" - ], - "claims": [ - { - "name": "claimname1", - "value": "claimvalue1" - }, - { - "name": "claimname2", - "value": "claimvalue2" - } - ], - "keys": [ - { - "@type": "#Microsoft.VideoAnalyzer.RsaTokenKey", - "alg": "RS256", - "kid": "123", - "n": "YmFzZTY0IQ==", - "e": "ZLFzZTY0IQ==" - }, - { - "@type": "#Microsoft.VideoAnalyzer.EccTokenKey", - "alg": "ES256", - "kid": "124", - "x": "XX==", - "y": "YY==" - } - ] - } - }, - "systemData": {} - } - }, - "201": { - "body": { - "name": "accessPolicyName1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/accesspolicies/accessPolicyName1", - "type": "Microsoft.Media/videoAnalyzers/accesspolicies", - "properties": { - "role": "Reader", - "authentication": { - "@type": "#Microsoft.VideoAnalyzer.JwtAuthentication", - "issuers": [ - "issuer1", - "issuer2" - ], - "audiences": [ - "audience" - ], - "claims": [ - { - "name": "claimname1", - "value": "claimvalue1" - }, - { - "name": "claimname2", - "value": "claimvalue2" - } - ], - "keys": [ - { - "@type": "#Microsoft.VideoAnalyzer.RsaTokenKey", - "kid": "123", - "alg": "RS256", - "n": "YmFzZTY0IQ==", - "e": "ZLFzZTY0IQ==" - }, - { - "@type": "#Microsoft.VideoAnalyzer.EccTokenKey", - "kid": "124", - "alg": "ES256", - "x": "XX==", - "y": "YY==" - } - ] - } - }, - "systemData": {} - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/access-policy-delete.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/access-policy-delete.json deleted file mode 100644 index 8d1be155a12d..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/access-policy-delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "accessPolicyName": "accessPolicyName1", - "api-version": "2021-05-01-preview" - }, - "responses": { - "204": {}, - "200": {} - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/access-policy-get.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/access-policy-get.json deleted file mode 100644 index cbf61468b5e5..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/access-policy-get.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "accessPolicyName": "accessPolicyName1", - "api-version": "2021-05-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "accessPolicyName1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/accesspolicies/accessPolicyName1", - "type": "Microsoft.Media/videoAnalyzers/accesspolicies", - "properties": { - "role": "Reader", - "authentication": { - "@type": "#Microsoft.VideoAnalyzer.JwtAuthentication", - "issuers": [ - "issuer1", - "issuer2" - ], - "audiences": [ - "audience" - ], - "claims": [ - { - "name": "claimname1", - "value": "claimvalue1" - }, - { - "name": "claimname2", - "value": "claimvalue2" - } - ], - "keys": [ - { - "@type": "#Microsoft.VideoAnalyzer.RsaTokenKey", - "kid": "123", - "alg": "RS256", - "n": "YmFzZTY0IQ==", - "e": "ZLFzZTY0IQ==" - }, - { - "@type": "#Microsoft.VideoAnalyzer.EccTokenKey", - "kid": "124", - "alg": "ES256", - "x": "XX==", - "y": "YY==" - } - ] - } - }, - "systemData": {} - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/access-policy-list.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/access-policy-list.json deleted file mode 100644 index 14209f66f313..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/access-policy-list.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "api-version": "2021-05-01-preview", - "$top": "2" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "accessPolicyName1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/accesspolicies/accessPolicyName1", - "type": "Microsoft.Media/videoAnalyzers/accesspolicies", - "properties": { - "role": "Reader", - "authentication": { - "@type": "#Microsoft.VideoAnalyzer.JwtAuthentication", - "issuers": [ - "issuer1", - "issuer2" - ], - "audiences": [ - "audience" - ], - "claims": [ - { - "name": "claimname1", - "value": "claimvalue1" - }, - { - "name": "claimname2", - "value": "claimvalue2" - } - ], - "keys": [ - { - "@type": "#Microsoft.VideoAnalyzer.RsaTokenKey", - "kid": "123", - "alg": "RS256", - "n": "YmFzZTY0IQ==", - "e": "ZLFzZTY0IQ==" - }, - { - "@type": "#Microsoft.VideoAnalyzer.EccTokenKey", - "kid": "124", - "alg": "ES256", - "x": "XX==", - "y": "YY==" - } - ] - } - }, - "systemData": {} - }, - { - "name": "accessPolicyName2", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/accesspolicies/accessPolicyName2", - "type": "Microsoft.Media/videoAnalyzers/accesspolicies", - "properties": { - "role": "Reader", - "authentication": { - "@type": "#Microsoft.VideoAnalyzer.JwtAuthentication", - "issuers": [ - "issuer1", - "issuer2" - ], - "audiences": [ - "audience" - ], - "claims": [ - { - "name": "claimname1", - "value": "claimvalue1" - }, - { - "name": "claimname2", - "value": "claimvalue2" - } - ], - "keys": [ - { - "@type": "#Microsoft.VideoAnalyzer.RsaTokenKey", - "kid": "123", - "alg": "RS256", - "n": "YmFzZTY0IQ==", - "e": "ZLFzZTY0IQ==" - }, - { - "@type": "#Microsoft.VideoAnalyzer.EccTokenKey", - "kid": "124", - "alg": "ES256", - "x": "XX==", - "y": "YY==" - } - ] - } - }, - "systemData": {} - } - ] - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/access-policy-patch.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/access-policy-patch.json deleted file mode 100644 index 2548862b7323..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/access-policy-patch.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "accessPolicyName": "accessPolicyName1", - "api-version": "2021-05-01-preview", - "parameters": { - "properties": { - "authentication": { - "@type": "#Microsoft.VideoAnalyzer.JwtAuthentication", - "keys": [ - { - "@type": "#Microsoft.VideoAnalyzer.RsaTokenKey", - "alg": "RS256", - "kid": "123", - "n": "YmFzZTY0IQ==", - "e": "ZLFzZTY0IQ==" - }, - { - "@type": "#Microsoft.VideoAnalyzer.EccTokenKey", - "alg": "Updated", - "kid": "124", - "x": "XX==", - "y": "YY==" - } - ] - } - } - } - }, - "responses": { - "200": { - "body": { - "name": "accessPolicyName1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/accesspolicies/accessPolicyName1", - "type": "Microsoft.Media/videoAnalyzers/accesspolicies", - "properties": { - "role": "Reader", - "authentication": { - "@type": "#Microsoft.VideoAnalyzer.JwtAuthentication", - "issuers": [ - "issuer1", - "issuer2" - ], - "audiences": [ - "audience" - ], - "claims": [ - { - "name": "claimname1", - "value": "claimvalue1" - }, - { - "name": "claimname2", - "value": "claimvalue2" - } - ], - "keys": [ - { - "@type": "#Microsoft.VideoAnalyzer.RsaTokenKey", - "kid": "123", - "alg": "RS256", - "n": "YmFzZTY0IQ==", - "e": "ZLFzZTY0IQ==" - }, - { - "@type": "#Microsoft.VideoAnalyzer.EccTokenKey", - "kid": "124", - "alg": "ES256", - "x": "XX==", - "y": "YY==" - } - ] - } - }, - "systemData": {} - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/accounts-check-name-availability.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/accounts-check-name-availability.json deleted file mode 100644 index b29ea80bb353..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/accounts-check-name-availability.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "locationName": "japanwest", - "api-version": "2021-05-01-preview", - "parameters": { - "name": "contosotv", - "type": "videoAnalyzers" - } - }, - "responses": { - "200": { - "body": { - "nameAvailable": true, - "reason": "None", - "message": "" - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/edge-modules-create.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/edge-modules-create.json deleted file mode 100644 index 51bc32b79558..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/edge-modules-create.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "edgeModuleName": "edgeModule1", - "api-version": "2021-05-01-preview", - "parameters": {} - }, - "responses": { - "201": { - "body": { - "name": "edgeModule1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/edgeModules/edgeModule1", - "type": "Microsoft.Media/videoAnalyzers/edgeModules", - "properties": { - "edgeModuleId": "00000000-0000-0000-0000-000000000000" - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - }, - "200": { - "body": { - "name": "edgeModule1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/edgeModules/edgeModule1", - "type": "Microsoft.Media/videoAnalyzers/edgeModules", - "properties": { - "edgeModuleId": "00000000-0000-0000-0000-000000000000" - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/edge-modules-delete.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/edge-modules-delete.json deleted file mode 100644 index 966171c7887e..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/edge-modules-delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "edgeModuleName": "edgeModule1", - "api-version": "2021-05-01-preview" - }, - "responses": { - "204": {}, - "200": {} - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/edge-modules-get.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/edge-modules-get.json deleted file mode 100644 index cc8c70490401..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/edge-modules-get.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "edgeModuleName": "edgeModule1", - "api-version": "2021-05-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "edgeModule1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/edgeModules/edgeModule1", - "type": "Microsoft.Media/videoAnalyzers/edgeModules", - "properties": { - "edgeModuleId": "00000000-0000-0000-0000-000000000000" - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/edge-modules-list.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/edge-modules-list.json deleted file mode 100644 index 5498003d345b..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/edge-modules-list.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "api-version": "2021-05-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "edgeModule1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/edgeModules/edgeModule1", - "type": "Microsoft.Media/videoAnalyzers/edgeModules", - "properties": { - "edgeModuleId": "00000000-0000-0000-0000-000000000000" - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - }, - { - "name": "edgeModule2", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/edgeModules/edgeModule2", - "type": "Microsoft.Media/videoAnalyzers/edgeModules", - "properties": { - "edgeModuleId": "00000000-0000-0000-0000-000000000000" - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - ] - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/edge-modules-listProvisioningToken.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/edge-modules-listProvisioningToken.json deleted file mode 100644 index 40e6edc58e74..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/edge-modules-listProvisioningToken.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "edgeModuleName": "edgeModule1", - "api-version": "2021-05-01-preview", - "parameters": { - "expirationDate": "3021-01-23T11:04:49.0526841-08:00" - } - }, - "responses": { - "200": { - "body": { - "expirationDate": "3021-01-23T19:04:49.0526841+00:00", - "token": "testtoken" - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/operations-list-all.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/operations-list-all.json deleted file mode 100644 index 33baf18c9c17..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/operations-list-all.json +++ /dev/null @@ -1,1269 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "api-version": "2021-05-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.Media/register/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Microsoft Media Services", - "operation": "Registers the Media Services Resource Provider", - "description": "Registers the subscription for the Media Services resource provider and enables the creation of Media Services accounts" - } - }, - { - "name": "Microsoft.Media/unregister/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Microsoft Media Services", - "operation": "Unregisters the Media Services Resource Provider", - "description": "Unregisters the subscription for the Media Services resource provider" - } - }, - { - "name": "Microsoft.Media/checknameavailability/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Microsoft Media Services", - "operation": "Check Name Availability", - "description": "Checks if a Media Services account name is available" - } - }, - { - "name": "Microsoft.Media/operations/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Available Operations", - "operation": "Get Available Operations", - "description": "Get Available Operations" - } - }, - { - "name": "Microsoft.Media/mediaservices/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Services Account", - "operation": "Read Media Services Account", - "description": "Read any Media Services Account" - } - }, - { - "name": "Microsoft.Media/mediaservices/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Services Account", - "operation": "Create or Update Media Services Account", - "description": "Create or Update any Media Services Account" - } - }, - { - "name": "Microsoft.Media/mediaservices/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Services Account", - "operation": "Delete Media Services Account", - "description": "Delete any Media Services Account" - } - }, - { - "name": "Microsoft.Media/mediaservices/regenerateKey/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Services Account", - "operation": "Regenerate Key", - "description": "Regenerate a Media Services ACS key" - } - }, - { - "name": "Microsoft.Media/mediaservices/listKeys/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Services Account", - "operation": "List Keys", - "description": "List the ACS keys for the Media Services account" - } - }, - { - "name": "Microsoft.Media/mediaservices/syncStorageKeys/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Services Account", - "operation": "Synchronize Storage Keys", - "description": "Synchronize the Storage Keys for an attached Azure Storage account" - } - }, - { - "name": "Microsoft.Media/mediaservices/listEdgePolicies/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Services Account", - "operation": "List policies for an edge device.", - "description": "List policies for an edge device." - } - }, - { - "name": "Microsoft.Media/mediaservices/PrivateEndpointConnectionsApproval/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Services Account", - "operation": "Approve Private Endpoint Connections", - "description": "Approve Private Endpoint Connections" - } - }, - { - "name": "Microsoft.Media/mediaservices/eventGridFilters/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Event Grid Filter", - "operation": "Read Event Grid Filter", - "description": "Read any Event Grid Filter" - } - }, - { - "name": "Microsoft.Media/mediaservices/eventGridFilters/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Event Grid Filter", - "operation": "Create or Update Event Grid Filter", - "description": "Create or Update any Event Grid Filter" - } - }, - { - "name": "Microsoft.Media/mediaservices/eventGridFilters/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Event Grid Filter", - "operation": "Delete Event Grid Filter", - "description": "Delete any Event Grid Filter" - } - }, - { - "name": "Microsoft.Media/mediaservices/accountfilters/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Account Filter", - "operation": "Read Account Filter", - "description": "Read any Account Filter" - } - }, - { - "name": "Microsoft.Media/mediaservices/accountfilters/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Account Filter", - "operation": "Create or Update Account Filter", - "description": "Create or Update any Account Filter" - } - }, - { - "name": "Microsoft.Media/mediaservices/accountfilters/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Account Filter", - "operation": "Delete Account Filter", - "description": "Delete any Account Filter" - } - }, - { - "name": "Microsoft.Media/mediaservices/assets/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Asset", - "operation": "Read Asset", - "description": "Read any Asset" - } - }, - { - "name": "Microsoft.Media/mediaservices/assets/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Asset", - "operation": "Create or Update Asset", - "description": "Create or Update any Asset" - } - }, - { - "name": "Microsoft.Media/mediaservices/assets/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Asset", - "operation": "Delete Asset", - "description": "Delete any Asset" - } - }, - { - "name": "Microsoft.Media/mediaservices/assets/listContainerSas/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Asset", - "operation": "List Asset Container SAS URLs", - "description": "List Asset Container SAS URLs" - } - }, - { - "name": "Microsoft.Media/mediaservices/assets/getEncryptionKey/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Asset", - "operation": "Get Asset Encryption Key", - "description": "Get Asset Encryption Key" - } - }, - { - "name": "Microsoft.Media/mediaservices/assets/listStreamingLocators/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Asset", - "operation": "List Streaming Locators for Asset", - "description": "List Streaming Locators for Asset" - } - }, - { - "name": "Microsoft.Media/mediaservices/assets/assetfilters/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Asset Filter", - "operation": "Read Asset Filter", - "description": "Read any Asset Filter" - } - }, - { - "name": "Microsoft.Media/mediaservices/assets/assetfilters/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Asset Filter", - "operation": "Create or Update Asset Filter", - "description": "Create or Update any Asset Filter" - } - }, - { - "name": "Microsoft.Media/mediaservices/assets/assetfilters/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Asset Filter", - "operation": "Delete Asset Filter", - "description": "Delete any Asset Filter" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingPolicies/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Policy", - "operation": "Read Streaming Policy", - "description": "Read any Streaming Policy" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingPolicies/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Policy", - "operation": "Create or Update Streaming Policy", - "description": "Create or Update any Streaming Policy" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingPolicies/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Policy", - "operation": "Delete Streaming Policy", - "description": "Delete any Streaming Policy" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingLocators/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Locator", - "operation": "Read Streaming Locator", - "description": "Read any Streaming Locator" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingLocators/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Locator", - "operation": "Create or Update Streaming Locator", - "description": "Create or Update any Streaming Locator" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingLocators/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Locator", - "operation": "Delete Streaming Locator", - "description": "Delete any Streaming Locator" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingLocators/listContentKeys/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Locator", - "operation": "List Content Keys", - "description": "List Content Keys" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingLocators/listPaths/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Locator", - "operation": "List Paths", - "description": "List Paths" - } - }, - { - "name": "Microsoft.Media/mediaservices/contentKeyPolicies/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Content Key Policy", - "operation": "Read Content Key Policy", - "description": "Read any Content Key Policy" - } - }, - { - "name": "Microsoft.Media/mediaservices/contentKeyPolicies/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Content Key Policy", - "operation": "Create or Update Content Key Policy", - "description": "Create or Update any Content Key Policy" - } - }, - { - "name": "Microsoft.Media/mediaservices/contentKeyPolicies/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Content Key Policy", - "operation": "Delete Content Key Policy", - "description": "Delete any Content Key Policy" - } - }, - { - "name": "Microsoft.Media/mediaservices/contentKeyPolicies/getPolicyPropertiesWithSecrets/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Content Key Policy", - "operation": "Get Policy Properties With Secrets", - "description": "Get Policy Properties With Secrets" - } - }, - { - "name": "Microsoft.Media/mediaservices/transforms/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Transform", - "operation": "Read Transform", - "description": "Read any Transform" - } - }, - { - "name": "Microsoft.Media/mediaservices/transforms/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Transform", - "operation": "Create or Update Transform", - "description": "Create or Update any Transform" - } - }, - { - "name": "Microsoft.Media/mediaservices/transforms/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Transform", - "operation": "Delete Transform", - "description": "Delete any Transform" - } - }, - { - "name": "Microsoft.Media/mediaservices/transforms/jobs/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Job", - "operation": "Read Job", - "description": "Read any Job" - } - }, - { - "name": "Microsoft.Media/mediaservices/transforms/jobs/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Job", - "operation": "Create or Update Job", - "description": "Create or Update any Job" - } - }, - { - "name": "Microsoft.Media/mediaservices/transforms/jobs/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Job", - "operation": "Delete Job", - "description": "Delete any Job" - } - }, - { - "name": "Microsoft.Media/mediaservices/transforms/jobs/cancelJob/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Job", - "operation": "Cancel Job", - "description": "Cancel Job" - } - }, - { - "name": "Microsoft.Media/mediaservices/mediaGraphs/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Graph", - "operation": "Read Media Graph", - "description": "Read any Media Graph" - } - }, - { - "name": "Microsoft.Media/mediaservices/mediaGraphs/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Graph", - "operation": "Create or Update Media Graph", - "description": "Create or Update any Media Graph" - } - }, - { - "name": "Microsoft.Media/mediaservices/mediaGraphs/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Graph", - "operation": "Delete Media Graph", - "description": "Delete any Media Graph" - } - }, - { - "name": "Microsoft.Media/mediaservices/mediaGraphs/start/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Graph", - "operation": "Start Media Graph Operation", - "description": "Start any Media Graph Operation" - } - }, - { - "name": "Microsoft.Media/mediaservices/mediaGraphs/stop/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Graph", - "operation": "Stop Media Graph Operation", - "description": "Stop any Media Graph Operation" - } - }, - { - "name": "Microsoft.Media/mediaservices/privateLinkResources/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "PrivateLinkResource", - "operation": "Read Private Link Resource", - "description": "Read any Private Link Resource" - } - }, - { - "name": "Microsoft.Media/mediaservices/privateEndpointConnectionProxies/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "PrivateEndpointConnectionProxy", - "operation": "Read Private Endpoint Connection Proxy", - "description": "Read any Private Endpoint Connection Proxy" - } - }, - { - "name": "Microsoft.Media/mediaservices/privateEndpointConnectionProxies/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "PrivateEndpointConnectionProxy", - "operation": "Create Private Endpoint Connection Proxy", - "description": "Create Private Endpoint Connection Proxy" - } - }, - { - "name": "Microsoft.Media/mediaservices/privateEndpointConnectionProxies/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "PrivateEndpointConnectionProxy", - "operation": "Delete Private Endpoint Connection Proxy", - "description": "Delete Private Endpoint Connection Proxy" - } - }, - { - "name": "Microsoft.Media/mediaservices/privateEndpointConnectionProxies/validate/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "PrivateEndpointConnectionProxy", - "operation": "Validate Private Endpoint Connection Proxy", - "description": "Validate Private Endpoint Connection Proxy" - } - }, - { - "name": "Microsoft.Media/mediaservices/privateEndpointConnections/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "PrivateEndpointConnection", - "operation": "Read Private Endpoint Connection", - "description": "Read any Private Endpoint Connection" - } - }, - { - "name": "Microsoft.Media/mediaservices/privateEndpointConnections/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "PrivateEndpointConnection", - "operation": "Create Private Endpoint Connection", - "description": "Create Private Endpoint Connection" - } - }, - { - "name": "Microsoft.Media/mediaservices/privateEndpointConnections/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "PrivateEndpointConnection", - "operation": "Delete Private Endpoint Connection", - "description": "Delete Private Endpoint Connection" - } - }, - { - "name": "Microsoft.Media/mediaservices/privateEndpointConnectionOperations/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Private Endpoint Connection Operation", - "operation": "Read Private Endpoint Connection Operation", - "description": "Read any Private Endpoint Connection Operation" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingEndpoints/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Endpoint", - "operation": "Read Streaming Endpoint", - "description": "Read any Streaming Endpoint" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingEndpoints/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Endpoint", - "operation": "Create or Update Streaming Endpoint", - "description": "Create or Update any Streaming Endpoint" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingEndpoints/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Endpoint", - "operation": "Delete Streaming Endpoint", - "description": "Delete any Streaming Endpoint" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingEndpoints/start/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Endpoint", - "operation": "Start Streaming Endpoint Operation", - "description": "Start any Streaming Endpoint Operation" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingEndpoints/stop/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Endpoint", - "operation": "Stop Streaming Endpoint Operation", - "description": "Stop any Streaming Endpoint Operation" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingEndpoints/scale/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Endpoint", - "operation": "Scale Streaming Endpoint Operation", - "description": "Scale any Streaming Endpoint Operation" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingEndpoints/providers/Microsoft.Insights/diagnosticSettings/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Endpoints", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource." - }, - "origin": "system" - }, - { - "name": "Microsoft.Media/mediaservices/streamingEndpoints/providers/Microsoft.Insights/diagnosticSettings/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Endpoints", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource." - }, - "origin": "system" - }, - { - "name": "Microsoft.Media/mediaservices/streamingEndpoints/providers/Microsoft.Insights/metricDefinitions/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Endpoints", - "operation": "Get list of Media Services Streaming Endpoint Metrics definitions.", - "description": "Get list of Media Services Streaming Endpoint Metrics definitions." - }, - "origin": "system", - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "Egress", - "displayName": "Egress", - "displayDescription": "The amount of Egress data, in bytes.", - "unit": "Bytes", - "aggregationType": "Total", - "dimensions": [ - { - "name": "OutputFormat", - "displayName": "Output Format", - "toBeExportedForShoebox": true - } - ], - "supportedAggregationTypes": [ - "Total" - ] - }, - { - "name": "SuccessE2ELatency", - "displayName": "Success end to end Latency", - "displayDescription": "The average latency for successful requests in milliseconds.", - "unit": "Milliseconds", - "aggregationType": "Average", - "dimensions": [ - { - "name": "OutputFormat", - "displayName": "Output Format", - "toBeExportedForShoebox": true - } - ], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] - }, - { - "name": "Requests", - "displayName": "Requests", - "displayDescription": "Requests to a Streaming Endpoint.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [ - { - "name": "OutputFormat", - "displayName": "Output Format", - "toBeExportedForShoebox": true - }, - { - "name": "HttpStatusCode", - "displayName": "HTTP Status Code", - "toBeExportedForShoebox": true - }, - { - "name": "ErrorCode", - "displayName": "Error Code", - "toBeExportedForShoebox": false - } - ], - "supportedAggregationTypes": [ - "Total" - ] - }, - { - "name": "EgressBandwidth", - "displayName": "Egress bandwidth", - "displayDescription": "Egress bandwidth in bits per second.", - "unit": "BitsPerSecond", - "aggregationType": "Average", - "lockAggregationType": "Total", - "dimensions": [], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] - }, - { - "name": "CPU", - "displayName": "CPU usage", - "displayDescription": "CPU usage for premium streaming endpoints. This data is not available for standard streaming endpoints.", - "unit": "Percent", - "aggregationType": "Average", - "dimensions": [], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] - } - ] - } - } - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Event", - "operation": "Read Live Event", - "description": "Read any Live Event" - } - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Event", - "operation": "Create or Update Live Event", - "description": "Create or Update any Live Event" - } - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Event", - "operation": "Delete Live Event", - "description": "Delete any Live Event" - } - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/start/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Event", - "operation": "Start Live Event Operation", - "description": "Start any Live Event Operation" - } - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/stop/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Event", - "operation": "Stop Live Event Operation", - "description": "Stop any Live Event Operation" - } - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/reset/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Event", - "operation": "Reset Live Event Operation", - "description": "Reset any Live Event Operation" - } - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/providers/Microsoft.Insights/diagnosticSettings/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Event", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource." - }, - "origin": "system" - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/providers/Microsoft.Insights/diagnosticSettings/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Event", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource." - }, - "origin": "system" - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/providers/Microsoft.Insights/metricDefinitions/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Event", - "operation": "Get a list of Media Services Live Event Metrics definitions.", - "description": "Get a list of Media Services Live Event Metrics definitions." - }, - "origin": "system", - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "IngestBitrate", - "displayName": "Live Event ingest bitrate", - "displayDescription": "The incoming bitrate ingested for a live event, in bits per second.", - "unit": "BitsPerSecond", - "aggregationType": "Average", - "dimensions": [ - { - "name": "TrackName", - "displayName": "Track name", - "toBeExportedForShoebox": true - } - ], - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MicrosoftMediaLiveEvent", - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] - }, - { - "name": "IngestLastTimestamp", - "displayName": "Live Event ingest last timestamp", - "displayDescription": "Last timestamp ingested for a live event.", - "unit": "Milliseconds", - "aggregationType": "Maximum", - "dimensions": [ - { - "name": "TrackName", - "displayName": "Track name", - "toBeExportedForShoebox": true - } - ], - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MicrosoftMediaLiveEvent", - "supportedAggregationTypes": [ - "Maximum" - ] - }, - { - "name": "IngestDriftValue", - "displayName": "Live Event ingest drift value", - "displayDescription": "Drift between the timestamp of the ingested content and the system clock, measured in seconds per minute. A non zero value indicates that the ingested content is arriving slower than system clock time.", - "unit": "Seconds", - "aggregationType": "Maximum", - "dimensions": [ - { - "name": "TrackName", - "displayName": "Track name", - "toBeExportedForShoebox": true - } - ], - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MicrosoftMediaLiveEvent", - "supportedAggregationTypes": [ - "Maximum" - ] - }, - { - "name": "LiveOutputLastTimestamp", - "displayName": "Last output timestamp", - "displayDescription": "Timestamp of the last fragment uploaded to storage for a live event output.", - "unit": "Milliseconds", - "aggregationType": "Maximum", - "dimensions": [ - { - "name": "TrackName", - "displayName": "Track name", - "toBeExportedForShoebox": true - } - ], - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MicrosoftMediaLiveEvent", - "supportedAggregationTypes": [ - "Maximum" - ] - } - ] - } - } - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/liveOutputs/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Output", - "operation": "Read Live Output", - "description": "Read any Live Output" - } - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/liveOutputs/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Output", - "operation": "Create or Update Live Output", - "description": "Create or Update any Live Output" - } - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/liveOutputs/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Output", - "operation": "Delete Live Output", - "description": "Delete any Live Output" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingEndpointOperations/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Endpoint Operation", - "operation": "Read Streaming Endpoint Operation", - "description": "Read any Streaming Endpoint Operation" - } - }, - { - "name": "Microsoft.Media/mediaservices/liveEventOperations/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Event Operation", - "operation": "Read Live Event Operation", - "description": "Read any Live Event Operation" - } - }, - { - "name": "Microsoft.Media/mediaservices/liveOutputOperations/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Output Operation", - "operation": "Read Live Output Operation", - "description": "Read any Live Output Operation" - } - }, - { - "name": "Microsoft.Media/mediaservices/providers/Microsoft.Insights/diagnosticSettings/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Services Account", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource." - }, - "origin": "system" - }, - { - "name": "Microsoft.Media/mediaservices/providers/Microsoft.Insights/diagnosticSettings/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Services Account", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource." - }, - "origin": "system" - }, - { - "name": "Microsoft.Media/mediaservices/providers/Microsoft.Insights/logDefinitions/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "The log definition of mediaservices", - "operation": "Read mediaservices log definitions", - "description": "Gets the available logs for a Media Services Account" - }, - "origin": "system", - "properties": { - "serviceSpecification": { - "logSpecifications": [ - { - "name": "KeyDeliveryRequests", - "displayName": "Key Delivery Requests", - "blobDuration": "PT1H" - } - ] - } - } - }, - { - "name": "Microsoft.Media/mediaservices/providers/Microsoft.Insights/metricDefinitions/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Service", - "operation": "Get list of Media Services Metric definitions.", - "description": "Get list of Media Services Metric definitions." - }, - "origin": "system", - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "AssetQuota", - "displayName": "Asset quota", - "displayDescription": "How many assets are allowed for current media service account", - "unit": "Count", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MediaServiceQuotaAndUsage", - "supportedAggregationTypes": [ - "Average" - ], - "supportedTimeGrainTypes": [ - "PT1H", - "PT6H", - "PT12H", - "P1D" - ] - }, - { - "name": "AssetCount", - "displayName": "Asset count", - "displayDescription": "How many assets are already created in current media service account", - "unit": "Count", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MediaServiceQuotaAndUsage", - "supportedAggregationTypes": [ - "Average" - ], - "supportedTimeGrainTypes": [ - "PT1H", - "PT6H", - "PT12H", - "P1D" - ] - }, - { - "name": "AssetQuotaUsedPercentage", - "displayName": "Asset quota used percentage", - "displayDescription": "Asset used percentage in current media service account", - "unit": "Percent", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MediaServiceQuotaAndUsage", - "supportedAggregationTypes": [ - "Average" - ], - "supportedTimeGrainTypes": [ - "PT1H", - "PT6H", - "PT12H", - "P1D" - ] - }, - { - "name": "ContentKeyPolicyQuota", - "displayName": "Content Key Policy quota", - "displayDescription": "How many content key polices are allowed for current media service account", - "unit": "Count", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MediaServiceQuotaAndUsage", - "supportedAggregationTypes": [ - "Average" - ], - "supportedTimeGrainTypes": [ - "PT1H", - "PT6H", - "PT12H", - "P1D" - ] - }, - { - "name": "ContentKeyPolicyCount", - "displayName": "Content Key Policy count", - "displayDescription": "How many content key policies are already created in current media service account", - "unit": "Count", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MediaServiceQuotaAndUsage", - "supportedAggregationTypes": [ - "Average" - ], - "supportedTimeGrainTypes": [ - "PT1H", - "PT6H", - "PT12H", - "P1D" - ] - }, - { - "name": "ContentKeyPolicyQuotaUsedPercentage", - "displayName": "Content Key Policy quota used percentage", - "displayDescription": "Content Key Policy used percentage in current media service account", - "unit": "Percent", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MediaServiceQuotaAndUsage", - "supportedAggregationTypes": [ - "Average" - ], - "supportedTimeGrainTypes": [ - "PT1H", - "PT6H", - "PT12H", - "P1D" - ] - }, - { - "name": "StreamingPolicyQuota", - "displayName": "Streaming Policy quota", - "displayDescription": "How many streaming policies are allowed for current media service account", - "unit": "Count", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MediaServiceQuotaAndUsage", - "supportedAggregationTypes": [ - "Average" - ], - "supportedTimeGrainTypes": [ - "PT1H", - "PT6H", - "PT12H", - "P1D" - ] - }, - { - "name": "StreamingPolicyCount", - "displayName": "Streaming Policy count", - "displayDescription": "How many streaming policies are already created in current media service account", - "unit": "Count", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MediaServiceQuotaAndUsage", - "supportedAggregationTypes": [ - "Average" - ], - "supportedTimeGrainTypes": [ - "PT1H", - "PT6H", - "PT12H", - "P1D" - ] - }, - { - "name": "StreamingPolicyQuotaUsedPercentage", - "displayName": "Streaming Policy quota used percentage", - "displayDescription": "Streaming Policy used percentage in current media service account", - "unit": "Percent", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MediaServiceQuotaAndUsage", - "supportedAggregationTypes": [ - "Average" - ], - "supportedTimeGrainTypes": [ - "PT1H", - "PT6H", - "PT12H", - "P1D" - ] - }, - { - "name": "ChannelsAndLiveEventsCount", - "displayName": "Live event count", - "displayDescription": "The total number of live events in the current media services account", - "unit": "Count", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "ClusterResource_ChannelsAndLiveEvents", - "supportedAggregationTypes": [ - "Average" - ] - }, - { - "name": "RunningChannelsAndLiveEventsCount", - "displayName": "Running live event count", - "displayDescription": "The total number of running live events in the current media services account", - "unit": "Count", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "ClusterResource_ChannelsAndLiveEvents", - "supportedAggregationTypes": [ - "Average" - ] - }, - { - "name": "MaxChannelsAndLiveEventsCount", - "displayName": "Max live event quota", - "displayDescription": "The maximum number of live events allowed in the current media services account", - "unit": "Count", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "ClusterResource_ChannelsAndLiveEvents", - "supportedAggregationTypes": [ - "Average" - ] - }, - { - "name": "MaxRunningChannelsAndLiveEventsCount", - "displayName": "Max running live event quota", - "displayDescription": "The maximum number of running live events allowed in the current media services account", - "unit": "Count", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "ClusterResource_ChannelsAndLiveEvents", - "supportedAggregationTypes": [ - "Average" - ] - } - ] - } - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Video Analyzer Account", - "operation": "Read a Video Analyzer Account", - "description": "Read a Video Analyzer Account" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Video Analyzer Account", - "operation": "Write a Video Analyzer Account", - "description": "Write a Video Analyzer Account" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Video Analyzer Account", - "operation": "Delete a Video Analyzer Account", - "description": "Delete a Video Analyzer Account" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/syncStorageKeys/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Video Analyzer Account", - "operation": "Sync storage keys", - "description": "Sync the storage keys of an attached storage account" - } - }, - { - "name": "Microsoft.Media/locations/checkNameAvailability/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Microsoft Media Services", - "operation": "Check Name Availability", - "description": "Checks if a Media Services account name is available" - } - } - ] - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-analyzer-accounts-create-or-update.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-analyzer-accounts-create-or-update.json deleted file mode 100644 index cf4c87322447..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-analyzer-accounts-create-or-update.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "accountName": "contosotv", - "api-version": "2021-05-01-preview", - "parameters": { - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "encryption": { - "type": "SystemKey" - }, - "storageAccounts": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/storage1", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2" - } - } - ] - }, - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {}, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": {}, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3": {} - } - } - } - }, - "responses": { - "201": { - "body": { - "name": "contosomovies", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/videoAnalyzers/contosomovies", - "type": "Microsoft.Media/videoAnalyzers", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "encryption": { - "type": "SystemKey" - }, - "storageAccounts": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/storage1", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2" - } - } - ], - "endpoints": [ - { - "type": "ClientApi", - "endpointUrl": "https://77d7106674e0454eba85e5ede58cedbc.api.southcentralus.videoanalyzer.azure.net" - } - ] - }, - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - } - } - }, - "systemData": { - "createdBy": "fakeapplication@contoso.com", - "createdByType": "Application", - "createdAt": "2021-01-01T00:00:00Z", - "lastModifiedBy": "fakeuser@contoso.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-01T00:00:00Z" - } - } - }, - "200": { - "body": { - "name": "contosomovies", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/videoAnalyzers/contosomovies", - "type": "Microsoft.Media/videoAnalyzers", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "encryption": { - "type": "SystemKey" - }, - "storageAccounts": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/storage1", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2" - } - } - ], - "endpoints": [ - { - "type": "ClientApi", - "endpointUrl": "https://77d7106674e0454eba85e5ede58cedbc.api.southcentralus.videoanalyzer.azure.net" - } - ] - }, - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - } - } - }, - "systemData": { - "createdBy": "fakeapplication@contoso.com", - "createdByType": "Application", - "createdAt": "2021-01-01T00:00:00Z", - "lastModifiedBy": "fakeuser@contoso.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-analyzer-accounts-delete.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-analyzer-accounts-delete.json deleted file mode 100644 index 65769c206509..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-analyzer-accounts-delete.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "accountName": "contosotv", - "api-version": "2021-05-01-preview" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-analyzer-accounts-get-by-name.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-analyzer-accounts-get-by-name.json deleted file mode 100644 index bbce91ae3c91..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-analyzer-accounts-get-by-name.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "accountName": "contosotv", - "api-version": "2021-05-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "contosomovies", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/videoAnalyzers/contosomovies", - "type": "Microsoft.Media/videoAnalyzers", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "encryption": { - "type": "SystemKey" - }, - "storageAccounts": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/storage1", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2" - }, - "status": "identityDisconnected" - } - ], - "endpoints": [ - { - "type": "ClientApi", - "endpointUrl": "https://77d7106674e0454eba85e5ede58cedbc.api.southcentralus.videoanalyzer.azure.net" - } - ] - }, - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - } - } - }, - "systemData": { - "createdBy": "fakeapplication@contoso.com", - "createdByType": "Application", - "createdAt": "2021-01-01T00:00:00Z", - "lastModifiedBy": "fakeuser@contoso.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-analyzer-accounts-list-all-accounts.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-analyzer-accounts-list-all-accounts.json deleted file mode 100644 index d6734e1b630e..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-analyzer-accounts-list-all-accounts.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "api-version": "2021-05-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "contosomovies", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/videoAnalyzers/contosomovies", - "type": "Microsoft.Media/videoAnalyzers", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "encryption": { - "type": "SystemKey" - }, - "storageAccounts": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/storage1", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2" - } - } - ] - }, - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - } - } - }, - "systemData": { - "createdBy": "fakeapplication@contoso.com", - "createdByType": "Application", - "createdAt": "2021-01-01T00:00:00Z", - "lastModifiedBy": "fakeuser@contoso.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-01T00:00:00Z" - } - } - ] - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-analyzer-accounts-subscription-list-all-accounts.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-analyzer-accounts-subscription-list-all-accounts.json deleted file mode 100644 index 66a71f6ccf37..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-analyzer-accounts-subscription-list-all-accounts.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "api-version": "2021-05-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "contosomovies", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/videoAnalyzers/contosomovies", - "type": "Microsoft.Media/videoAnalyzers", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "encryption": { - "type": "SystemKey" - }, - "storageAccounts": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/storage1", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2" - } - } - ], - "endpoints": [ - { - "type": "ClientApi", - "endpointUrl": "https://77d7106674e0454eba85e5ede58cedbc.api.southcentralus.videoanalyzer.azure.net" - } - ] - }, - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - } - } - }, - "systemData": { - "createdBy": "fakeapplication@contoso.com", - "createdByType": "Application", - "createdAt": "2021-01-01T00:00:00Z", - "lastModifiedBy": "fakeuser@contoso.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-01T00:00:00Z" - } - } - ] - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-analyzer-accounts-sync-storage-keys.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-analyzer-accounts-sync-storage-keys.json deleted file mode 100644 index 6f150aa14789..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-analyzer-accounts-sync-storage-keys.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "accountName": "contosotv", - "api-version": "2021-05-01-preview", - "parameters": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contosotvstore" - } - }, - "responses": { - "200": {} - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-analyzer-accounts-update.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-analyzer-accounts-update.json deleted file mode 100644 index 4f6ea5587b8f..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-analyzer-accounts-update.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "accountName": "contosotv", - "api-version": "2021-05-01-preview", - "parameters": { - "tags": { - "key1": "value3" - } - } - }, - "responses": { - "200": { - "body": { - "name": "contosomovies", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/videoAnalyzers/contosomovies", - "type": "Microsoft.Media/videoAnalyzers", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2", - "tag3": "value3" - }, - "properties": { - "encryption": { - "type": "SystemKey" - }, - "storageAccounts": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/storage1", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2" - } - } - ], - "endpoints": [ - { - "type": "ClientApi", - "endpointUrl": "https://77d7106674e0454eba85e5ede58cedbc.api.southcentralus.videoanalyzer.azure.net" - } - ] - }, - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - } - } - }, - "systemData": { - "createdBy": "fakeapplication@contoso.com", - "createdByType": "Application", - "createdAt": "2021-01-01T00:00:00Z", - "lastModifiedBy": "fakeuser@contoso.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-create.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-create.json deleted file mode 100644 index 22f26ae909c3..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-create.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "videoName": "video1", - "api-version": "2021-05-01-preview", - "parameters": { - "properties": { - "title": "Sample Title 1", - "description": "Sample Description 1" - } - } - }, - "responses": { - "200": { - "body": { - "name": "video1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/videos/video1", - "type": "Microsoft.Media/videoAnalyzers/videos", - "properties": { - "title": "Sample Title 1", - "description": "Sample Description 1", - "type": "Archive", - "flags": { - "canStream": false, - "hasData": false, - "isRecording": false - } - }, - "systemData": {} - } - }, - "201": { - "body": { - "name": "video1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/videos/video1", - "type": "Microsoft.Media/videoAnalyzers/videos", - "properties": { - "title": "Sample Title 1", - "description": "Sample Description 1", - "type": "Archive", - "flags": { - "canStream": false, - "hasData": false, - "isRecording": false - } - }, - "systemData": {} - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-delete.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-delete.json deleted file mode 100644 index 0340aa53c107..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "videoName": "video1", - "api-version": "2021-05-01-preview" - }, - "responses": { - "204": {}, - "200": {} - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-get.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-get.json deleted file mode 100644 index 50140bbda84a..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-get.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "videoName": "video1", - "api-version": "2021-05-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "video1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/videos/video1", - "type": "Microsoft.Media/videoAnalyzers/videos", - "properties": { - "title": "Sample Title 1", - "description": "Sample Description 1", - "type": "Archive", - "flags": { - "canStream": false, - "hasData": false, - "isRecording": false - } - }, - "systemData": {} - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-list.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-list.json deleted file mode 100644 index ea0bd2e3fff8..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-list.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "api-version": "2021-05-01-preview", - "$top": "2" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "video1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/videos/video1", - "type": "Microsoft.Media/videoAnalyzers/videos", - "properties": { - "title": "Sample Title 1", - "description": "Sample Description 1", - "type": "Archive", - "flags": { - "canStream": false, - "hasData": false, - "isRecording": false - } - }, - "systemData": {} - }, - { - "name": "video2", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/videos/video2", - "type": "Microsoft.Media/videoAnalyzers/videos", - "properties": { - "title": "Sample Title 2", - "description": "Sample Description 2", - "type": "Archive", - "flags": { - "canStream": false, - "hasData": false, - "isRecording": false - } - }, - "systemData": {} - } - ] - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-listStreamingToken.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-listStreamingToken.json deleted file mode 100644 index b08df104edce..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-listStreamingToken.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "videoName": "video3", - "api-version": "2021-05-01-preview" - }, - "responses": { - "200": { - "body": { - "expirationDate": "3021-01-23T11:04:49.0526841-08:00", - "token": "testtoken" - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-patch.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-patch.json deleted file mode 100644 index 8275c414ee32..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-05-01-preview/examples/video-patch.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "videoName": "video1", - "api-version": "2021-05-01-preview", - "parameters": { - "properties": { - "description": "Parking Lot East Entrance" - } - } - }, - "responses": { - "200": { - "body": { - "name": "video1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/videos/video1", - "type": "Microsoft.Media/videoAnalyzers/videos", - "properties": { - "title": "Sample Title 1", - "description": "Sample Description 1", - "type": "Archive", - "flags": { - "canStream": false, - "hasData": false, - "isRecording": false - } - }, - "systemData": {} - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/EdgeModules.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/EdgeModules.json deleted file mode 100644 index 8120f2aff63c..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/EdgeModules.json +++ /dev/null @@ -1,380 +0,0 @@ -{ - "schemes": [ - "https" - ], - "swagger": "2.0", - "info": { - "title": "Azure Video Analyzer Resource Provider", - "description": "Azure Video Analyzer resource provider API definition.", - "version": "2021-11-01-preview" - }, - "host": "management.azure.com", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "Impersonate your user account" - } - } - }, - "definitions": { - "EdgeModuleProperties": { - "properties": { - "edgeModuleId": { - "type": "string", - "format": "uuid", - "description": "Internal ID generated for the instance of the Video Analyzer edge module.", - "readOnly": true, - "x-nullable": false - } - }, - "type": "object", - "description": "Application level properties for the edge module resource." - }, - "ListProvisioningTokenInput": { - "properties": { - "expirationDate": { - "type": "string", - "format": "date-time", - "description": "The desired expiration date of the registration token. The Azure Video Analyzer IoT edge module must be initialized and connected to the Internet prior to the token expiration date." - } - }, - "type": "object", - "required": [ - "expirationDate" - ], - "description": "The input parameters to generate registration token for the Azure Video Analyzer IoT edge module." - }, - "EdgeModuleProvisioningToken": { - "properties": { - "expirationDate": { - "type": "string", - "format": "date-time", - "description": "The expiration date of the registration token. The Azure Video Analyzer IoT edge module must be initialized and connected to the Internet prior to the token expiration date.", - "readOnly": true, - "x-nullable": false - }, - "token": { - "type": "string", - "description": "The token blob to be provided to the Azure Video Analyzer IoT edge module through the Azure IoT Edge module twin properties.", - "readOnly": true - } - }, - "type": "object", - "description": "Provisioning token properties. A provisioning token allows for a single instance of Azure Video analyzer IoT edge module to be initialized and authorized to the cloud account. The provisioning token itself is short lived and it is only used for the initial handshake between IoT edge module and the cloud. After the initial handshake, the IoT edge module will agree on a set of authentication keys which will be auto-rotated as long as the module is able to periodically connect to the cloud. A new provisioning token can be generated for the same IoT edge module in case the module state lost or reset." - }, - "EdgeModuleEntity": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/EdgeModuleProperties", - "description": "The resource properties.", - "x-ms-client-flatten": true - } - }, - "type": "object", - "description": "The representation of an edge module." - }, - "EdgeModuleEntityCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/EdgeModuleEntity" - }, - "description": "A collection of EdgeModuleEntity items." - }, - "@nextLink": { - "type": "string", - "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)." - } - }, - "type": "object", - "description": "A collection of EdgeModuleEntity items." - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/edgeModules": { - "get": { - "summary": "List all existing edge module resources.", - "description": "List all existing edge module resources, along with their JSON representations.", - "operationId": "EdgeModules_List", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/EdgeModuleEntityCollection" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n." - } - ], - "x-ms-pageable": { - "nextLinkName": "@nextLink" - }, - "x-ms-examples": { - "Lists the registered edge modules.": { - "$ref": "examples/edge-modules-list.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/edgeModules/{edgeModuleName}": { - "get": { - "summary": "Retrieves an existing edge module resource.", - "description": "Retrieves an existing edge module resource with the given name.", - "operationId": "EdgeModules_Get", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/EdgeModuleEntity" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "edgeModuleName", - "in": "path", - "required": true, - "type": "string", - "description": "The Edge Module name." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Gets edge module registration.": { - "$ref": "examples/edge-modules-get.json" - } - } - }, - "put": { - "summary": "Creates a new edge module or updates an existing one.", - "description": "Creates a new edge module or updates an existing one. An edge module resource enables a single instance of an Azure Video Analyzer IoT edge module to interact with the Video Analyzer Account. This is used for authorization and also to make sure that the particular edge module instance only has access to the data it requires from the Azure Video Analyzer service. A new edge module resource should be created for every new instance of an Azure Video Analyzer edge module deployed to you Azure IoT edge environment. Edge module resources can be deleted if the specific module is not in use anymore.", - "operationId": "EdgeModules_CreateOrUpdate", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/EdgeModuleEntity" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/EdgeModuleEntity" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "edgeModuleName", - "in": "path", - "required": true, - "type": "string", - "description": "The Edge Module name." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/EdgeModuleEntity" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Registers an edge module.": { - "$ref": "examples/edge-modules-create.json" - } - } - }, - "delete": { - "summary": "Deletes an existing edge module resource.", - "description": "Deletes an existing edge module resource. Deleting the edge module resource will prevent an Azure Video Analyzer IoT edge module which was previously initiated with the module provisioning token from communicating with the cloud.", - "operationId": "EdgeModules_Delete", - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "NoContent" - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "edgeModuleName", - "in": "path", - "required": true, - "type": "string", - "description": "The Edge Module name." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Deletes an edge module registration.": { - "$ref": "examples/edge-modules-delete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/edgeModules/{edgeModuleName}/listProvisioningToken": { - "post": { - "summary": "Creates a new provisioning token.", - "description": "Creates a new provisioning token. A provisioning token allows for a single instance of Azure Video analyzer IoT edge module to be initialized and authorized to the cloud account. The provisioning token itself is short lived and it is only used for the initial handshake between IoT edge module and the cloud. After the initial handshake, the IoT edge module will agree on a set of authentication keys which will be auto-rotated as long as the module is able to periodically connect to the cloud. A new provisioning token can be generated for the same IoT edge module in case the module state lost or reset.", - "operationId": "EdgeModules_ListProvisioningToken", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/EdgeModuleProvisioningToken" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "edgeModuleName", - "in": "path", - "required": true, - "type": "string", - "description": "The Edge Module name." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ListProvisioningTokenInput" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Generate the Provisioning token for an edge module registration.": { - "$ref": "examples/edge-modules-listProvisioningToken.json" - } - } - } - } - }, - "parameters": { - "AzureVideoAnalyzerAccountName": { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure Video Analyzer account name.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/PipelineTopologies.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/PipelineTopologies.json deleted file mode 100644 index 5f7c4225bac4..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/PipelineTopologies.json +++ /dev/null @@ -1,2516 +0,0 @@ -{ - "schemes": [ - "https" - ], - "swagger": "2.0", - "info": { - "title": "Azure Video Analyzer Resource Provider", - "description": "Azure Video Analyzer resource provider API definition.", - "version": "2021-11-01-preview" - }, - "host": "management.azure.com", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "Impersonate your user account" - } - } - }, - "definitions": { - "Sku": { - "properties": { - "name": { - "type": "string", - "enum": [ - "Live_S1", - "Batch_S1" - ], - "x-ms-enum": { - "name": "SkuName", - "values": [ - { - "value": "Live_S1", - "description": "Represents the Live S1 SKU name. Using this SKU you can create live pipelines to capture, record, and stream live video from RTSP-capable cameras at bitrate settings from 0.5 Kbps to 3000 Kbps." - }, - { - "value": "Batch_S1", - "description": "Represents the Batch S1 SKU name. Using this SKU you can create pipeline jobs to process recorded content." - } - ], - "modelAsString": true - }, - "description": "The SKU name." - }, - "tier": { - "type": "string", - "enum": [ - "Standard" - ], - "x-ms-enum": { - "name": "SkuTier", - "values": [ - { - "value": "Standard", - "description": "Standard tier." - } - ], - "modelAsString": true - }, - "description": "The SKU tier.", - "readOnly": true, - "x-nullable": false - } - }, - "type": "object", - "required": [ - "name" - ], - "description": "The SKU details." - }, - "PipelineTopologyProperties": { - "properties": { - "description": { - "type": "string", - "description": "An optional description of the pipeline topology. It is recommended that the expected use of the topology to be described here." - }, - "parameters": { - "type": "array", - "items": { - "$ref": "#/definitions/ParameterDeclaration" - }, - "x-ms-identifiers": [ - "name" - ], - "description": "List of the topology parameter declarations. Parameters declared here can be referenced throughout the topology nodes through the use of \"${PARAMETER_NAME}\" string pattern. Parameters can have optional default values and can later be defined in individual instances of the pipeline." - }, - "sources": { - "type": "array", - "items": { - "$ref": "#/definitions/SourceNodeBase" - }, - "x-ms-identifiers": [ - "name" - ], - "description": "List of the topology source nodes. Source nodes enable external data to be ingested by the pipeline." - }, - "processors": { - "type": "array", - "items": { - "$ref": "#/definitions/ProcessorNodeBase" - }, - "x-ms-identifiers": [ - "name" - ], - "description": "List of the topology processor nodes. Processor nodes enable pipeline data to be analyzed, processed or transformed." - }, - "sinks": { - "type": "array", - "items": { - "$ref": "#/definitions/SinkNodeBase" - }, - "x-ms-identifiers": [ - "name" - ], - "description": "List of the topology sink nodes. Sink nodes allow pipeline data to be stored or exported." - } - }, - "type": "object", - "required": [ - "sources", - "sinks" - ], - "description": "Describes the properties of a pipeline topology." - }, - "PipelineTopologyPropertiesUpdate": { - "properties": { - "description": { - "type": "string", - "description": "An optional description of the pipeline topology. It is recommended that the expected use of the topology to be described here." - }, - "parameters": { - "type": "array", - "items": { - "$ref": "#/definitions/ParameterDeclaration" - }, - "x-ms-identifiers": [ - "name" - ], - "description": "List of the topology parameter declarations. Parameters declared here can be referenced throughout the topology nodes through the use of \"${PARAMETER_NAME}\" string pattern. Parameters can have optional default values and can later be defined in individual instances of the pipeline." - }, - "sources": { - "type": "array", - "items": { - "$ref": "#/definitions/SourceNodeBase" - }, - "x-ms-identifiers": [ - "name" - ], - "description": "List of the topology source nodes. Source nodes enable external data to be ingested by the pipeline." - }, - "processors": { - "type": "array", - "items": { - "$ref": "#/definitions/ProcessorNodeBase" - }, - "x-ms-identifiers": [ - "name" - ], - "description": "List of the topology processor nodes. Processor nodes enable pipeline data to be analyzed, processed or transformed." - }, - "sinks": { - "type": "array", - "items": { - "$ref": "#/definitions/SinkNodeBase" - }, - "x-ms-identifiers": [ - "name" - ], - "description": "List of the topology sink nodes. Sink nodes allow pipeline data to be stored or exported." - } - }, - "type": "object", - "description": "Describes the properties of a pipeline topology." - }, - "ParameterDeclaration": { - "properties": { - "name": { - "type": "string", - "description": "Name of the parameter." - }, - "type": { - "type": "string", - "enum": [ - "String", - "SecretString", - "Int", - "Double", - "Bool" - ], - "x-ms-enum": { - "name": "ParameterType", - "values": [ - { - "value": "String", - "description": "The parameter's value is a string." - }, - { - "value": "SecretString", - "description": "The parameter's value is a string that holds sensitive information." - }, - { - "value": "Int", - "description": "The parameter's value is a 32-bit signed integer." - }, - { - "value": "Double", - "description": "The parameter's value is a 64-bit double-precision floating point." - }, - { - "value": "Bool", - "description": "The parameter's value is a boolean value that is either true or false." - } - ], - "modelAsString": true - }, - "description": "Type of the parameter." - }, - "description": { - "type": "string", - "description": "Description of the parameter." - }, - "default": { - "type": "string", - "description": "The default value for the parameter to be used if the pipeline does not specify a value." - } - }, - "type": "object", - "required": [ - "name", - "type" - ], - "description": "Single topology parameter declaration. Declared parameters can and must be referenced throughout the topology and can optionally have default values to be used when they are not defined in the pipelines." - }, - "NodeBase": { - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "The discriminator for derived types." - }, - "name": { - "type": "string", - "description": "Node name. Must be unique within the topology." - } - }, - "type": "object", - "required": [ - "@type", - "name" - ], - "description": "Base class for nodes." - }, - "SourceNodeBase": { - "discriminator": "@type", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.SourceNodeBase", - "allOf": [ - { - "$ref": "#/definitions/NodeBase" - } - ], - "properties": { - "@type": { - "type": "string", - "description": "The discriminator for derived types." - } - }, - "type": "object", - "required": [ - "@type" - ], - "description": "Base class for topology source nodes." - }, - "ProcessorNodeBase": { - "discriminator": "@type", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.ProcessorNodeBase", - "allOf": [ - { - "$ref": "#/definitions/NodeBase" - } - ], - "properties": { - "@type": { - "type": "string", - "description": "The discriminator for derived types." - }, - "inputs": { - "type": "array", - "items": { - "$ref": "#/definitions/NodeInput" - }, - "x-ms-identifiers": [ - "nodeName" - ], - "description": "An array of upstream node references within the topology to be used as inputs for this node." - } - }, - "type": "object", - "required": [ - "@type", - "inputs" - ], - "description": "Base class for topology processor nodes." - }, - "SinkNodeBase": { - "discriminator": "@type", - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.SinkNodeBase", - "allOf": [ - { - "$ref": "#/definitions/NodeBase" - } - ], - "properties": { - "@type": { - "type": "string", - "description": "The discriminator for derived types." - }, - "inputs": { - "type": "array", - "items": { - "$ref": "#/definitions/NodeInput" - }, - "x-ms-identifiers": [ - "nodeName" - ], - "description": "An array of upstream node references within the topology to be used as inputs for this node." - } - }, - "type": "object", - "required": [ - "@type", - "inputs" - ], - "description": "Base class for topology sink nodes." - }, - "NodeInput": { - "properties": { - "nodeName": { - "type": "string", - "description": "The name of the upstream node in the pipeline which output is used as input of the current node." - } - }, - "type": "object", - "required": [ - "nodeName" - ], - "description": "Describes an input signal to be used on a pipeline node." - }, - "RtspSource": { - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.RtspSource", - "allOf": [ - { - "$ref": "#/definitions/SourceNodeBase" - } - ], - "properties": { - "transport": { - "type": "string", - "enum": [ - "Http", - "Tcp" - ], - "x-ms-enum": { - "name": "RtspTransport", - "values": [ - { - "value": "Http", - "description": "HTTP transport. RTSP messages are exchanged over long running HTTP requests and RTP packets are interleaved within the HTTP channel." - }, - { - "value": "Tcp", - "description": "TCP transport. RTSP is used directly over TCP and RTP packets are interleaved within the TCP channel." - } - ], - "modelAsString": true - }, - "description": "Network transport utilized by the RTSP and RTP exchange: TCP or HTTP. When using TCP, the RTP packets are interleaved on the TCP RTSP connection. When using HTTP, the RTSP messages are exchanged through long lived HTTP connections, and the RTP packages are interleaved in the HTTP connections alongside the RTSP messages." - }, - "endpoint": { - "$ref": "#/definitions/EndpointBase", - "description": "RTSP endpoint information for Video Analyzer to connect to. This contains the required information for Video Analyzer to connect to RTSP cameras and/or generic RTSP servers." - } - }, - "type": "object", - "required": [ - "endpoint" - ], - "description": "RTSP source allows for media from an RTSP camera or generic RTSP server to be ingested into a pipeline." - }, - "EndpointBase": { - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "The discriminator for derived types." - }, - "credentials": { - "$ref": "#/definitions/CredentialsBase", - "description": "Credentials to be presented to the endpoint." - }, - "url": { - "type": "string", - "description": "The endpoint URL for Video Analyzer to connect to." - }, - "tunnel": { - "$ref": "#/definitions/TunnelBase", - "description": "Describes the tunnel through which Video Analyzer can connect to the endpoint URL. This is an optional property, typically used when the endpoint is behind a firewall." - } - }, - "type": "object", - "required": [ - "@type", - "credentials", - "url" - ], - "description": "Base class for endpoints." - }, - "CredentialsBase": { - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "The discriminator for derived types." - } - }, - "type": "object", - "required": [ - "@type" - ], - "description": "Base class for credential objects." - }, - "TunnelBase": { - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "The discriminator for derived types." - } - }, - "type": "object", - "required": [ - "@type" - ], - "description": "Base class for tunnel objects." - }, - "UsernamePasswordCredentials": { - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.UsernamePasswordCredentials", - "allOf": [ - { - "$ref": "#/definitions/CredentialsBase" - } - ], - "properties": { - "username": { - "type": "string", - "description": "Username to be presented as part of the credentials." - }, - "password": { - "type": "string", - "description": "Password to be presented as part of the credentials. It is recommended that this value is parameterized as a secret string in order to prevent this value to be returned as part of the resource on API requests." - } - }, - "type": "object", - "required": [ - "username", - "password" - ], - "description": "Username and password credentials." - }, - "SecureIotDeviceRemoteTunnel": { - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.SecureIotDeviceRemoteTunnel", - "allOf": [ - { - "$ref": "#/definitions/TunnelBase" - } - ], - "properties": { - "iotHubName": { - "type": "string", - "description": "Name of the IoT Hub." - }, - "deviceId": { - "type": "string", - "description": "The IoT device id to use when establishing the remote tunnel. This string is case-sensitive." - } - }, - "type": "object", - "required": [ - "iotHubName", - "deviceId" - ], - "description": "A remote tunnel securely established using IoT Hub device information." - }, - "UnsecuredEndpoint": { - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.UnsecuredEndpoint", - "allOf": [ - { - "$ref": "#/definitions/EndpointBase" - } - ], - "properties": {}, - "type": "object", - "description": "Unsecured endpoint describes an endpoint that the pipeline can connect to over clear transport (no encryption in transit)." - }, - "TlsEndpoint": { - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.TlsEndpoint", - "allOf": [ - { - "$ref": "#/definitions/EndpointBase" - } - ], - "properties": { - "trustedCertificates": { - "$ref": "#/definitions/CertificateSource", - "description": "List of trusted certificate authorities when authenticating a TLS connection. A null list designates that Azure Video Analyzer's list of trusted authorities should be used." - }, - "validationOptions": { - "$ref": "#/definitions/TlsValidationOptions", - "description": "Validation options to use when authenticating a TLS connection. By default, strict validation is used." - } - }, - "type": "object", - "description": "TLS endpoint describes an endpoint that the pipeline can connect to over TLS transport (data is encrypted in transit)." - }, - "CertificateSource": { - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "The discriminator for derived types." - } - }, - "type": "object", - "required": [ - "@type" - ], - "description": "Base class for certificate sources." - }, - "TlsValidationOptions": { - "properties": { - "ignoreHostname": { - "type": "string", - "description": "When set to 'true' causes the certificate subject name validation to be skipped. Default is 'false'." - }, - "ignoreSignature": { - "type": "string", - "description": "When set to 'true' causes the certificate chain trust validation to be skipped. Default is 'false'." - } - }, - "type": "object", - "description": "Options for controlling the validation of TLS endpoints." - }, - "PemCertificateList": { - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.PemCertificateList", - "allOf": [ - { - "$ref": "#/definitions/CertificateSource" - } - ], - "properties": { - "certificates": { - "type": "array", - "items": { - "type": "string" - }, - "description": "PEM formatted public certificates. One certificate per entry." - } - }, - "type": "object", - "required": [ - "certificates" - ], - "description": "A list of PEM formatted certificates." - }, - "VideoSource": { - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.VideoSource", - "allOf": [ - { - "$ref": "#/definitions/SourceNodeBase" - } - ], - "properties": { - "videoName": { - "type": "string", - "description": "Name of the Video Analyzer video resource to be used as the source." - }, - "timeSequences": { - "$ref": "#/definitions/TimeSequenceBase", - "description": "Describes a sequence of datetime ranges. The video source only picks up recorded media within these ranges." - } - }, - "type": "object", - "required": [ - "videoName", - "timeSequences" - ], - "description": "Video source allows for content from a Video Analyzer video resource to be ingested into a pipeline. Currently supported only with batch pipelines." - }, - "TimeSequenceBase": { - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "The discriminator for derived types." - } - }, - "type": "object", - "required": [ - "@type" - ], - "description": "A sequence of datetime ranges as a string." - }, - "VideoSequenceAbsoluteTimeMarkers": { - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.VideoSequenceAbsoluteTimeMarkers", - "allOf": [ - { - "$ref": "#/definitions/TimeSequenceBase" - } - ], - "properties": { - "ranges": { - "type": "string", - "description": "The sequence of datetime ranges. Example: '[[\"2021-10-05T03:30:00Z\", \"2021-10-05T03:40:00Z\"]]'." - } - }, - "type": "object", - "required": [ - "ranges" - ], - "description": "A sequence of absolute datetime ranges as a string. The datetime values should follow IS08601, and the sum of the ranges should add up to 24 hours or less. Currently, there can be only one range specified in the sequence." - }, - "EncoderProcessor": { - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.EncoderProcessor", - "allOf": [ - { - "$ref": "#/definitions/ProcessorNodeBase" - } - ], - "properties": { - "preset": { - "$ref": "#/definitions/EncoderPresetBase", - "description": "The encoder preset, which defines the recipe or instructions on how the input content should be processed." - } - }, - "type": "object", - "required": [ - "preset" - ], - "description": "Encoder processor allows for encoding of the input content. For example, it can used to change the resolution from 4K to 1280x720." - }, - "EncoderPresetBase": { - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "The discriminator for derived types." - } - }, - "type": "object", - "required": [ - "@type" - ], - "description": "Base type for all encoder presets, which define the recipe or instructions on how the input content should be processed." - }, - "EncoderSystemPreset": { - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.EncoderSystemPreset", - "allOf": [ - { - "$ref": "#/definitions/EncoderPresetBase" - } - ], - "properties": { - "name": { - "type": "string", - "enum": [ - "SingleLayer_540p_H264_AAC", - "SingleLayer_720p_H264_AAC", - "SingleLayer_1080p_H264_AAC", - "SingleLayer_2160p_H264_AAC" - ], - "x-ms-enum": { - "name": "EncoderSystemPresetType", - "values": [ - { - "value": "SingleLayer_540p_H264_AAC", - "description": "Produces an MP4 file where the video is encoded with H.264 codec at a picture height of 540 pixels, and at a maximum bitrate of 2000 Kbps. Encoded video has the same average frame rate as the input. The aspect ratio of the input is preserved. If the input content has audio, then it is encoded with AAC-LC codec at 96 Kbps" - }, - { - "value": "SingleLayer_720p_H264_AAC", - "description": "Produces an MP4 file where the video is encoded with H.264 codec at a picture height of 720 pixels, and at a maximum bitrate of 3500 Kbps. Encoded video has the same average frame rate as the input. The aspect ratio of the input is preserved. If the input content has audio, then it is encoded with AAC-LC codec at 96 Kbps" - }, - { - "value": "SingleLayer_1080p_H264_AAC", - "description": "Produces an MP4 file where the video is encoded with H.264 codec at a picture height of 1080 pixels, and at a maximum bitrate of 6000 Kbps. Encoded video has the same average frame rate as the input. The aspect ratio of the input is preserved. If the input content has audio, then it is encoded with AAC-LC codec at 128 Kbps" - }, - { - "value": "SingleLayer_2160p_H264_AAC", - "description": "Produces an MP4 file where the video is encoded with H.264 codec at a picture height of 2160 pixels, and at a maximum bitrate of 16000 Kbps. Encoded video has the same average frame rate as the input. The aspect ratio of the input is preserved. If the input content has audio, then it is encoded with AAC-LC codec at 128 Kbps" - } - ], - "modelAsString": true - }, - "description": "Name of the built-in encoding preset." - } - }, - "type": "object", - "required": [ - "name" - ], - "description": "Describes a built-in preset for encoding the input content using the encoder processor." - }, - "EncoderCustomPreset": { - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.EncoderCustomPreset", - "allOf": [ - { - "$ref": "#/definitions/EncoderPresetBase" - } - ], - "properties": { - "audioEncoder": { - "$ref": "#/definitions/AudioEncoderBase", - "description": "Describes a custom preset for encoding audio." - }, - "videoEncoder": { - "$ref": "#/definitions/VideoEncoderBase", - "description": "Describes a custom preset for encoding video." - } - }, - "type": "object", - "description": "Describes a custom preset for encoding the input content using the encoder processor." - }, - "AudioEncoderBase": { - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "The discriminator for derived types." - }, - "bitrateKbps": { - "type": "string", - "description": "Bitrate, in kilobits per second or Kbps, at which audio should be encoded (2-channel stereo audio at a sampling rate of 48 kHz). Allowed values are 96, 112, 128, 160, 192, 224, and 256. If omitted, the bitrate of the input audio is used." - } - }, - "type": "object", - "required": [ - "@type" - ], - "description": "Base type for all audio encoder presets, which define the recipe or instructions on how audio should be processed." - }, - "VideoEncoderBase": { - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "The discriminator for derived types." - }, - "bitrateKbps": { - "type": "string", - "description": "The maximum bitrate, in kilobits per second or Kbps, at which video should be encoded. If omitted, encoder sets it automatically to try and match the quality of the input video." - }, - "frameRate": { - "type": "string", - "description": "The frame rate (in frames per second) of the encoded video. The value must be greater than zero, and less than or equal to 300. If omitted, the encoder uses the average frame rate of the input video." - }, - "scale": { - "$ref": "#/definitions/VideoScale", - "description": "Describes the resolution of the encoded video. If omitted, the encoder uses the resolution of the input video." - } - }, - "type": "object", - "required": [ - "@type" - ], - "description": "Base type for all video encoding presets, which define the recipe or instructions on how the input video should be processed." - }, - "AudioEncoderAac": { - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.AudioEncoderAac", - "allOf": [ - { - "$ref": "#/definitions/AudioEncoderBase" - } - ], - "properties": {}, - "type": "object", - "description": "A custom preset for encoding audio with the AAC codec." - }, - "VideoScale": { - "properties": { - "height": { - "type": "string", - "description": "The desired output video height." - }, - "width": { - "type": "string", - "description": "The desired output video width." - }, - "mode": { - "type": "string", - "enum": [ - "Pad", - "PreserveAspectRatio", - "Stretch" - ], - "x-ms-enum": { - "name": "VideoScaleMode", - "values": [ - { - "value": "Pad", - "description": "Pads the video with black horizontal stripes (letterbox) or black vertical stripes (pillar-box) so the video is resized to the specified dimensions while not altering the content aspect ratio." - }, - { - "value": "PreserveAspectRatio", - "description": "Preserves the same aspect ratio as the input video. If only one video dimension is provided, the second dimension is calculated based on the input video aspect ratio. When 2 dimensions are provided, the video is resized to fit the most constraining dimension, considering the input video size and aspect ratio." - }, - { - "value": "Stretch", - "description": "Stretches the original video so it resized to the specified dimensions." - } - ], - "modelAsString": true - }, - "description": "Describes the video scaling mode to be applied. Default mode is 'Pad'. If the mode is 'Pad' or 'Stretch' then both width and height must be specified. Else if the mode is 'PreserveAspectRatio' then only one of width or height need be provided." - } - }, - "type": "object", - "description": "The video scaling information." - }, - "VideoEncoderH264": { - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.VideoEncoderH264", - "allOf": [ - { - "$ref": "#/definitions/VideoEncoderBase" - } - ], - "properties": {}, - "type": "object", - "description": "A custom preset for encoding video with the H.264 (AVC) codec." - }, - "VideoSink": { - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.VideoSink", - "allOf": [ - { - "$ref": "#/definitions/SinkNodeBase" - } - ], - "properties": { - "videoName": { - "type": "string", - "description": "Name of a new or existing video resource used to capture and publish content. Note: if downstream of RTSP source, and if disableArchive is set to true, then no content is archived." - }, - "videoCreationProperties": { - "$ref": "#/definitions/VideoCreationProperties", - "description": "Optional video properties to be used in case a new video resource needs to be created on the service." - }, - "videoPublishingOptions": { - "$ref": "#/definitions/VideoPublishingOptions", - "description": "Options to change how the video sink publishes content via the video resource. This property is only allowed for topologies where \"kind\" is set to \"live\"." - } - }, - "type": "object", - "required": [ - "videoName" - ], - "description": "Video sink in a live topology allows for video and audio to be captured, optionally archived, and published via a video resource. If archiving is enabled, this results in a video of type 'archive'. If used in a batch topology, this allows for video and audio to be stored as a file, and published via a video resource of type 'file'" - }, - "VideoCreationProperties": { - "properties": { - "title": { - "type": "string", - "description": "Optional title provided by the user. Value can be up to 256 characters long." - }, - "description": { - "type": "string", - "description": "Optional description provided by the user. Value can be up to 2048 characters long." - }, - "segmentLength": { - "type": "string", - "description": "Segment length indicates the length of individual content 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. Changing this value after the initial call to create the video resource can lead to errors when uploading content to the archive. Default value is 30 seconds. This property is only allowed for topologies where \"kind\" is set to \"live\"." - }, - "retentionPeriod": { - "type": "string", - "description": "Video retention period indicates how long the video is kept in storage. Value must be specified in ISO8601 duration format (i.e. \"P1D\" equals 1 day) and can vary between 1 day to 10 years, in 1 day increments. When absent (null), all video content is retained indefinitely. This property is only allowed for topologies where \"kind\" is set to \"live\"." - } - }, - "type": "object", - "description": "Optional properties to be used in case a new video resource needs to be created on the service. These will not take effect if the video already exists." - }, - "VideoPublishingOptions": { - "properties": { - "disableArchive": { - "type": "string", - "description": "When set to 'true' content will not be archived or recorded. This is used, for example, when the topology is used only for low latency video streaming. Default is 'false'. If set to 'true', then \"disableRtspPublishing\" must be set to 'false'." - }, - "disableRtspPublishing": { - "type": "string", - "description": "When set to 'true' the RTSP playback URL will not be published, disabling low latency streaming. This is used, for example, when the topology is used only for archiving content. Default is 'false'. If set to 'true', then \"disableArchive\" must be set to 'false'." - } - }, - "type": "object", - "description": "Optional flags used to change how video is published. These are only allowed for topologies where \"kind\" is set to \"live\"." - }, - "ParameterDefinition": { - "properties": { - "name": { - "type": "string", - "description": "Name of the parameter declared in the pipeline topology." - }, - "value": { - "type": "string", - "description": "Parameter value to be applied on this specific pipeline." - } - }, - "type": "object", - "required": [ - "name" - ], - "description": "Defines the parameter value of an specific pipeline topology parameter. See pipeline topology parameters for more information." - }, - "PipelineTopology": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/PipelineTopologyProperties", - "description": "The resource properties.", - "x-ms-client-flatten": true - }, - "kind": { - "type": "string", - "enum": [ - "Live", - "Batch" - ], - "x-ms-enum": { - "name": "Kind", - "values": [ - { - "value": "Live", - "description": "Live pipeline topology resource." - }, - { - "value": "Batch", - "description": "Batch pipeline topology resource." - } - ], - "modelAsString": true - }, - "description": "Topology kind." - }, - "sku": { - "$ref": "#/definitions/Sku", - "description": "Describes the properties of a SKU." - } - }, - "type": "object", - "required": [ - "kind", - "sku" - ], - "description": "Pipeline topology describes the processing steps to be applied when processing content for a particular outcome. The topology should be defined according to the scenario to be achieved and can be reused across many pipeline instances which share the same processing characteristics. For instance, a pipeline topology which captures content from a RTSP camera and archives the content can be reused across many different cameras, as long as the same processing is to be applied across all the cameras. Individual instance properties can be defined through the use of user-defined parameters, which allow for a topology to be parameterized. This allows individual pipelines refer to different values, such as individual cameras' RTSP endpoints and credentials. Overall a topology is composed of the following:\r\n\r\n - Parameters: list of user defined parameters that can be references across the topology nodes.\r\n - Sources: list of one or more data sources nodes such as an RTSP source which allows for content to be ingested from cameras.\r\n - Processors: list of nodes which perform data analysis or transformations.\r\n - Sinks: list of one or more data sinks which allow for data to be stored or exported to other destinations." - }, - "PipelineTopologyUpdate": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/PipelineTopologyPropertiesUpdate", - "description": "The resource properties.", - "x-ms-client-flatten": true - }, - "kind": { - "type": "string", - "enum": [ - "Live", - "Batch" - ], - "x-ms-enum": { - "name": "Kind", - "values": [ - { - "value": "Live", - "description": "Live pipeline topology resource." - }, - { - "value": "Batch", - "description": "Batch pipeline topology resource." - } - ], - "modelAsString": true - }, - "description": "Topology kind." - }, - "sku": { - "$ref": "#/definitions/Sku", - "description": "Describes the properties of a SKU." - } - }, - "type": "object", - "description": "Pipeline topology describes the processing steps to be applied when processing content for a particular outcome. The topology should be defined according to the scenario to be achieved and can be reused across many pipeline instances which share the same processing characteristics. For instance, a pipeline topology which captures content from a RTSP camera and archives the content can be reused across many different cameras, as long as the same processing is to be applied across all the cameras. Individual instance properties can be defined through the use of user-defined parameters, which allow for a topology to be parameterized. This allows individual pipelines refer to different values, such as individual cameras' RTSP endpoints and credentials. Overall a topology is composed of the following:\r\n\r\n - Parameters: list of user defined parameters that can be references across the topology nodes.\r\n - Sources: list of one or more data sources nodes such as an RTSP source which allows for content to be ingested from cameras.\r\n - Processors: list of nodes which perform data analysis or transformations.\r\n - Sinks: list of one or more data sinks which allow for data to be stored or exported to other destinations." - }, - "LivePipelineProperties": { - "properties": { - "topologyName": { - "type": "string", - "description": "The reference to an existing pipeline topology defined for real-time content processing. When activated, this live pipeline will process content according to the pipeline topology definition." - }, - "description": { - "type": "string", - "description": "An optional description for the pipeline." - }, - "bitrateKbps": { - "type": "integer", - "format": "int32", - "description": "Maximum bitrate capacity in Kbps reserved for the live pipeline. The allowed range is from 500 to 3000 Kbps in increments of 100 Kbps. If the RTSP camera exceeds this capacity, then the service will disconnect temporarily from the camera. It will retry to re-establish connection (with exponential backoff), checking to see if the camera bitrate is now below the reserved capacity. Doing so will ensure that one 'noisy neighbor' does not affect other live pipelines in your account." - }, - "state": { - "type": "string", - "enum": [ - "Inactive", - "Activating", - "Active", - "Deactivating" - ], - "x-ms-enum": { - "name": "LivePipelineState", - "values": [ - { - "value": "Inactive", - "description": "The live pipeline is idle and not processing media." - }, - { - "value": "Activating", - "description": "The live pipeline is transitioning into the active state." - }, - { - "value": "Active", - "description": "The live pipeline is active and able to process media. If your data source is not available, for instance, if your RTSP camera is powered off or unreachable, the pipeline will still be active and periodically retrying the connection. Your Azure subscription will be billed for the duration in which the live pipeline is in the active state." - }, - { - "value": "Deactivating", - "description": "The live pipeline is transitioning into the inactive state." - } - ], - "modelAsString": true - }, - "description": "Current state of the pipeline (read-only).", - "readOnly": true, - "x-nullable": false - }, - "parameters": { - "type": "array", - "items": { - "$ref": "#/definitions/ParameterDefinition" - }, - "x-ms-identifiers": [ - "name" - ], - "description": "List of the instance level parameter values for the user-defined topology parameters. A pipeline can only define or override parameters values for parameters which have been declared in the referenced topology. Topology parameters without a default value must be defined. Topology parameters with a default value can be optionally be overridden." - } - }, - "type": "object", - "required": [ - "topologyName", - "bitrateKbps" - ], - "description": "Live pipeline properties." - }, - "LivePipelinePropertiesUpdate": { - "properties": { - "topologyName": { - "type": "string", - "description": "The reference to an existing pipeline topology defined for real-time content processing. When activated, this live pipeline will process content according to the pipeline topology definition." - }, - "description": { - "type": "string", - "description": "An optional description for the pipeline." - }, - "bitrateKbps": { - "type": "integer", - "format": "int32", - "description": "Maximum bitrate capacity in Kbps reserved for the live pipeline. The allowed range is from 500 to 3000 Kbps in increments of 100 Kbps. If the RTSP camera exceeds this capacity, then the service will disconnect temporarily from the camera. It will retry to re-establish connection (with exponential backoff), checking to see if the camera bitrate is now below the reserved capacity. Doing so will ensure that one 'noisy neighbor' does not affect other live pipelines in your account." - }, - "state": { - "type": "string", - "enum": [ - "Inactive", - "Activating", - "Active", - "Deactivating" - ], - "x-ms-enum": { - "name": "LivePipelineState", - "values": [ - { - "value": "Inactive", - "description": "The live pipeline is idle and not processing media." - }, - { - "value": "Activating", - "description": "The live pipeline is transitioning into the active state." - }, - { - "value": "Active", - "description": "The live pipeline is active and able to process media. If your data source is not available, for instance, if your RTSP camera is powered off or unreachable, the pipeline will still be active and periodically retrying the connection. Your Azure subscription will be billed for the duration in which the live pipeline is in the active state." - }, - { - "value": "Deactivating", - "description": "The live pipeline is transitioning into the inactive state." - } - ], - "modelAsString": true - }, - "description": "Current state of the pipeline (read-only).", - "readOnly": true, - "x-nullable": false - }, - "parameters": { - "type": "array", - "items": { - "$ref": "#/definitions/ParameterDefinition" - }, - "x-ms-identifiers": [ - "name" - ], - "description": "List of the instance level parameter values for the user-defined topology parameters. A pipeline can only define or override parameters values for parameters which have been declared in the referenced topology. Topology parameters without a default value must be defined. Topology parameters with a default value can be optionally be overridden." - } - }, - "type": "object", - "description": "Live pipeline properties." - }, - "LivePipeline": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/LivePipelineProperties", - "description": "The resource properties.", - "x-ms-client-flatten": true - } - }, - "type": "object", - "description": "Live pipeline represents a unique instance of a live topology, used for real-time ingestion, archiving and publishing of content for a unique RTSP camera." - }, - "LivePipelineUpdate": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/LivePipelinePropertiesUpdate", - "description": "The resource properties.", - "x-ms-client-flatten": true - } - }, - "type": "object", - "description": "Live pipeline represents a unique instance of a live topology, used for real-time ingestion, archiving and publishing of content for a unique RTSP camera." - }, - "PipelineJobProperties": { - "properties": { - "topologyName": { - "type": "string", - "description": "Reference to an existing pipeline topology. When activated, this pipeline job will process content according to the pipeline topology definition." - }, - "description": { - "type": "string", - "description": "An optional description for the pipeline." - }, - "state": { - "type": "string", - "enum": [ - "Processing", - "Canceled", - "Completed", - "Failed" - ], - "x-ms-enum": { - "name": "PipelineJobState", - "values": [ - { - "value": "Processing", - "description": "Pipeline job is processing." - }, - { - "value": "Canceled", - "description": "Pipeline job is canceled." - }, - { - "value": "Completed", - "description": "Pipeline job completed." - }, - { - "value": "Failed", - "description": "Pipeline job failed." - } - ], - "modelAsString": true - }, - "description": "Current state of the pipeline (read-only).", - "readOnly": true, - "x-nullable": false - }, - "expiration": { - "type": "string", - "format": "date-time", - "description": "The date-time by when this pipeline job will be automatically deleted from your account.", - "readOnly": true, - "x-nullable": false - }, - "error": { - "$ref": "#/definitions/PipelineJobError", - "description": "Details about the error, in case the pipeline job fails.", - "readOnly": true - }, - "parameters": { - "type": "array", - "items": { - "$ref": "#/definitions/ParameterDefinition" - }, - "x-ms-identifiers": [ - "name" - ], - "description": "List of the instance level parameter values for the user-defined topology parameters. A pipeline can only define or override parameters values for parameters which have been declared in the referenced topology. Topology parameters without a default value must be defined. Topology parameters with a default value can be optionally be overridden." - } - }, - "type": "object", - "required": [ - "topologyName" - ], - "description": "Pipeline job properties." - }, - "PipelineJobPropertiesUpdate": { - "properties": { - "topologyName": { - "type": "string", - "description": "Reference to an existing pipeline topology. When activated, this pipeline job will process content according to the pipeline topology definition." - }, - "description": { - "type": "string", - "description": "An optional description for the pipeline." - }, - "state": { - "type": "string", - "enum": [ - "Processing", - "Canceled", - "Completed", - "Failed" - ], - "x-ms-enum": { - "name": "PipelineJobState", - "values": [ - { - "value": "Processing", - "description": "Pipeline job is processing." - }, - { - "value": "Canceled", - "description": "Pipeline job is canceled." - }, - { - "value": "Completed", - "description": "Pipeline job completed." - }, - { - "value": "Failed", - "description": "Pipeline job failed." - } - ], - "modelAsString": true - }, - "description": "Current state of the pipeline (read-only).", - "readOnly": true, - "x-nullable": false - }, - "expiration": { - "type": "string", - "format": "date-time", - "description": "The date-time by when this pipeline job will be automatically deleted from your account.", - "readOnly": true, - "x-nullable": false - }, - "error": { - "$ref": "#/definitions/PipelineJobError", - "description": "Details about the error, in case the pipeline job fails.", - "readOnly": true - }, - "parameters": { - "type": "array", - "items": { - "$ref": "#/definitions/ParameterDefinition" - }, - "x-ms-identifiers": [ - "name" - ], - "description": "List of the instance level parameter values for the user-defined topology parameters. A pipeline can only define or override parameters values for parameters which have been declared in the referenced topology. Topology parameters without a default value must be defined. Topology parameters with a default value can be optionally be overridden." - } - }, - "type": "object", - "description": "Pipeline job properties." - }, - "PipelineJobError": { - "properties": { - "code": { - "type": "string", - "description": "The error code." - }, - "message": { - "type": "string", - "description": "The error message." - } - }, - "type": "object", - "description": "Details about the error for a failed pipeline job." - }, - "PipelineJob": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/PipelineJobProperties", - "description": "The resource properties.", - "x-ms-client-flatten": true - } - }, - "type": "object", - "description": "Pipeline job represents a unique instance of a batch topology, used for offline processing of selected portions of archived content." - }, - "PipelineJobUpdate": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/PipelineJobPropertiesUpdate", - "description": "The resource properties.", - "x-ms-client-flatten": true - } - }, - "type": "object", - "description": "Pipeline job represents a unique instance of a batch topology, used for offline processing of selected portions of archived content." - }, - "LivePipelineOperationStatus": { - "properties": { - "name": { - "type": "string", - "description": "The name of the live pipeline operation.", - "readOnly": true - }, - "status": { - "type": "string", - "description": "The status of the live pipeline operation.", - "readOnly": true - }, - "error": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", - "description": "The error details for the live pipeline operation.", - "readOnly": true - } - }, - "type": "object", - "description": "Used for tracking the status of an operation on the live pipeline." - }, - "PipelineJobOperationStatus": { - "properties": { - "name": { - "type": "string", - "description": "The name of the pipeline job operation.", - "readOnly": true - }, - "status": { - "type": "string", - "description": "The status of the pipeline job operation.", - "readOnly": true - }, - "error": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", - "description": "The error details for the pipeline job operation.", - "readOnly": true - } - }, - "type": "object", - "description": "Used for tracking the status of an operation on the pipeline job." - }, - "PipelineTopologyCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/PipelineTopology" - }, - "description": "A collection of PipelineTopology items." - }, - "@nextLink": { - "type": "string", - "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)." - } - }, - "type": "object", - "description": "A collection of PipelineTopology items." - }, - "LivePipelineCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/LivePipeline" - }, - "description": "A collection of LivePipeline items." - }, - "@nextLink": { - "type": "string", - "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)." - } - }, - "type": "object", - "description": "A collection of LivePipeline items." - }, - "PipelineJobCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/PipelineJob" - }, - "description": "A collection of PipelineJob items." - }, - "@nextLink": { - "type": "string", - "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)." - } - }, - "type": "object", - "description": "A collection of PipelineJob items." - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/pipelineTopologies": { - "get": { - "summary": "Retrieves a list of pipeline topologies.", - "description": "Retrieves a list of pipeline topologies that have been added to the account, if any, along with their JSON representation.", - "operationId": "PipelineTopologies_List", - "responses": { - "200": { - "description": "Pipeline topologies were successfully retrieved.", - "schema": { - "$ref": "#/definitions/PipelineTopologyCollection" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "Restricts the set of items returned." - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n." - } - ], - "x-ms-pageable": { - "nextLinkName": "@nextLink" - }, - "x-ms-examples": { - "List all pipeline topologies": { - "$ref": "examples/pipeline-topology-list.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/pipelineTopologies/{pipelineTopologyName}": { - "get": { - "summary": "Retrieves a specific pipeline topology by name.", - "description": "Retrieves a specific pipeline topology by name. If a topology with that name has been previously created, the call will return the JSON representation of that topology.", - "operationId": "PipelineTopologies_Get", - "responses": { - "200": { - "description": "Pipeline topology was retrieved successfully.", - "schema": { - "$ref": "#/definitions/PipelineTopology" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "pipelineTopologyName", - "in": "path", - "required": true, - "type": "string", - "description": "Pipeline topology unique identifier." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Get a pipeline topology by name": { - "$ref": "examples/pipeline-topology-get-by-name.json" - } - } - }, - "put": { - "summary": "Creates or updates a pipeline topology.", - "description": "Creates a new pipeline topology or updates an existing one, with the given name. A pipeline topology describes the processing steps to be applied when processing content for a particular outcome. The topology should be defined according to the scenario to be achieved and can be reused across many pipeline instances which share the same processing characteristics.", - "operationId": "PipelineTopologies_CreateOrUpdate", - "responses": { - "200": { - "description": "The existing pipeline topology was updated.", - "schema": { - "$ref": "#/definitions/PipelineTopology" - } - }, - "201": { - "description": "A new pipeline topology was created.", - "schema": { - "$ref": "#/definitions/PipelineTopology" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "pipelineTopologyName", - "in": "path", - "required": true, - "type": "string", - "description": "Pipeline topology unique identifier." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/PipelineTopology" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Create or update a pipeline topology with an Rtsp source and video sink.": { - "$ref": "examples/pipeline-topology-create.json" - } - } - }, - "delete": { - "summary": "Deletes a pipeline topology.", - "description": "Deletes a pipeline topology with the given name. This method should be called after all instances of the topology have been stopped and deleted.", - "operationId": "PipelineTopologies_Delete", - "responses": { - "200": { - "description": "The pipeline topology was deleted successfully." - }, - "204": { - "description": "The pipeline topology was not found." - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "pipelineTopologyName", - "in": "path", - "required": true, - "type": "string", - "description": "Pipeline topology unique identifier." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Delete a pipeline topology": { - "$ref": "examples/pipeline-topology-delete.json" - } - } - }, - "patch": { - "summary": "Updates an existing pipeline topology.", - "description": "Updates an existing pipeline topology with the given name. If the associated live pipelines or pipeline jobs are in active or processing state, respectively, then only the description can be updated. Else, the properties that can be updated include: description, parameter declarations, sources, processors, and sinks.", - "operationId": "PipelineTopologies_Update", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PipelineTopology" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "pipelineTopologyName", - "in": "path", - "required": true, - "type": "string", - "description": "Pipeline topology unique identifier." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/PipelineTopologyUpdate" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Update pipeline topology.": { - "$ref": "examples/pipeline-topology-patch.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/livePipelines": { - "get": { - "summary": "Retrieves a list of live pipelines.", - "description": "Retrieves a list of live pipelines that have been created, along with their JSON representations.", - "operationId": "LivePipelines_List", - "responses": { - "200": { - "description": "List of live pipelines that were successfully retrieved.", - "schema": { - "$ref": "#/definitions/LivePipelineCollection" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "Restricts the set of items returned." - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n." - } - ], - "x-ms-pageable": { - "nextLinkName": "@nextLink" - }, - "x-ms-examples": { - "List live pipelines": { - "$ref": "examples/live-pipeline-list.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/livePipelines/{livePipelineName}": { - "get": { - "summary": "Retrieves a specific live pipeline by name.", - "description": "Retrieves a specific live pipeline by name. If a live pipeline with that name has been previously created, the call will return the JSON representation of that instance.", - "operationId": "LivePipelines_Get", - "responses": { - "200": { - "description": "The live pipeline was retrieved successfully.", - "schema": { - "$ref": "#/definitions/LivePipeline" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "livePipelineName", - "in": "path", - "required": true, - "type": "string", - "description": "Live pipeline unique identifier." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Retrieves a specific live pipeline by name": { - "$ref": "examples/live-pipeline-get-by-name.json" - } - } - }, - "put": { - "summary": "Creates or updates a live pipeline.", - "description": "Creates a new live pipeline or updates an existing one, with the given name.", - "operationId": "LivePipelines_CreateOrUpdate", - "responses": { - "200": { - "description": "The existing live pipeline was updated.", - "schema": { - "$ref": "#/definitions/LivePipeline" - } - }, - "201": { - "description": "A new live pipeline was created.", - "schema": { - "$ref": "#/definitions/LivePipeline" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "livePipelineName", - "in": "path", - "required": true, - "type": "string", - "description": "Live pipeline unique identifier." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LivePipeline" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Create or update a live pipeline": { - "$ref": "examples/live-pipeline-create.json" - } - } - }, - "delete": { - "summary": "Deletes a live pipeline.", - "description": "Deletes a live pipeline with the given name.", - "operationId": "LivePipelines_Delete", - "responses": { - "200": { - "description": "The live pipeline was deleted successfully." - }, - "204": { - "description": "The live pipeline was not found." - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "livePipelineName", - "in": "path", - "required": true, - "type": "string", - "description": "Live pipeline unique identifier." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Delete a live pipeline": { - "$ref": "examples/live-pipeline-delete.json" - } - } - }, - "patch": { - "summary": "Updates an existing live pipeline.", - "description": "Updates an existing live pipeline with the given name. Properties that can be updated include: description, bitrateKbps, and parameter definitions. Only the description can be updated while the live pipeline is active.", - "operationId": "LivePipelines_Update", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/LivePipeline" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "livePipelineName", - "in": "path", - "required": true, - "type": "string", - "description": "Live pipeline unique identifier." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LivePipelineUpdate" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Updates a live pipeline.": { - "$ref": "examples/live-pipeline-patch.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/livePipelines/{livePipelineName}/activate": { - "post": { - "summary": "Activates a live pipeline.", - "description": "Activates a live pipeline with the given name.", - "operationId": "LivePipelines_Activate", - "responses": { - "202": { - "description": "Request to activate a live pipeline was accepted, and is being processed." - }, - "200": { - "description": "The live pipeline was activated successfully." - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "livePipelineName", - "in": "path", - "required": true, - "type": "string", - "description": "Live pipeline unique identifier." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Activate live pipeline": { - "$ref": "examples/live-pipeline-activate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/livePipelines/{livePipelineName}/deactivate": { - "post": { - "summary": "Deactivates a live pipeline.", - "description": "Deactivates a live pipeline with the given name.", - "operationId": "LivePipelines_Deactivate", - "responses": { - "202": { - "description": "Request to deactivate a live pipeline was accepted, and is being processed." - }, - "200": { - "description": "The live pipeline was deactivated successfully." - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "livePipelineName", - "in": "path", - "required": true, - "type": "string", - "description": "Live pipeline unique identifier." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Deactivate Live pipeline": { - "$ref": "examples/live-pipeline-deactivate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/pipelineJobs": { - "get": { - "summary": "Retrieves a list of pipeline jobs.", - "description": "Retrieves a list of all live pipelines that have been created, along with their JSON representations.", - "operationId": "PipelineJobs_List", - "responses": { - "200": { - "description": "List of pipeline jobs that were successfully retrieved.", - "schema": { - "$ref": "#/definitions/PipelineJobCollection" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "Restricts the set of items returned." - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n." - } - ], - "x-ms-pageable": { - "nextLinkName": "@nextLink" - }, - "x-ms-examples": { - "List all pipeline jobs": { - "$ref": "examples/pipeline-job-list.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/pipelineJobs/{pipelineJobName}": { - "get": { - "summary": "Gets a specific pipeline job by name.", - "description": "Retrieves a specific pipeline job by name. If a pipeline job with that name has been previously created, the call will return the JSON representation of that instance.", - "operationId": "PipelineJobs_Get", - "responses": { - "200": { - "description": "Pipeline job was retrieved successfully.", - "schema": { - "$ref": "#/definitions/PipelineJob" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "pipelineJobName", - "in": "path", - "required": true, - "type": "string", - "description": "The pipeline job name." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Get a pipeline job by name": { - "$ref": "examples/pipeline-job-get-by-name.json" - } - } - }, - "put": { - "summary": "Creates or updates a pipeline job.", - "description": "Creates a new pipeline job or updates an existing one, with the given name.", - "operationId": "PipelineJobs_CreateOrUpdate", - "responses": { - "200": { - "description": "The existing pipeline job was updated.", - "schema": { - "$ref": "#/definitions/PipelineJob" - } - }, - "201": { - "description": "A new pipeline job was created.", - "schema": { - "$ref": "#/definitions/PipelineJob" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "pipelineJobName", - "in": "path", - "required": true, - "type": "string", - "description": "The pipeline job name." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/PipelineJob" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Create or update a pipeline job": { - "$ref": "examples/pipeline-job-create.json" - } - } - }, - "delete": { - "summary": "Deletes a pipeline job.", - "description": "Deletes a pipeline job with the given name.", - "operationId": "PipelineJobs_Delete", - "responses": { - "200": { - "description": "The pipeline job was deleted successfully." - }, - "204": { - "description": "The pipeline job was not found." - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "pipelineJobName", - "in": "path", - "required": true, - "type": "string", - "description": "The pipeline job name." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Deletes a pipeline job": { - "$ref": "examples/pipeline-job-delete.json" - } - } - }, - "patch": { - "summary": "Updates an existing pipeline job.", - "description": "Updates an existing pipeline job with the given name. Properties that can be updated include: description.", - "operationId": "PipelineJobs_Update", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PipelineJob" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "pipelineJobName", - "in": "path", - "required": true, - "type": "string", - "description": "The pipeline job name." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/PipelineJobUpdate" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Updates a pipeline job": { - "$ref": "examples/pipeline-job-patch.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/pipelineJobs/{pipelineJobName}/cancel": { - "post": { - "summary": "Cancels a pipeline job.", - "description": "Cancels a pipeline job with the given name.", - "operationId": "PipelineJobs_Cancel", - "responses": { - "202": { - "description": "Request to cancel the pipeline job was accepted, and is being processed." - }, - "200": { - "description": "The pipeline job was cancelled successfully." - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "pipelineJobName", - "in": "path", - "required": true, - "type": "string", - "description": "The pipeline job name." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Cancels a pipeline job": { - "$ref": "examples/pipeline-job-cancel.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/livePipelines/{livePipelineName}/operationStatuses/{operationId}": { - "get": { - "summary": "Get the operation status", - "description": "Get the operation status of a live pipeline.", - "operationId": "LivePipelineOperationStatuses_Get", - "responses": { - "200": { - "description": "Live pipeline operation status was retrieved successfully.", - "schema": { - "$ref": "#/definitions/LivePipelineOperationStatus" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "livePipelineName", - "in": "path", - "required": true, - "type": "string", - "description": "Live pipeline unique identifier." - }, - { - "name": "operationId", - "in": "path", - "required": true, - "type": "string", - "description": "The operation ID." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Get the live pipeline operation status.": { - "$ref": "examples/live-pipeline-operation-status-get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/pipelineJobs/{pipelineJobName}/operationStatuses/{operationId}": { - "get": { - "summary": "Get the operation statuses.", - "description": "Get the operation status of a pipeline job with the given operationId.", - "operationId": "PipelineJobOperationStatuses_Get", - "responses": { - "200": { - "description": "The pipeline job operation status was retrieved successfully.", - "schema": { - "$ref": "#/definitions/PipelineJobOperationStatus" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "pipelineJobName", - "in": "path", - "required": true, - "type": "string", - "description": "The pipeline job name." - }, - { - "name": "operationId", - "in": "path", - "required": true, - "type": "string", - "description": "The operation ID." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Get the pipeline job operation status.": { - "$ref": "examples/pipeline-job-operation-status-get.json" - } - } - } - } - }, - "parameters": { - "AzureVideoAnalyzerAccountName": { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure Video Analyzer account name.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/VideoAnalyzers.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/VideoAnalyzers.json deleted file mode 100644 index b068bbfd71c2..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/VideoAnalyzers.json +++ /dev/null @@ -1,1840 +0,0 @@ -{ - "schemes": [ - "https" - ], - "swagger": "2.0", - "info": { - "title": "Azure Video Analyzer", - "description": "Azure Video Analyzer resource provider API definition.", - "version": "2021-11-01-preview" - }, - "host": "management.azure.com", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "Impersonate your user account" - } - } - }, - "definitions": { - "OperationDisplay": { - "properties": { - "provider": { - "type": "string", - "description": "The service provider." - }, - "resource": { - "type": "string", - "description": "Resource on which the operation is performed." - }, - "operation": { - "type": "string", - "description": "The operation type." - }, - "description": { - "type": "string", - "description": "The operation description." - } - }, - "type": "object", - "description": "Operation details." - }, - "MetricDimension": { - "properties": { - "name": { - "type": "string", - "description": "The metric dimension name.", - "readOnly": true - }, - "displayName": { - "type": "string", - "description": "The display name for the dimension.", - "readOnly": true - }, - "toBeExportedForShoebox": { - "type": "boolean", - "description": "Whether to export metric to shoebox.", - "readOnly": true, - "x-nullable": false - } - }, - "type": "object", - "description": "A metric dimension." - }, - "MetricSpecification": { - "properties": { - "name": { - "type": "string", - "description": "The metric name.", - "readOnly": true - }, - "displayName": { - "type": "string", - "description": "The metric display name.", - "readOnly": true - }, - "displayDescription": { - "type": "string", - "description": "The metric display description.", - "readOnly": true - }, - "unit": { - "type": "string", - "enum": [ - "Bytes", - "Count", - "Milliseconds" - ], - "x-ms-enum": { - "name": "MetricUnit", - "values": [ - { - "value": "Bytes", - "description": "The number of bytes." - }, - { - "value": "Count", - "description": "The count." - }, - { - "value": "Milliseconds", - "description": "The number of milliseconds." - } - ], - "modelAsString": true - }, - "description": "The metric unit", - "readOnly": true, - "x-nullable": false - }, - "aggregationType": { - "type": "string", - "enum": [ - "Average", - "Count", - "Total" - ], - "x-ms-enum": { - "name": "MetricAggregationType", - "values": [ - { - "value": "Average", - "description": "The average." - }, - { - "value": "Count", - "description": "The count of a number of items, usually requests." - }, - { - "value": "Total", - "description": "The sum." - } - ], - "modelAsString": true - }, - "description": "The metric aggregation type", - "readOnly": true, - "x-nullable": false - }, - "lockAggregationType": { - "type": "string", - "enum": [ - "Average", - "Count", - "Total" - ], - "x-ms-enum": { - "name": "MetricAggregationType", - "values": [ - { - "value": "Average", - "description": "The average." - }, - { - "value": "Count", - "description": "The count of a number of items, usually requests." - }, - { - "value": "Total", - "description": "The sum." - } - ], - "modelAsString": true - }, - "description": "The metric lock aggregation type", - "readOnly": true, - "x-nullable": true - }, - "supportedAggregationTypes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Supported aggregation types." - }, - "dimensions": { - "type": "array", - "items": { - "$ref": "#/definitions/MetricDimension" - }, - "x-ms-identifiers": [ - "name" - ], - "description": "The metric dimensions.", - "readOnly": true - }, - "enableRegionalMdmAccount": { - "type": "boolean", - "description": "Indicates whether regional MDM account is enabled.", - "readOnly": true, - "x-nullable": false - }, - "sourceMdmAccount": { - "type": "string", - "description": "The source MDM account.", - "readOnly": true - }, - "sourceMdmNamespace": { - "type": "string", - "description": "The source MDM namespace.", - "readOnly": true - }, - "supportedTimeGrainTypes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The supported time grain types.", - "readOnly": true - } - }, - "type": "object", - "description": "A metric emitted by service." - }, - "Properties": { - "properties": { - "serviceSpecification": { - "$ref": "#/definitions/ServiceSpecification", - "description": "The service specifications.", - "readOnly": true - } - }, - "type": "object", - "description": "Metric properties." - }, - "ServiceSpecification": { - "properties": { - "logSpecifications": { - "type": "array", - "items": { - "$ref": "#/definitions/LogSpecification" - }, - "x-ms-identifiers": [ - "blobDuration", - "name" - ], - "description": "List of log specifications.", - "readOnly": true - }, - "metricSpecifications": { - "type": "array", - "items": { - "$ref": "#/definitions/MetricSpecification" - }, - "x-ms-identifiers": [ - "name", - "unit" - ], - "description": "List of metric specifications.", - "readOnly": true - } - }, - "type": "object", - "description": "The service metric specifications." - }, - "LogSpecification": { - "properties": { - "name": { - "type": "string", - "description": "The diagnostic log category name.", - "readOnly": true - }, - "displayName": { - "type": "string", - "description": "The diagnostic log category display name.", - "readOnly": true - }, - "blobDuration": { - "type": "string", - "description": "The time range for requests in each blob.", - "readOnly": true - } - }, - "type": "object", - "description": "A diagnostic log emitted by service." - }, - "Operation": { - "properties": { - "name": { - "type": "string", - "description": "The operation name." - }, - "display": { - "$ref": "#/definitions/OperationDisplay", - "description": "The operation display name." - }, - "origin": { - "type": "string", - "description": "Origin of the operation." - }, - "properties": { - "$ref": "#/definitions/Properties", - "description": "Operation properties format." - }, - "isDataAction": { - "type": "boolean", - "description": "Whether the operation applies to data-plane.", - "x-nullable": true - }, - "actionType": { - "type": "string", - "enum": [ - "Internal" - ], - "x-ms-enum": { - "name": "ActionType", - "values": [ - { - "value": "Internal", - "description": "An internal action." - } - ], - "modelAsString": true - }, - "description": "Indicates the action type.", - "x-nullable": true - } - }, - "type": "object", - "required": [ - "name" - ], - "description": "An operation." - }, - "StorageAccount": { - "properties": { - "id": { - "type": "string", - "description": "The ID of the storage account resource. Video Analyzer relies on tables, queues, and blobs. The primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage)." - }, - "identity": { - "$ref": "#/definitions/ResourceIdentity", - "description": "A managed identity that Video Analyzer will use to access the storage account." - }, - "status": { - "type": "string", - "description": "The current status of the storage account mapping.", - "readOnly": true - } - }, - "type": "object", - "required": [ - "id" - ], - "description": "The details about the associated storage account." - }, - "VideoAnalyzerProperties": { - "properties": { - "storageAccounts": { - "type": "array", - "items": { - "$ref": "#/definitions/StorageAccount" - }, - "description": "The storage accounts for this resource." - }, - "endpoints": { - "type": "array", - "items": { - "$ref": "#/definitions/Endpoint" - }, - "x-ms-identifiers": [ - "endpointUrl" - ], - "description": "The endpoints associated with this resource.", - "readOnly": true - }, - "encryption": { - "$ref": "#/definitions/AccountEncryption", - "description": "The account encryption properties." - }, - "iotHubs": { - "type": "array", - "items": { - "$ref": "#/definitions/IotHub" - }, - "description": "The IoT Hubs for this resource." - }, - "publicNetworkAccess": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "PublicNetworkAccess", - "values": [ - { - "value": "Enabled", - "description": "Public network access is enabled." - }, - { - "value": "Disabled", - "description": "Public network access is disabled." - } - ], - "modelAsString": true - }, - "description": "Whether or not public network access is allowed for resources under the Video Analyzer account.", - "x-nullable": true - }, - "networkAccessControl": { - "$ref": "#/definitions/NetworkAccessControl", - "description": "Network access control for Video Analyzer.", - "x-nullable": true - }, - "provisioningState": { - "type": "string", - "enum": [ - "Failed", - "InProgress", - "Succeeded" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "values": [ - { - "value": "Failed", - "description": "Provisioning state failed." - }, - { - "value": "InProgress", - "description": "Provisioning state in progress." - }, - { - "value": "Succeeded", - "description": "Provisioning state succeeded." - } - ], - "modelAsString": true - }, - "description": "Provisioning state of the Video Analyzer account.", - "readOnly": true, - "x-nullable": false - }, - "privateEndpointConnections": { - "items": { - "$ref": "../../../../../common-types/resource-management/v3/privatelinks.json#/definitions/PrivateEndpointConnection" - }, - "type": "array", - "description": "Private Endpoint Connections created under Video Analyzer account.", - "readOnly": true - } - }, - "type": "object", - "required": [ - "storageAccounts" - ], - "description": "The properties of the Video Analyzer account." - }, - "VideoAnalyzerPropertiesUpdate": { - "properties": { - "storageAccounts": { - "type": "array", - "items": { - "$ref": "#/definitions/StorageAccount" - }, - "description": "The storage accounts for this resource." - }, - "endpoints": { - "type": "array", - "items": { - "$ref": "#/definitions/Endpoint" - }, - "x-ms-identifiers": [ - "endpointUrl" - ], - "description": "The endpoints associated with this resource.", - "readOnly": true - }, - "encryption": { - "$ref": "#/definitions/AccountEncryption", - "description": "The account encryption properties." - }, - "iotHubs": { - "type": "array", - "items": { - "$ref": "#/definitions/IotHub" - }, - "description": "The IoT Hubs for this resource." - }, - "publicNetworkAccess": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "PublicNetworkAccess", - "values": [ - { - "value": "Enabled", - "description": "Public network access is enabled." - }, - { - "value": "Disabled", - "description": "Public network access is disabled." - } - ], - "modelAsString": true - }, - "description": "Whether or not public network access is allowed for resources under the Video Analyzer account.", - "x-nullable": true - }, - "networkAccessControl": { - "$ref": "#/definitions/NetworkAccessControl", - "description": "Network access control for Video Analyzer.", - "x-nullable": true - }, - "provisioningState": { - "type": "string", - "enum": [ - "Failed", - "InProgress", - "Succeeded" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "values": [ - { - "value": "Failed", - "description": "Provisioning state failed." - }, - { - "value": "InProgress", - "description": "Provisioning state in progress." - }, - { - "value": "Succeeded", - "description": "Provisioning state succeeded." - } - ], - "modelAsString": true - }, - "description": "Provisioning state of the Video Analyzer account.", - "readOnly": true, - "x-nullable": false - }, - "privateEndpointConnections": { - "items": { - "$ref": "../../../../../common-types/resource-management/v3/privatelinks.json#/definitions/PrivateEndpointConnection" - }, - "type": "array", - "description": "Private Endpoint Connections created under Video Analyzer account.", - "readOnly": true - } - }, - "type": "object", - "description": "The properties of the Video Analyzer account." - }, - "VideoAnalyzer": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/VideoAnalyzerProperties", - "description": "The resource properties.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/VideoAnalyzerIdentity", - "description": "The identities associated to the Video Analyzer resource." - } - }, - "type": "object", - "description": "The Video Analyzer account." - }, - "VideoAnalyzerUpdate": { - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Resource tags." - }, - "properties": { - "$ref": "#/definitions/VideoAnalyzerPropertiesUpdate", - "description": "The resource properties.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/VideoAnalyzerIdentity", - "description": "The identities associated to the Video Analyzer resource." - } - }, - "type": "object", - "description": "The update operation for a Video Analyzer account." - }, - "Endpoint": { - "properties": { - "endpointUrl": { - "type": "string", - "description": "The URL of the endpoint." - }, - "type": { - "type": "string", - "enum": [ - "ClientApi" - ], - "x-ms-enum": { - "name": "VideoAnalyzerEndpointType", - "values": [ - { - "value": "ClientApi", - "description": "The client API endpoint." - } - ], - "modelAsString": true - }, - "description": "The type of the endpoint." - } - }, - "type": "object", - "required": [ - "type" - ], - "description": "The endpoint details." - }, - "UserAssignedManagedIdentity": { - "properties": { - "clientId": { - "type": "string", - "format": "uuid", - "description": "The client ID.", - "readOnly": true, - "x-nullable": true - }, - "principalId": { - "type": "string", - "format": "uuid", - "description": "The principal ID.", - "readOnly": true, - "x-nullable": true - } - }, - "type": "object", - "description": "The details of the user assigned managed identity used by the Video Analyzer resource." - }, - "UserAssignedManagedIdentities": { - "type": "object", - "description": "The User Assigned Managed Identities.", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedManagedIdentity" - } - }, - "VideoAnalyzerIdentity": { - "properties": { - "type": { - "type": "string", - "description": "The identity type." - }, - "userAssignedIdentities": { - "$ref": "#/definitions/UserAssignedManagedIdentities", - "description": "The User Assigned Managed Identities." - } - }, - "type": "object", - "required": [ - "type" - ], - "description": "The managed identity for the Video Analyzer resource." - }, - "ResourceIdentity": { - "properties": { - "userAssignedIdentity": { - "type": "string", - "description": "The user assigned managed identity's resource identifier to use when accessing a resource." - } - }, - "type": "object", - "required": [ - "userAssignedIdentity" - ], - "description": "The user assigned managed identity to use when accessing a resource." - }, - "KeyVaultProperties": { - "properties": { - "keyIdentifier": { - "type": "string", - "description": "The URL of the Key Vault key used to encrypt the account. The key may either be versioned (for example https://vault/keys/mykey/version1) or reference a key without a version (for example https://vault/keys/mykey)." - }, - "currentKeyIdentifier": { - "type": "string", - "description": "The current key used to encrypt Video Analyzer account, including the key version.", - "readOnly": true - } - }, - "type": "object", - "required": [ - "keyIdentifier" - ], - "description": "The details for accessing the encryption keys in Key Vault." - }, - "AccountEncryption": { - "properties": { - "type": { - "type": "string", - "enum": [ - "SystemKey", - "CustomerKey" - ], - "x-ms-enum": { - "name": "AccountEncryptionKeyType", - "values": [ - { - "value": "SystemKey", - "description": "The Account Key is encrypted with a System Key." - }, - { - "value": "CustomerKey", - "description": "The Account Key is encrypted with a Customer Key." - } - ], - "modelAsString": true - }, - "description": "The type of key used to encrypt the Account Key." - }, - "keyVaultProperties": { - "$ref": "#/definitions/KeyVaultProperties", - "description": "The properties of the key used to encrypt the account." - }, - "identity": { - "$ref": "#/definitions/ResourceIdentity", - "description": "The Key Vault identity." - }, - "status": { - "type": "string", - "description": "The current status of the Key Vault mapping.", - "readOnly": true - } - }, - "type": "object", - "required": [ - "type" - ], - "description": "Defines how the Video Analyzer account is (optionally) encrypted." - }, - "IotHub": { - "properties": { - "id": { - "type": "string", - "description": "The IoT Hub resource identifier." - }, - "identity": { - "$ref": "#/definitions/ResourceIdentity", - "description": "The IoT Hub identity." - }, - "status": { - "type": "string", - "description": "The current status of the Iot Hub mapping.", - "readOnly": true - } - }, - "type": "object", - "required": [ - "id", - "identity" - ], - "description": "The IoT Hub details." - }, - "GroupLevelAccessControl": { - "properties": { - "publicNetworkAccess": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "PublicNetworkAccess", - "values": [ - { - "value": "Enabled", - "description": "Public network access is enabled." - }, - { - "value": "Disabled", - "description": "Public network access is disabled." - } - ], - "modelAsString": true - }, - "description": "Whether or not public network access is allowed for specified resources under the Video Analyzer account.", - "x-nullable": true - } - }, - "type": "object", - "description": "Group level network access control." - }, - "NetworkAccessControl": { - "properties": { - "integration": { - "$ref": "#/definitions/GroupLevelAccessControl", - "description": "Public network access for integration group.", - "x-nullable": true - }, - "ingestion": { - "$ref": "#/definitions/GroupLevelAccessControl", - "description": "Public network access for ingestion group.", - "x-nullable": true - }, - "consumption": { - "$ref": "#/definitions/GroupLevelAccessControl", - "description": "Public network access for consumption group.", - "x-nullable": true - } - }, - "type": "object", - "description": "Network access control for video analyzer account." - }, - "VideoAnalyzerPrivateEndpointConnectionOperationStatus": { - "properties": { - "name": { - "type": "string", - "description": "Operation identifier." - }, - "id": { - "type": "string", - "description": "Operation resource ID." - }, - "startTime": { - "type": "string", - "description": "Operation start time." - }, - "endTime": { - "type": "string", - "description": "Operation end time." - }, - "status": { - "type": "string", - "description": "Operation status." - }, - "error": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", - "x-nullable": true - } - }, - "type": "object", - "required": [ - "name" - ], - "description": "Status of private endpoint connection operation." - }, - "VideoAnalyzerOperationStatus": { - "properties": { - "name": { - "type": "string", - "description": "Operation identifier." - }, - "id": { - "type": "string", - "description": "Operation resource ID." - }, - "startTime": { - "type": "string", - "description": "Operation start time." - }, - "endTime": { - "type": "string", - "description": "Operation end time." - }, - "status": { - "type": "string", - "description": "Operation status." - }, - "error": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", - "x-nullable": true - } - }, - "type": "object", - "required": [ - "name" - ], - "description": "Status of video analyzer operation." - }, - "OperationCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "x-ms-identifiers": [ - "name" - ], - "description": "A collection of Operation items." - } - }, - "type": "object", - "description": "A collection of Operation items." - }, - "VideoAnalyzerCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/VideoAnalyzer" - }, - "description": "A collection of VideoAnalyzer items." - } - }, - "type": "object", - "description": "A collection of VideoAnalyzer items." - } - }, - "paths": { - "/providers/Microsoft.Media/operations": { - "get": { - "summary": "List Operations", - "description": "Lists all the Media operations.", - "operationId": "Operations_List", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/OperationCollection" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "List Operations": { - "$ref": "examples/operations-list-all.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers": { - "get": { - "summary": "List Video Analyzer accounts", - "description": "Lists the Video Analyzer accounts in the specified resource group.", - "operationId": "VideoAnalyzers_List", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VideoAnalyzerCollection" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "List all Video Analyzer accounts": { - "$ref": "examples/video-analyzer-accounts-list-all-accounts.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}": { - "get": { - "summary": "Get a Video Analyzer account", - "description": "Get the details of the specified Video Analyzer account", - "operationId": "VideoAnalyzers_Get", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VideoAnalyzer" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The Video Analyzer account name." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Get a Video Analyzer account by name": { - "$ref": "examples/video-analyzer-accounts-get-by-name.json" - } - } - }, - "put": { - "summary": "Create or update a Video Analyzer account", - "description": "Create or update an instance of a Video Analyzer account", - "operationId": "VideoAnalyzers_CreateOrUpdate", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VideoAnalyzer" - } - }, - "201": { - "description": "Created", - "headers": { - "Retry-After": { - "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", - "type": "integer", - "format": "int32" - }, - "Location": { - "description": "The URI to poll for completion status.", - "type": "string" - }, - "Azure-AsyncOperation": { - "description": "The URI to poll for completion status.", - "type": "string" - } - }, - "schema": { - "$ref": "#/definitions/VideoAnalyzer" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The Video Analyzer account name." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/VideoAnalyzer" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create a Video Analyzer account": { - "$ref": "examples/video-analyzer-accounts-create-or-update.json" - } - } - }, - "delete": { - "summary": "Delete a Video Analyzer account.", - "description": "Delete the specified Video Analyzer account", - "operationId": "VideoAnalyzers_Delete", - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "NoContent" - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The Video Analyzer account name." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Delete a Video Analyzer account": { - "$ref": "examples/video-analyzer-accounts-delete.json" - } - } - }, - "patch": { - "summary": "Update a Video Analyzer account", - "description": "Updates an existing instance of Video Analyzer account", - "operationId": "VideoAnalyzers_Update", - "responses": { - "202": { - "description": "Accepted", - "headers": { - "Retry-After": { - "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", - "type": "integer", - "format": "int32" - }, - "Location": { - "description": "The URI to poll for completion status.", - "type": "string" - }, - "Azure-AsyncOperation": { - "description": "The URI to poll for completion status.", - "type": "string" - } - }, - "schema": { - "$ref": "#/definitions/VideoAnalyzer" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The Video Analyzer account name." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/VideoAnalyzerUpdate" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update a Video Analyzer accounts": { - "$ref": "examples/video-analyzer-accounts-update.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/privateLinkResources": { - "get": { - "summary": "Get list of group IDs.", - "description": "Get list of group IDs for video analyzer account.", - "operationId": "PrivateLinkResources_List", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/privatelinks.json#/definitions/PrivateLinkResourceListResult" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The Video Analyzer account name." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Get list of all group IDs.": { - "$ref": "examples/video-analyzer-private-link-resources-list.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/privateLinkResources/{name}": { - "get": { - "summary": "Get group ID.", - "description": "Get group ID for video analyzer account.", - "operationId": "PrivateLinkResources_Get", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/privatelinks.json#/definitions/PrivateLinkResource" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The Video Analyzer account name." - }, - { - "name": "name", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the private link resource (Group ID)." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Get details of a group ID.": { - "$ref": "examples/video-analyzer-private-link-resources-get-by-name.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/privateEndpointConnections": { - "get": { - "summary": "Get all private endpoint connections.", - "description": "Get all private endpoint connections under video analyzer account.", - "operationId": "PrivateEndpointConnections_List", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The Video Analyzer account name." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Get all private endpoint connections.": { - "$ref": "examples/video-analyzer-private-endpoint-connection-list.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/privateEndpointConnections/{name}": { - "get": { - "summary": "Get private endpoint connection.", - "description": "Get private endpoint connection under video analyzer account.", - "operationId": "PrivateEndpointConnections_Get", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/privatelinks.json#/definitions/PrivateEndpointConnection" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The Video Analyzer account name." - }, - { - "name": "name", - "in": "path", - "required": true, - "type": "string", - "description": "Private endpoint connection name." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Get private endpoint connection.": { - "$ref": "examples/video-analyzer-private-endpoint-connection-get-by-name.json" - } - } - }, - "put": { - "summary": "Update private endpoint connection.", - "description": "Update private endpoint connection state under video analyzer account.", - "operationId": "PrivateEndpointConnections_CreateOrUpdate", - "responses": { - "201": { - "description": "Created", - "headers": { - "Retry-After": { - "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", - "type": "integer", - "format": "int32" - }, - "Location": { - "description": "The URI to poll for completion status.", - "type": "string" - }, - "Azure-AsyncOperation": { - "description": "The URI to poll for completion status.", - "type": "string" - } - }, - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/privatelinks.json#/definitions/PrivateEndpointConnection" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The Video Analyzer account name." - }, - { - "name": "name", - "in": "path", - "required": true, - "type": "string", - "description": "Private endpoint connection name." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/privatelinks.json#/definitions/PrivateEndpointConnection" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Update private endpoint connection.": { - "$ref": "examples/video-analyzer-private-endpoint-connection-put.json" - } - } - }, - "delete": { - "summary": "Delete private endpoint connection.", - "description": "Delete private endpoint connection under video analyzer account.", - "operationId": "PrivateEndpointConnections_Delete", - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "NoContent" - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The Video Analyzer account name." - }, - { - "name": "name", - "in": "path", - "required": true, - "type": "string", - "description": "Private endpoint connection name." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Delete private endpoint connection.": { - "$ref": "examples/video-analyzer-private-endpoint-connection-delete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/privateEndpointConnections/{name}/operationStatuses/{operationId}": { - "get": { - "summary": "Get operation status.", - "description": "Get private endpoint connection operation status.", - "operationId": "OperationStatuses_Get", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VideoAnalyzerPrivateEndpointConnectionOperationStatus" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The Video Analyzer account name." - }, - { - "name": "name", - "in": "path", - "required": true, - "type": "string", - "description": "Private endpoint connection name." - }, - { - "name": "operationId", - "in": "path", - "required": true, - "type": "string", - "description": "Operation Id." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Get status of private endpoint asynchronous operation when it is completed.": { - "$ref": "examples/video-analyzer-private-endpoint-connection-operation-status-by-id-terminal-state.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/privateEndpointConnections/{name}/operationResults/{operationId}": { - "get": { - "summary": "Get operation result.", - "description": "Get private endpoint connection operation result.", - "operationId": "OperationResults_Get", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/privatelinks.json#/definitions/PrivateEndpointConnection" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The Video Analyzer account name." - }, - { - "name": "name", - "in": "path", - "required": true, - "type": "string", - "description": "Private endpoint connection name." - }, - { - "name": "operationId", - "in": "path", - "required": true, - "type": "string", - "description": "Operation Id." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Get status of private endpoint connection asynchronous operation.": { - "$ref": "examples/video-analyzer-private-endpoint-connection-operation-result-by-id.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Media/locations/{locationName}/videoAnalyzerOperationStatuses/{operationId}": { - "get": { - "summary": "Get operation status.", - "description": "Get video analyzer operation status.", - "operationId": "VideoAnalyzerOperationStatuses_Get", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VideoAnalyzerOperationStatus" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "locationName", - "in": "path", - "required": true, - "type": "string", - "description": "Location name." - }, - { - "name": "operationId", - "in": "path", - "required": true, - "type": "string", - "description": "Operation Id." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Get status of asynchronous operation when it is completed.": { - "$ref": "examples/video-analyzer-operation-status-by-id-terminal-state.json" - }, - "Get status of asynchronous operation when it is ongoing.": { - "$ref": "examples/video-analyzer-operation-status-by-id-non-terminal-state.json" - }, - "Get status of asynchronous operation when it is completed with error.": { - "$ref": "examples/video-analyzer-operation-status-by-id-non-terminal-state-failed.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Media/locations/{locationName}/videoAnalyzerOperationResults/{operationId}": { - "get": { - "summary": "Get operation result.", - "description": "Get video analyzer operation result.", - "operationId": "VideoAnalyzerOperationResults_Get", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VideoAnalyzer" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "locationName", - "in": "path", - "required": true, - "type": "string", - "description": "Location name." - }, - { - "name": "operationId", - "in": "path", - "required": true, - "type": "string", - "description": "Operation Id." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Get status of asynchronous operation.": { - "$ref": "examples/video-analyzer-operation-result-by-id.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Media/locations/{locationName}/checkNameAvailability": { - "post": { - "summary": "Check Name Availability", - "description": "Checks whether the Video Analyzer resource name is available.", - "operationId": "Locations_CheckNameAvailability", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/CheckNameAvailabilityResponse" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "locationName", - "in": "path", - "required": true, - "type": "string", - "description": "Location Name." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/CheckNameAvailabilityRequest" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Check Name Availability": { - "$ref": "examples/accounts-check-name-availability.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Media/videoAnalyzers": { - "get": { - "summary": "List Video Analyzer accounts", - "description": "List all Video Analyzer accounts in the specified subscription.", - "operationId": "VideoAnalyzers_ListBySubscription", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VideoAnalyzerCollection" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "List all Video Analyzer accounts in the specified subscription": { - "$ref": "examples/video-analyzer-accounts-subscription-list-all-accounts.json" - } - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/Videos.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/Videos.json deleted file mode 100644 index 3cc0af5503d9..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/Videos.json +++ /dev/null @@ -1,1057 +0,0 @@ -{ - "schemes": [ - "https" - ], - "swagger": "2.0", - "info": { - "title": "Azure Video Analyzer Resource Provider", - "description": "Azure Video Analyzer resource provider API definition.", - "version": "2021-11-01-preview" - }, - "host": "management.azure.com", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "Impersonate your user account" - } - } - }, - "definitions": { - "VideoContentUrls": { - "properties": { - "downloadUrl": { - "type": "string", - "description": "Video file download URL. This URL can be used in conjunction with the video content authorization token to download the video MP4 file. The resulting MP4 file can be played on any standard media player. It is available when the video type is 'file' and video file is available for consumption." - }, - "archiveBaseUrl": { - "type": "string", - "description": "Video archive streaming base URL. The archived content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token on any compatible DASH or HLS players by appending the following to the base URL:\r\n\r\n - HLSv4: /manifest(format=m3u8-aapl).m3u8\r\n - HLS CMAF: /manifest(format=m3u8-cmaf)\r\n - DASH CMAF: /manifest(format=mpd-time-cmaf)\r\n\r\n Moreover, an ongoing video recording can be played in \"live mode\" with latencies which are approximately double of the chosen video segment length. It is available when the video type is 'archive' and video archiving is enabled." - }, - "rtspTunnelUrl": { - "type": "string", - "description": "Video low-latency streaming URL. The live content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token to expose a WebSocket tunneled RTSP stream. It is available when the video type is 'archive' and a live, low-latency feed is available from the source." - }, - "previewImageUrls": { - "$ref": "#/definitions/VideoPreviewImageUrls", - "description": "Video preview image URLs. These URLs can be used in conjunction with the video content authorization token to download the most recent still image from the video archive in different resolutions. They are available when the video type is 'archive' and preview images are enabled." - } - }, - "type": "object", - "description": "Set of URLs to the video content." - }, - "VideoPreviewImageUrls": { - "properties": { - "small": { - "type": "string", - "description": "Low resolution preview image URL." - }, - "medium": { - "type": "string", - "description": "Medium resolution preview image URL." - }, - "large": { - "type": "string", - "description": "High resolution preview image URL." - } - }, - "type": "object", - "description": "Video preview image URLs. These URLs can be used in conjunction with the video content authorization token to download the most recent still image from the video archive in different resolutions. They are available when the video type is 'archive' and preview images are enabled." - }, - "VideoFlags": { - "properties": { - "canStream": { - "type": "boolean", - "description": "Value indicating whether or not the video can be streamed. Only \"archive\" type videos can be streamed." - }, - "hasData": { - "type": "boolean", - "description": "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." - }, - "isInUse": { - "type": "boolean", - "description": "Value indicating whether or not the video is currently being referenced be an active 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." - } - }, - "type": "object", - "required": [ - "canStream", - "hasData", - "isInUse" - ], - "description": "Video flags contain information about the available video actions and its dynamic properties based on the current video state." - }, - "VideoMediaInfo": { - "properties": { - "segmentLength": { - "type": "string", - "description": "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." - } - }, - "type": "object", - "description": "Contains information about the video and audio content." - }, - "VideoContentToken": { - "properties": { - "expirationDate": { - "type": "string", - "format": "date-time", - "description": "The content token expiration date in ISO8601 format (eg. 2021-01-01T00:00:00Z).", - "readOnly": true, - "x-nullable": false - }, - "token": { - "type": "string", - "description": "The content token value to be added to the video content URL as the value for the \"token\" query string parameter. The token is specific to a single video.", - "readOnly": true - } - }, - "type": "object", - "description": "\"Video content token grants access to the video content URLs.\"" - }, - "VideoProperties": { - "properties": { - "title": { - "type": "string", - "description": "Optional video title provided by the user. Value can be up to 256 characters long." - }, - "description": { - "type": "string", - "description": "Optional video description provided by the user. Value can be up to 2048 characters long." - }, - "type": { - "type": "string", - "enum": [ - "Archive", - "File" - ], - "x-ms-enum": { - "name": "VideoType", - "values": [ - { - "value": "Archive", - "description": "Archive is flexible format that represents a video stream associated with wall-clock time. The video archive can either be continuous or discontinuous. An archive is discontinuous when there are gaps in the recording due to various reasons, such as the live pipeline being stopped, camera being disconnected or due to the use of event based recordings through the use of a signal gate. There is no limit to the archive duration and new video data can be appended to the existing archive at any time, as long as the same video codec and codec parameters are being used. Videos of this type are suitable for appending and long term archival." - }, - { - "value": "File", - "description": "File represents a video which is stored as a single media file, such as MP4. Videos of this type are suitable to be downloaded for external consumption." - } - ], - "modelAsString": true - }, - "description": "Video content type. Different content types are suitable for different applications and scenarios.", - "readOnly": true, - "x-nullable": false - }, - "flags": { - "$ref": "#/definitions/VideoFlags", - "description": "Video flags contain information about the available video actions and its dynamic properties based on the current video state.", - "readOnly": true - }, - "contentUrls": { - "$ref": "#/definitions/VideoContentUrls", - "description": "Set of URLs to the video content.", - "readOnly": true - }, - "mediaInfo": { - "$ref": "#/definitions/VideoMediaInfo", - "description": "Contains information about the video and audio content." - }, - "archival": { - "$ref": "#/definitions/VideoArchival", - "description": "Video archival properties." - } - }, - "type": "object", - "description": "Application level properties for the video resource." - }, - "VideoArchival": { - "properties": { - "retentionPeriod": { - "type": "string", - "description": "Video retention period indicates the maximum age of the video archive segments which are intended to be kept in storage. It must be provided in the ISO8601 duration format in the granularity of days, up to a maximum of 10 years. For example, if this is set to P30D (30 days), content older than 30 days will be periodically deleted. This value can be updated at any time and the new desired retention period will be effective within 24 hours." - } - }, - "type": "object", - "description": "Video archival properties." - }, - "AuthenticationBase": { - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "The discriminator for derived types." - } - }, - "type": "object", - "required": [ - "@type" - ], - "description": "Base class for access policies authentication methods." - }, - "TokenClaim": { - "properties": { - "name": { - "type": "string", - "description": "Name of the claim which must be present on the token." - }, - "value": { - "type": "string", - "description": "Expected value of the claim to be present on the token." - } - }, - "type": "object", - "required": [ - "name", - "value" - ], - "description": "Properties for expected token claims." - }, - "JwtAuthentication": { - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.JwtAuthentication", - "allOf": [ - { - "$ref": "#/definitions/AuthenticationBase" - } - ], - "properties": { - "issuers": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of expected token issuers. Token issuer is valid if it matches at least one of the given values." - }, - "audiences": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of expected token audiences. Token audience is valid if it matches at least one of the given values." - }, - "claims": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenClaim" - }, - "x-ms-identifiers": [ - "name", - "value" - ], - "description": "List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid." - }, - "keys": { - "type": "array", - "items": { - "$ref": "#/definitions/TokenKey" - }, - "x-ms-identifiers": [ - "kid" - ], - "description": "List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key." - } - }, - "type": "object", - "description": "Properties for access validation based on JSON Web Tokens (JWT)." - }, - "TokenKey": { - "discriminator": "@type", - "properties": { - "@type": { - "type": "string", - "description": "The discriminator for derived types." - }, - "kid": { - "type": "string", - "description": "JWT token key id. Validation keys are looked up based on the key id present on the JWT token header." - } - }, - "type": "object", - "required": [ - "@type", - "kid" - ], - "description": "Key properties for JWT token validation." - }, - "RsaTokenKey": { - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.RsaTokenKey", - "allOf": [ - { - "$ref": "#/definitions/TokenKey" - } - ], - "properties": { - "alg": { - "type": "string", - "enum": [ - "RS256", - "RS384", - "RS512" - ], - "x-ms-enum": { - "name": "AccessPolicyRsaAlgo", - "values": [ - { - "value": "RS256", - "description": "RS256" - }, - { - "value": "RS384", - "description": "RS384" - }, - { - "value": "RS512", - "description": "RS512" - } - ], - "modelAsString": true - }, - "description": "RSA algorithm to be used: RS256, RS384 or RS512." - }, - "n": { - "type": "string", - "description": "RSA public key modulus." - }, - "e": { - "type": "string", - "description": "RSA public key exponent." - } - }, - "type": "object", - "required": [ - "alg", - "n", - "e" - ], - "description": "Required validation properties for tokens generated with RSA algorithm." - }, - "EccTokenKey": { - "x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.EccTokenKey", - "allOf": [ - { - "$ref": "#/definitions/TokenKey" - } - ], - "properties": { - "alg": { - "type": "string", - "enum": [ - "ES256", - "ES384", - "ES512" - ], - "x-ms-enum": { - "name": "AccessPolicyEccAlgo", - "values": [ - { - "value": "ES256", - "description": "ES265" - }, - { - "value": "ES384", - "description": "ES384" - }, - { - "value": "ES512", - "description": "ES512" - } - ], - "modelAsString": true - }, - "description": "Elliptical curve algorithm to be used: ES256, ES384 or ES512." - }, - "x": { - "type": "string", - "description": "X coordinate." - }, - "y": { - "type": "string", - "description": "Y coordinate." - } - }, - "type": "object", - "required": [ - "alg", - "x", - "y" - ], - "description": "Required validation properties for tokens generated with Elliptical Curve algorithm." - }, - "AccessPolicyProperties": { - "properties": { - "role": { - "type": "string", - "enum": [ - "Reader" - ], - "x-ms-enum": { - "name": "AccessPolicyRole", - "values": [ - { - "value": "Reader", - "description": "Reader role allows for read-only operations to be performed through the client APIs." - } - ], - "modelAsString": true - }, - "description": "Defines the access level granted by this policy.", - "x-nullable": true - }, - "authentication": { - "$ref": "#/definitions/AuthenticationBase", - "description": "Authentication method to be used when validating client API access." - } - }, - "type": "object", - "description": "Application level properties for the access policy resource." - }, - "VideoEntity": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/VideoProperties", - "description": "The resource properties.", - "x-ms-client-flatten": true - } - }, - "type": "object", - "description": "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." - }, - "AccessPolicyEntity": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/AccessPolicyProperties", - "description": "The resource properties.", - "x-ms-client-flatten": true - } - }, - "type": "object", - "description": "Access policies help define the authentication rules, and control access to specific video resources." - }, - "VideoEntityCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/VideoEntity" - }, - "description": "A collection of VideoEntity items." - }, - "@nextLink": { - "type": "string", - "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)." - } - }, - "type": "object", - "description": "A collection of VideoEntity items." - }, - "AccessPolicyEntityCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/AccessPolicyEntity" - }, - "description": "A collection of AccessPolicyEntity items." - }, - "@nextLink": { - "type": "string", - "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)." - } - }, - "type": "object", - "description": "A collection of AccessPolicyEntity items." - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/videos": { - "get": { - "summary": "Retrieves all existing video resources.", - "description": "Retrieves a list of video resources that have been created, along with their JSON representations.", - "operationId": "Videos_List", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VideoEntityCollection" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n." - } - ], - "x-ms-pageable": { - "nextLinkName": "@nextLink" - }, - "x-ms-examples": { - "Lists video entities.": { - "$ref": "examples/video-list.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/videos/{videoName}": { - "get": { - "summary": "Retrieves an existing video resource.", - "description": "Retrieves an existing video resource with the given name.", - "operationId": "Videos_Get", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VideoEntity" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "videoName", - "in": "path", - "required": true, - "type": "string", - "description": "The Video name." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Gets a video entity.": { - "$ref": "examples/video-get.json" - } - } - }, - "put": { - "summary": "Creates a new video resource or updates an existing one.", - "description": "Creates a new video resource or updates an existing video resource with the given name.", - "operationId": "Videos_CreateOrUpdate", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VideoEntity" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/VideoEntity" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "videoName", - "in": "path", - "required": true, - "type": "string", - "description": "The Video name." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/VideoEntity" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Register video entity.": { - "$ref": "examples/video-create.json" - } - } - }, - "delete": { - "summary": "Deletes an existing video resource and its underlying data.", - "description": "Deletes an existing video resource and its underlying data. This operation is irreversible.", - "operationId": "Videos_Delete", - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "NoContent" - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "videoName", - "in": "path", - "required": true, - "type": "string", - "description": "The Video name." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Deletes a video entity.": { - "$ref": "examples/video-delete.json" - } - } - }, - "patch": { - "summary": "Updates individual properties of an existing video resource.", - "description": "Updates individual properties of an existing video resource with the given name.", - "operationId": "Videos_Update", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VideoEntity" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "videoName", - "in": "path", - "required": true, - "type": "string", - "description": "The Video name." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/VideoEntity" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Update video entity.": { - "$ref": "examples/video-patch.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/videos/{videoName}/listContentToken": { - "post": { - "summary": "Generates a streaming token which can be used for accessing content from video content URLs.", - "description": "Generates a streaming token which can be used for accessing content from video content URLs, for a video resource with the given name.", - "operationId": "Videos_ListContentToken", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VideoContentToken" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "videoName", - "in": "path", - "required": true, - "type": "string", - "description": "The Video name." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Generate a content token for media endpoint authorization.": { - "$ref": "examples/video-listContentToken.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/accessPolicies": { - "get": { - "summary": "List all existing access policy resources.", - "description": "Retrieves all existing access policy resources, along with their JSON representations.", - "operationId": "AccessPolicies_List", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AccessPolicyEntityCollection" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n." - } - ], - "x-ms-pageable": { - "nextLinkName": "@nextLink" - }, - "x-ms-examples": { - "Lists access policy entities.": { - "$ref": "examples/access-policy-list.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/accessPolicies/{accessPolicyName}": { - "get": { - "summary": "Retrieves an existing access policy resource.", - "description": "Retrieves an existing access policy resource with the given name.", - "operationId": "AccessPolicies_Get", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AccessPolicyEntity" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "accessPolicyName", - "in": "path", - "required": true, - "type": "string", - "description": "The Access Policy name." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Gets an access policy entity.": { - "$ref": "examples/access-policy-get.json" - } - } - }, - "put": { - "summary": "Creates a new access policy resource or updates an existing one.", - "description": "Creates a new access policy resource or updates an existing one with the given name.", - "operationId": "AccessPolicies_CreateOrUpdate", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AccessPolicyEntity" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/AccessPolicyEntity" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "accessPolicyName", - "in": "path", - "required": true, - "type": "string", - "description": "The Access Policy name." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/AccessPolicyEntity" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Register access policy entity.": { - "$ref": "examples/access-policy-create.json" - } - } - }, - "delete": { - "summary": "Deletes an existing access policy resource.", - "description": "Deletes an existing access policy resource with the given name.", - "operationId": "AccessPolicies_Delete", - "responses": { - "200": { - "description": "OK" - }, - "204": { - "description": "NoContent" - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "accessPolicyName", - "in": "path", - "required": true, - "type": "string", - "description": "The Access Policy name." - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Deletes an access policy entity.": { - "$ref": "examples/access-policy-delete.json" - } - } - }, - "patch": { - "summary": "Updates individual properties of an existing access policy resource.", - "description": "Updates individual properties of an existing access policy resource with the given name.", - "operationId": "AccessPolicies_Update", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AccessPolicyEntity" - } - }, - "default": { - "description": "Detailed error information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureVideoAnalyzerAccountName" - }, - { - "name": "accessPolicyName", - "in": "path", - "required": true, - "type": "string", - "description": "The Access Policy name." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/AccessPolicyEntity" - }, - "description": "The request parameters" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "x-ms-examples": { - "Update access policy entity.": { - "$ref": "examples/access-policy-patch.json" - } - } - } - } - }, - "parameters": { - "AzureVideoAnalyzerAccountName": { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure Video Analyzer account name.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/access-policy-create.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/access-policy-create.json deleted file mode 100644 index 40e3e16e21b4..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/access-policy-create.json +++ /dev/null @@ -1,159 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "accessPolicyName": "accessPolicyName1", - "api-version": "2021-11-01-preview", - "parameters": { - "properties": { - "authentication": { - "@type": "#Microsoft.VideoAnalyzer.JwtAuthentication", - "issuers": [ - "issuer1", - "issuer2" - ], - "audiences": [ - "audience1" - ], - "claims": [ - { - "name": "claimname1", - "value": "claimvalue1" - }, - { - "name": "claimname2", - "value": "claimvalue2" - } - ], - "keys": [ - { - "@type": "#Microsoft.VideoAnalyzer.RsaTokenKey", - "alg": "RS256", - "kid": "123", - "n": "YmFzZTY0IQ==", - "e": "ZLFzZTY0IQ==" - }, - { - "@type": "#Microsoft.VideoAnalyzer.EccTokenKey", - "alg": "ES256", - "kid": "124", - "x": "XX==", - "y": "YY==" - } - ] - } - } - } - }, - "responses": { - "201": { - "body": { - "name": "accessPolicyName2", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/accesspolicies/accessPolicyName2", - "type": "Microsoft.Media/videoAnalyzers/accesspolicies", - "properties": { - "role": "Reader", - "authentication": { - "@type": "#Microsoft.VideoAnalyzer.JwtAuthentication", - "issuers": [ - "issuer1", - "issuer2" - ], - "audiences": [ - "audience1" - ], - "claims": [ - { - "name": "claimname1", - "value": "claimvalue1" - }, - { - "name": "claimname2", - "value": "claimvalue2" - } - ], - "keys": [ - { - "@type": "#Microsoft.VideoAnalyzer.RsaTokenKey", - "kid": "123", - "alg": "RS256", - "n": "YmFzZTY0IQ==", - "e": "ZLFzZTY0IQ==" - }, - { - "@type": "#Microsoft.VideoAnalyzer.EccTokenKey", - "kid": "124", - "alg": "ES256", - "x": "XX==", - "y": "YY==" - } - ] - } - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - }, - "200": { - "body": { - "name": "accessPolicyName1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/accesspolicies/accessPolicyName1", - "type": "Microsoft.Media/videoAnalyzers/accesspolicies", - "properties": { - "role": "Reader", - "authentication": { - "@type": "#Microsoft.VideoAnalyzer.JwtAuthentication", - "issuers": [ - "issuer1", - "issuer2" - ], - "audiences": [ - "audience1" - ], - "claims": [ - { - "name": "claimname1", - "value": "claimvalue1" - }, - { - "name": "claimname2", - "value": "claimvalue2" - } - ], - "keys": [ - { - "@type": "#Microsoft.VideoAnalyzer.RsaTokenKey", - "kid": "123", - "alg": "RS256", - "n": "YmFzZTY0IQ==", - "e": "ZLFzZTY0IQ==" - }, - { - "@type": "#Microsoft.VideoAnalyzer.EccTokenKey", - "kid": "124", - "alg": "ES256", - "x": "XX==", - "y": "YY==" - } - ] - } - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/access-policy-delete.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/access-policy-delete.json deleted file mode 100644 index 4cafacae3f87..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/access-policy-delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "accessPolicyName": "accessPolicyName1", - "api-version": "2021-11-01-preview" - }, - "responses": { - "204": {}, - "200": {} - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/access-policy-get.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/access-policy-get.json deleted file mode 100644 index 9f06f0163470..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/access-policy-get.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "accessPolicyName": "accessPolicyName1", - "api-version": "2021-11-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "accessPolicyName1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/accesspolicies/accessPolicyName1", - "type": "Microsoft.Media/videoAnalyzers/accesspolicies", - "properties": { - "role": "Reader", - "authentication": { - "@type": "#Microsoft.VideoAnalyzer.JwtAuthentication", - "issuers": [ - "issuer1", - "issuer2" - ], - "audiences": [ - "audience" - ], - "claims": [ - { - "name": "claimname1", - "value": "claimvalue1" - }, - { - "name": "claimname2", - "value": "claimvalue2" - } - ], - "keys": [ - { - "@type": "#Microsoft.VideoAnalyzer.RsaTokenKey", - "kid": "123", - "alg": "RS256", - "n": "YmFzZTY0IQ==", - "e": "ZLFzZTY0IQ==" - }, - { - "@type": "#Microsoft.VideoAnalyzer.EccTokenKey", - "kid": "124", - "alg": "ES256", - "x": "XX==", - "y": "YY==" - } - ] - } - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/access-policy-list.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/access-policy-list.json deleted file mode 100644 index 8eb9e7bd1888..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/access-policy-list.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "api-version": "2021-11-01-preview", - "$top": "2" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "accessPolicyName1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/accesspolicies/accessPolicyName1", - "type": "Microsoft.Media/videoAnalyzers/accesspolicies", - "properties": { - "role": "Reader", - "authentication": { - "@type": "#Microsoft.VideoAnalyzer.JwtAuthentication", - "issuers": [ - "issuer1", - "issuer2" - ], - "audiences": [ - "audience" - ], - "claims": [ - { - "name": "claimname1", - "value": "claimvalue1" - }, - { - "name": "claimname2", - "value": "claimvalue2" - } - ], - "keys": [ - { - "@type": "#Microsoft.VideoAnalyzer.RsaTokenKey", - "kid": "123", - "alg": "RS256", - "n": "YmFzZTY0IQ==", - "e": "ZLFzZTY0IQ==" - }, - { - "@type": "#Microsoft.VideoAnalyzer.EccTokenKey", - "kid": "124", - "alg": "ES256", - "x": "XX==", - "y": "YY==" - } - ] - } - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - }, - { - "name": "accessPolicyName2", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/accesspolicies/accessPolicyName2", - "type": "Microsoft.Media/videoAnalyzers/accesspolicies", - "properties": { - "role": "Reader", - "authentication": { - "@type": "#Microsoft.VideoAnalyzer.JwtAuthentication", - "issuers": [ - "issuer1", - "issuer2" - ], - "audiences": [ - "audience" - ], - "claims": [ - { - "name": "claimname1", - "value": "claimvalue1" - }, - { - "name": "claimname2", - "value": "claimvalue2" - } - ], - "keys": [ - { - "@type": "#Microsoft.VideoAnalyzer.RsaTokenKey", - "kid": "123", - "alg": "RS256", - "n": "YmFzZTY0IQ==", - "e": "ZLFzZTY0IQ==" - }, - { - "@type": "#Microsoft.VideoAnalyzer.EccTokenKey", - "kid": "124", - "alg": "ES256", - "x": "XX==", - "y": "YY==" - } - ] - } - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - ] - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/access-policy-patch.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/access-policy-patch.json deleted file mode 100644 index 0e1859cd00cf..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/access-policy-patch.json +++ /dev/null @@ -1,105 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "accessPolicyName": "accessPolicyName1", - "api-version": "2021-11-01-preview", - "parameters": { - "properties": { - "authentication": { - "@type": "#Microsoft.VideoAnalyzer.JwtAuthentication", - "issuers": [ - "issuer1", - "issuer2" - ], - "audiences": [ - "audience1" - ], - "claims": [ - { - "name": "claimname1", - "value": "claimvalue1" - }, - { - "name": "claimname2", - "value": "claimvalue2" - } - ], - "keys": [ - { - "@type": "#Microsoft.VideoAnalyzer.RsaTokenKey", - "alg": "RS256", - "kid": "123", - "n": "YmFzZTY0IQ==", - "e": "ZLFzZTY0IQ==" - }, - { - "@type": "#Microsoft.VideoAnalyzer.EccTokenKey", - "alg": "ES256", - "kid": "124", - "x": "XX==", - "y": "YY==" - } - ] - } - } - } - }, - "responses": { - "200": { - "body": { - "name": "accessPolicyName1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/accesspolicies/accessPolicyName1", - "type": "Microsoft.Media/videoAnalyzers/accesspolicies", - "properties": { - "role": "Reader", - "authentication": { - "@type": "#Microsoft.VideoAnalyzer.JwtAuthentication", - "issuers": [ - "issuer1", - "issuer2" - ], - "audiences": [ - "audience1" - ], - "claims": [ - { - "name": "claimname1", - "value": "claimvalue1" - }, - { - "name": "claimname2", - "value": "claimvalue2" - } - ], - "keys": [ - { - "@type": "#Microsoft.VideoAnalyzer.RsaTokenKey", - "kid": "123", - "alg": "RS256", - "n": "YmFzZTY0IQ==", - "e": "ZLFzZTY0IQ==" - }, - { - "@type": "#Microsoft.VideoAnalyzer.EccTokenKey", - "kid": "124", - "alg": "ES256", - "x": "XX==", - "y": "YY==" - } - ] - } - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/accounts-check-name-availability.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/accounts-check-name-availability.json deleted file mode 100644 index 927a4ca29acb..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/accounts-check-name-availability.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "locationName": "japanwest", - "api-version": "2021-11-01-Preview", - "parameters": { - "name": "contosotv", - "type": "videoAnalyzers" - } - }, - "responses": { - "200": { - "body": { - "nameAvailable": true, - "reason": "None", - "message": "" - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/edge-modules-create.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/edge-modules-create.json deleted file mode 100644 index 5afd1bea5672..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/edge-modules-create.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "edgeModuleName": "edgeModule1", - "api-version": "2021-11-01-preview", - "parameters": {} - }, - "responses": { - "201": { - "body": { - "name": "edgeModule2", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/edgeModules/edgeModule2", - "type": "Microsoft.Media/videoAnalyzers/edgeModules", - "properties": { - "edgeModuleId": "00000000-0000-0000-0000-000000000000" - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - }, - "200": { - "body": { - "name": "edgeModule1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/edgeModules/edgeModule1", - "type": "Microsoft.Media/videoAnalyzers/edgeModules", - "properties": { - "edgeModuleId": "00000000-0000-0000-0000-000000000000" - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/edge-modules-delete.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/edge-modules-delete.json deleted file mode 100644 index 9567fe560b89..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/edge-modules-delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "edgeModuleName": "edgeModule1", - "api-version": "2021-11-01-preview" - }, - "responses": { - "204": {}, - "200": {} - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/edge-modules-get.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/edge-modules-get.json deleted file mode 100644 index baa9c420ccaa..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/edge-modules-get.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "edgeModuleName": "edgeModule1", - "api-version": "2021-11-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "edgeModule1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/edgeModules/edgeModule1", - "type": "Microsoft.Media/videoAnalyzers/edgeModules", - "properties": { - "edgeModuleId": "00000000-0000-0000-0000-000000000000" - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/edge-modules-list.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/edge-modules-list.json deleted file mode 100644 index 76e4345dc605..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/edge-modules-list.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "api-version": "2021-11-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "edgeModule1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/edgeModules/edgeModule1", - "type": "Microsoft.Media/videoAnalyzers/edgeModules", - "properties": { - "edgeModuleId": "00000000-0000-0000-0000-000000000000" - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - }, - { - "name": "edgeModule2", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/edgeModules/edgeModule2", - "type": "Microsoft.Media/videoAnalyzers/edgeModules", - "properties": { - "edgeModuleId": "00000000-0000-0000-0000-000000000000" - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - ] - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/edge-modules-listProvisioningToken.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/edge-modules-listProvisioningToken.json deleted file mode 100644 index c4af91d3e71c..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/edge-modules-listProvisioningToken.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "edgeModuleName": "edgeModule1", - "api-version": "2021-11-01-preview", - "parameters": { - "expirationDate": "2023-01-23T11:04:49.0526841-08:00" - } - }, - "responses": { - "200": { - "body": { - "expirationDate": "2021-09-24T04:17:55.6193764Z", - "token": "testtoken" - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-activate.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-activate.json deleted file mode 100644 index 6233e626dac2..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-activate.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "livePipelineName": "livePipeline1", - "api-version": "2021-11-01-preview" - }, - "responses": { - "202": {}, - "200": {} - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-create.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-create.json deleted file mode 100644 index 6643f6d34d1c..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-create.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "livePipelineName": "livePipeline1", - "api-version": "2021-11-01-preview", - "parameters": { - "properties": { - "topologyName": "pipelinetopology1", - "description": "Live Pipeline 1 Description", - "bitrateKbps": 500, - "parameters": [ - { - "name": "rtspUrlParameter", - "value": "rtsp://contoso.com/stream" - } - ] - } - } - }, - "responses": { - "201": { - "body": { - "name": "livePipeline1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/livePipelines/livePipeline1", - "type": "Microsoft.Media/videoAnalyzers/livePipelines", - "properties": { - "topologyName": "pipelineTopology1", - "description": "Live Pipeline 1 Description", - "bitrateKbps": 500, - "state": "Activating", - "parameters": [ - { - "name": "rtspUrlParameter", - "value": "rtsp://contoso.com/stream" - } - ] - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - }, - "200": { - "body": { - "name": "livePipeline1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/livePipelines/livePipeline1", - "type": "Microsoft.Media/videoAnalyzers/livePipelines", - "properties": { - "topologyName": "pipelineTopology1", - "description": "Live Pipeline 1 Description", - "bitrateKbps": 500, - "state": "Inactive", - "parameters": [ - { - "name": "rtspUrlParameter", - "value": "rtsp://contoso.com/stream" - } - ] - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-deactivate.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-deactivate.json deleted file mode 100644 index 6233e626dac2..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-deactivate.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "livePipelineName": "livePipeline1", - "api-version": "2021-11-01-preview" - }, - "responses": { - "202": {}, - "200": {} - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-delete.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-delete.json deleted file mode 100644 index 85eb5ec6a8ef..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "livePipelineName": "livePipeline1", - "api-version": "2021-11-01-preview" - }, - "responses": { - "204": {}, - "200": {} - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-get-by-name.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-get-by-name.json deleted file mode 100644 index d1bbe601d97b..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-get-by-name.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "livePipelineName": "livePipeline1", - "api-version": "2021-11-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "livePipeline1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/livePipelines/livePipeline1", - "type": "Microsoft.Media/videoAnalyzers/livePipelines", - "properties": { - "topologyName": "pipelineTopology1", - "description": "Live Pipeline 1 Description", - "bitrateKbps": 500, - "state": "Inactive", - "parameters": [ - { - "name": "rtspUrlParameter", - "value": "rtsp://contoso.com/stream" - } - ] - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-list.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-list.json deleted file mode 100644 index 3d2582cb5174..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-list.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "api-version": "2021-11-01-preview", - "$top": "2" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "livePipeline1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/livePipelines/livePipeline1", - "type": "Microsoft.Media/videoAnalyzers/livePipelines", - "properties": { - "topologyName": "pipelineTopology1", - "description": "Live Pipeline 1 Description", - "bitrateKbps": 500, - "state": "Inactive", - "parameters": [ - { - "name": "rtspUrlParameter", - "value": "rtsp://contoso.com/stream" - } - ] - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - }, - { - "name": "livePipeline2", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/livePipelines/livePipeline2", - "type": "Microsoft.Media/videoAnalyzers/livePipelines", - "properties": { - "topologyName": "pipelineTopology1", - "description": "Live Pipeline 2 Description", - "bitrateKbps": 500, - "state": "Activating", - "parameters": [ - { - "name": "rtspUrlParameter", - "value": "rtsp://contoso.com/stream" - } - ] - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - ] - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-operation-status-get.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-operation-status-get.json deleted file mode 100644 index ca630e4d8dc8..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-operation-status-get.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "livePipelineName": "livePipeline1", - "operationId": "00000000-0000-0000-0000-000000000001", - "api-version": "2021-11-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "00000000-0000-0000-0000-000000000001", - "status": "Failed", - "error": { - "code": "Conflict", - "message": "A conflict was encountered when processing the request", - "details": [ - { - "code": "VideoIsInUse", - "message": "The video video1 is used by another pipeline." - } - ] - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-patch.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-patch.json deleted file mode 100644 index 2514036b94ad..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/live-pipeline-patch.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "livePipelineName": "livePipeline1", - "api-version": "2021-11-01-preview", - "parameters": { - "properties": { - "description": "Live Pipeline 1 Description" - } - } - }, - "responses": { - "200": { - "body": { - "name": "livePipeline1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/livePipelines/livePipeline1", - "type": "Microsoft.Media/videoAnalyzers/livePipelines", - "properties": { - "topologyName": "pipelineTopology1", - "description": "Live Pipeline 1 Description", - "bitrateKbps": 500, - "state": "Inactive", - "parameters": [ - { - "name": "rtspUrlParameter", - "value": "rtsp://contoso.com/stream" - } - ] - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/operations-list-all.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/operations-list-all.json deleted file mode 100644 index aab93c87c3fb..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/operations-list-all.json +++ /dev/null @@ -1,1449 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "api-version": "2021-11-01-Preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.Media/register/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Microsoft Media Services", - "operation": "Registers the Media Services Resource Provider", - "description": "Registers the subscription for the Media Services resource provider and enables the creation of Media Services accounts" - } - }, - { - "name": "Microsoft.Media/unregister/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Microsoft Media Services", - "operation": "Unregisters the Media Services Resource Provider", - "description": "Unregisters the subscription for the Media Services resource provider" - } - }, - { - "name": "Microsoft.Media/checknameavailability/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Microsoft Media Services", - "operation": "Check Name Availability", - "description": "Checks if a Media Services account name is available" - } - }, - { - "name": "Microsoft.Media/operations/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Available Operations", - "operation": "Get Available Operations", - "description": "Get Available Operations" - } - }, - { - "name": "Microsoft.Media/mediaservices/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Services Account", - "operation": "Read Media Services Account", - "description": "Read any Media Services Account" - } - }, - { - "name": "Microsoft.Media/mediaservices/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Services Account", - "operation": "Create or Update Media Services Account", - "description": "Create or Update any Media Services Account" - } - }, - { - "name": "Microsoft.Media/mediaservices/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Services Account", - "operation": "Delete Media Services Account", - "description": "Delete any Media Services Account" - } - }, - { - "name": "Microsoft.Media/mediaservices/regenerateKey/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Services Account", - "operation": "Regenerate Key", - "description": "Regenerate a Media Services ACS key" - } - }, - { - "name": "Microsoft.Media/mediaservices/listKeys/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Services Account", - "operation": "List Keys", - "description": "List the ACS keys for the Media Services account" - } - }, - { - "name": "Microsoft.Media/mediaservices/syncStorageKeys/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Services Account", - "operation": "Synchronize Storage Keys", - "description": "Synchronize the Storage Keys for an attached Azure Storage account" - } - }, - { - "name": "Microsoft.Media/mediaservices/listEdgePolicies/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Services Account", - "operation": "List policies for an edge device.", - "description": "List policies for an edge device." - } - }, - { - "name": "Microsoft.Media/mediaservices/PrivateEndpointConnectionsApproval/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Services Account", - "operation": "Approve Private Endpoint Connections", - "description": "Approve Private Endpoint Connections" - } - }, - { - "name": "Microsoft.Media/mediaservices/eventGridFilters/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Event Grid Filter", - "operation": "Read Event Grid Filter", - "description": "Read any Event Grid Filter" - } - }, - { - "name": "Microsoft.Media/mediaservices/eventGridFilters/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Event Grid Filter", - "operation": "Create or Update Event Grid Filter", - "description": "Create or Update any Event Grid Filter" - } - }, - { - "name": "Microsoft.Media/mediaservices/eventGridFilters/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Event Grid Filter", - "operation": "Delete Event Grid Filter", - "description": "Delete any Event Grid Filter" - } - }, - { - "name": "Microsoft.Media/mediaservices/accountfilters/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Account Filter", - "operation": "Read Account Filter", - "description": "Read any Account Filter" - } - }, - { - "name": "Microsoft.Media/mediaservices/accountfilters/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Account Filter", - "operation": "Create or Update Account Filter", - "description": "Create or Update any Account Filter" - } - }, - { - "name": "Microsoft.Media/mediaservices/accountfilters/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Account Filter", - "operation": "Delete Account Filter", - "description": "Delete any Account Filter" - } - }, - { - "name": "Microsoft.Media/mediaservices/assets/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Asset", - "operation": "Read Asset", - "description": "Read any Asset" - } - }, - { - "name": "Microsoft.Media/mediaservices/assets/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Asset", - "operation": "Create or Update Asset", - "description": "Create or Update any Asset" - } - }, - { - "name": "Microsoft.Media/mediaservices/assets/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Asset", - "operation": "Delete Asset", - "description": "Delete any Asset" - } - }, - { - "name": "Microsoft.Media/mediaservices/assets/listContainerSas/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Asset", - "operation": "List Asset Container SAS URLs", - "description": "List Asset Container SAS URLs" - } - }, - { - "name": "Microsoft.Media/mediaservices/assets/getEncryptionKey/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Asset", - "operation": "Get Asset Encryption Key", - "description": "Get Asset Encryption Key" - } - }, - { - "name": "Microsoft.Media/mediaservices/assets/listStreamingLocators/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Asset", - "operation": "List Streaming Locators for Asset", - "description": "List Streaming Locators for Asset" - } - }, - { - "name": "Microsoft.Media/mediaservices/assets/assetfilters/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Asset Filter", - "operation": "Read Asset Filter", - "description": "Read any Asset Filter" - } - }, - { - "name": "Microsoft.Media/mediaservices/assets/assetfilters/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Asset Filter", - "operation": "Create or Update Asset Filter", - "description": "Create or Update any Asset Filter" - } - }, - { - "name": "Microsoft.Media/mediaservices/assets/assetfilters/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Asset Filter", - "operation": "Delete Asset Filter", - "description": "Delete any Asset Filter" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingPolicies/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Policy", - "operation": "Read Streaming Policy", - "description": "Read any Streaming Policy" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingPolicies/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Policy", - "operation": "Create or Update Streaming Policy", - "description": "Create or Update any Streaming Policy" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingPolicies/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Policy", - "operation": "Delete Streaming Policy", - "description": "Delete any Streaming Policy" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingLocators/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Locator", - "operation": "Read Streaming Locator", - "description": "Read any Streaming Locator" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingLocators/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Locator", - "operation": "Create or Update Streaming Locator", - "description": "Create or Update any Streaming Locator" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingLocators/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Locator", - "operation": "Delete Streaming Locator", - "description": "Delete any Streaming Locator" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingLocators/listContentKeys/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Locator", - "operation": "List Content Keys", - "description": "List Content Keys" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingLocators/listPaths/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Locator", - "operation": "List Paths", - "description": "List Paths" - } - }, - { - "name": "Microsoft.Media/mediaservices/contentKeyPolicies/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Content Key Policy", - "operation": "Read Content Key Policy", - "description": "Read any Content Key Policy" - } - }, - { - "name": "Microsoft.Media/mediaservices/contentKeyPolicies/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Content Key Policy", - "operation": "Create or Update Content Key Policy", - "description": "Create or Update any Content Key Policy" - } - }, - { - "name": "Microsoft.Media/mediaservices/contentKeyPolicies/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Content Key Policy", - "operation": "Delete Content Key Policy", - "description": "Delete any Content Key Policy" - } - }, - { - "name": "Microsoft.Media/mediaservices/contentKeyPolicies/getPolicyPropertiesWithSecrets/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Content Key Policy", - "operation": "Get Policy Properties With Secrets", - "description": "Get Policy Properties With Secrets" - } - }, - { - "name": "Microsoft.Media/mediaservices/transforms/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Transform", - "operation": "Read Transform", - "description": "Read any Transform" - } - }, - { - "name": "Microsoft.Media/mediaservices/transforms/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Transform", - "operation": "Create or Update Transform", - "description": "Create or Update any Transform" - } - }, - { - "name": "Microsoft.Media/mediaservices/transforms/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Transform", - "operation": "Delete Transform", - "description": "Delete any Transform" - } - }, - { - "name": "Microsoft.Media/mediaservices/transforms/jobs/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Job", - "operation": "Read Job", - "description": "Read any Job" - } - }, - { - "name": "Microsoft.Media/mediaservices/transforms/jobs/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Job", - "operation": "Create or Update Job", - "description": "Create or Update any Job" - } - }, - { - "name": "Microsoft.Media/mediaservices/transforms/jobs/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Job", - "operation": "Delete Job", - "description": "Delete any Job" - } - }, - { - "name": "Microsoft.Media/mediaservices/transforms/jobs/cancelJob/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Job", - "operation": "Cancel Job", - "description": "Cancel Job" - } - }, - { - "name": "Microsoft.Media/mediaservices/privateLinkResources/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "PrivateLinkResource", - "operation": "Read Private Link Resource", - "description": "Read any Private Link Resource" - } - }, - { - "name": "Microsoft.Media/mediaservices/privateEndpointConnectionProxies/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "PrivateEndpointConnectionProxy", - "operation": "Read Private Endpoint Connection Proxy", - "description": "Read any Private Endpoint Connection Proxy" - } - }, - { - "name": "Microsoft.Media/mediaservices/privateEndpointConnectionProxies/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "PrivateEndpointConnectionProxy", - "operation": "Create Private Endpoint Connection Proxy", - "description": "Create Private Endpoint Connection Proxy" - } - }, - { - "name": "Microsoft.Media/mediaservices/privateEndpointConnectionProxies/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "PrivateEndpointConnectionProxy", - "operation": "Delete Private Endpoint Connection Proxy", - "description": "Delete Private Endpoint Connection Proxy" - } - }, - { - "name": "Microsoft.Media/mediaservices/privateEndpointConnectionProxies/validate/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "PrivateEndpointConnectionProxy", - "operation": "Validate Private Endpoint Connection Proxy", - "description": "Validate Private Endpoint Connection Proxy" - } - }, - { - "name": "Microsoft.Media/mediaservices/privateEndpointConnections/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "PrivateEndpointConnection", - "operation": "Read Private Endpoint Connection", - "description": "Read any Private Endpoint Connection" - } - }, - { - "name": "Microsoft.Media/mediaservices/privateEndpointConnections/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "PrivateEndpointConnection", - "operation": "Create Private Endpoint Connection", - "description": "Create Private Endpoint Connection" - } - }, - { - "name": "Microsoft.Media/mediaservices/privateEndpointConnections/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "PrivateEndpointConnection", - "operation": "Delete Private Endpoint Connection", - "description": "Delete Private Endpoint Connection" - } - }, - { - "name": "Microsoft.Media/mediaservices/privateEndpointConnectionOperations/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Private Endpoint Connection Operation", - "operation": "Read Private Endpoint Connection Operation", - "description": "Read any Private Endpoint Connection Operation" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingEndpoints/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Endpoint", - "operation": "Read Streaming Endpoint", - "description": "Read any Streaming Endpoint" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingEndpoints/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Endpoint", - "operation": "Create or Update Streaming Endpoint", - "description": "Create or Update any Streaming Endpoint" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingEndpoints/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Endpoint", - "operation": "Delete Streaming Endpoint", - "description": "Delete any Streaming Endpoint" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingEndpoints/start/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Endpoint", - "operation": "Start Streaming Endpoint Operation", - "description": "Start any Streaming Endpoint Operation" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingEndpoints/stop/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Endpoint", - "operation": "Stop Streaming Endpoint Operation", - "description": "Stop any Streaming Endpoint Operation" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingEndpoints/scale/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Endpoint", - "operation": "Scale Streaming Endpoint Operation", - "description": "Scale any Streaming Endpoint Operation" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingEndpoints/providers/Microsoft.Insights/diagnosticSettings/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Endpoints", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource." - }, - "origin": "system" - }, - { - "name": "Microsoft.Media/mediaservices/streamingEndpoints/providers/Microsoft.Insights/diagnosticSettings/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Endpoints", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource." - }, - "origin": "system" - }, - { - "name": "Microsoft.Media/mediaservices/streamingEndpoints/providers/Microsoft.Insights/metricDefinitions/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Endpoints", - "operation": "Get list of Media Services Streaming Endpoint Metrics definitions.", - "description": "Get list of Media Services Streaming Endpoint Metrics definitions." - }, - "origin": "system", - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "Egress", - "displayName": "Egress", - "displayDescription": "The amount of Egress data, in bytes.", - "unit": "Bytes", - "aggregationType": "Total", - "dimensions": [ - { - "name": "OutputFormat", - "displayName": "Output Format", - "toBeExportedForShoebox": true - } - ], - "supportedAggregationTypes": [ - "Total" - ] - }, - { - "name": "SuccessE2ELatency", - "displayName": "Success end to end Latency", - "displayDescription": "The average latency for successful requests in milliseconds.", - "unit": "Milliseconds", - "aggregationType": "Average", - "dimensions": [ - { - "name": "OutputFormat", - "displayName": "Output Format", - "toBeExportedForShoebox": true - } - ], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] - }, - { - "name": "Requests", - "displayName": "Requests", - "displayDescription": "Requests to a Streaming Endpoint.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [ - { - "name": "OutputFormat", - "displayName": "Output Format", - "toBeExportedForShoebox": true - }, - { - "name": "HttpStatusCode", - "displayName": "HTTP Status Code", - "toBeExportedForShoebox": true - }, - { - "name": "ErrorCode", - "displayName": "Error Code", - "toBeExportedForShoebox": false - } - ], - "supportedAggregationTypes": [ - "Total" - ] - }, - { - "name": "EgressBandwidth", - "displayName": "Egress bandwidth", - "displayDescription": "Egress bandwidth in bits per second.", - "unit": "BitsPerSecond", - "aggregationType": "Average", - "lockAggregationType": "Total", - "dimensions": [], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] - }, - { - "name": "CPU", - "displayName": "CPU usage", - "displayDescription": "CPU usage for premium streaming endpoints. This data is not available for standard streaming endpoints.", - "unit": "Percent", - "aggregationType": "Average", - "dimensions": [], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] - } - ] - } - } - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Event", - "operation": "Read Live Event", - "description": "Read any Live Event" - } - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Event", - "operation": "Create or Update Live Event", - "description": "Create or Update any Live Event" - } - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Event", - "operation": "Delete Live Event", - "description": "Delete any Live Event" - } - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/start/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Event", - "operation": "Start Live Event Operation", - "description": "Start any Live Event Operation" - } - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/stop/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Event", - "operation": "Stop Live Event Operation", - "description": "Stop any Live Event Operation" - } - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/reset/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Event", - "operation": "Reset Live Event Operation", - "description": "Reset any Live Event Operation" - } - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/providers/Microsoft.Insights/diagnosticSettings/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Event", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource." - }, - "origin": "system" - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/providers/Microsoft.Insights/diagnosticSettings/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Event", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource." - }, - "origin": "system" - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/providers/Microsoft.Insights/metricDefinitions/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Event", - "operation": "Get a list of Media Services Live Event Metrics definitions.", - "description": "Get a list of Media Services Live Event Metrics definitions." - }, - "origin": "system", - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "IngestBitrate", - "displayName": "Live Event ingest bitrate", - "displayDescription": "The incoming bitrate ingested for a live event, in bits per second.", - "unit": "BitsPerSecond", - "aggregationType": "Average", - "dimensions": [ - { - "name": "TrackName", - "displayName": "Track name", - "toBeExportedForShoebox": true - } - ], - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MicrosoftMediaLiveEvent", - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] - }, - { - "name": "IngestLastTimestamp", - "displayName": "Live Event ingest last timestamp", - "displayDescription": "Last timestamp ingested for a live event.", - "unit": "Milliseconds", - "aggregationType": "Maximum", - "dimensions": [ - { - "name": "TrackName", - "displayName": "Track name", - "toBeExportedForShoebox": true - } - ], - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MicrosoftMediaLiveEvent", - "supportedAggregationTypes": [ - "Maximum" - ] - }, - { - "name": "IngestDriftValue", - "displayName": "Live Event ingest drift value", - "displayDescription": "Drift between the timestamp of the ingested content and the system clock, measured in seconds per minute. A non zero value indicates that the ingested content is arriving slower than system clock time.", - "unit": "Seconds", - "aggregationType": "Maximum", - "dimensions": [ - { - "name": "TrackName", - "displayName": "Track name", - "toBeExportedForShoebox": true - } - ], - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MicrosoftMediaLiveEvent", - "supportedAggregationTypes": [ - "Maximum" - ] - }, - { - "name": "LiveOutputLastTimestamp", - "displayName": "Last output timestamp", - "displayDescription": "Timestamp of the last fragment uploaded to storage for a live event output.", - "unit": "Milliseconds", - "aggregationType": "Maximum", - "dimensions": [ - { - "name": "TrackName", - "displayName": "Track name", - "toBeExportedForShoebox": true - } - ], - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MicrosoftMediaLiveEvent", - "supportedAggregationTypes": [ - "Maximum" - ] - } - ] - } - } - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/liveOutputs/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Output", - "operation": "Read Live Output", - "description": "Read any Live Output" - } - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/liveOutputs/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Output", - "operation": "Create or Update Live Output", - "description": "Create or Update any Live Output" - } - }, - { - "name": "Microsoft.Media/mediaservices/liveEvents/liveOutputs/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Output", - "operation": "Delete Live Output", - "description": "Delete any Live Output" - } - }, - { - "name": "Microsoft.Media/mediaservices/streamingEndpointOperations/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Streaming Endpoint Operation", - "operation": "Read Streaming Endpoint Operation", - "description": "Read any Streaming Endpoint Operation" - } - }, - { - "name": "Microsoft.Media/mediaservices/liveEventOperations/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Event Operation", - "operation": "Read Live Event Operation", - "description": "Read any Live Event Operation" - } - }, - { - "name": "Microsoft.Media/mediaservices/liveOutputOperations/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Output Operation", - "operation": "Read Live Output Operation", - "description": "Read any Live Output Operation" - } - }, - { - "name": "Microsoft.Media/mediaservices/providers/Microsoft.Insights/diagnosticSettings/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Services Account", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource." - }, - "origin": "system" - }, - { - "name": "Microsoft.Media/mediaservices/providers/Microsoft.Insights/diagnosticSettings/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Services Account", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource." - }, - "origin": "system" - }, - { - "name": "Microsoft.Media/mediaservices/providers/Microsoft.Insights/logDefinitions/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "The log definition of mediaservices", - "operation": "Read mediaservices log definitions", - "description": "Gets the available logs for a Media Services Account" - }, - "origin": "system", - "properties": { - "serviceSpecification": { - "logSpecifications": [ - { - "name": "KeyDeliveryRequests", - "displayName": "Key Delivery Requests", - "blobDuration": "PT1H" - } - ] - } - } - }, - { - "name": "Microsoft.Media/mediaservices/providers/Microsoft.Insights/metricDefinitions/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Media Service", - "operation": "Get list of Media Services Metric definitions.", - "description": "Get list of Media Services Metric definitions." - }, - "origin": "system", - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "AssetQuota", - "displayName": "Asset quota", - "displayDescription": "How many assets are allowed for current media service account", - "unit": "Count", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MediaServiceQuotaAndUsage", - "supportedAggregationTypes": [ - "Average" - ], - "supportedTimeGrainTypes": [ - "PT1H", - "PT6H", - "PT12H", - "P1D" - ] - }, - { - "name": "AssetCount", - "displayName": "Asset count", - "displayDescription": "How many assets are already created in current media service account", - "unit": "Count", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MediaServiceQuotaAndUsage", - "supportedAggregationTypes": [ - "Average" - ], - "supportedTimeGrainTypes": [ - "PT1H", - "PT6H", - "PT12H", - "P1D" - ] - }, - { - "name": "AssetQuotaUsedPercentage", - "displayName": "Asset quota used percentage", - "displayDescription": "Asset used percentage in current media service account", - "unit": "Percent", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MediaServiceQuotaAndUsage", - "supportedAggregationTypes": [ - "Average" - ], - "supportedTimeGrainTypes": [ - "PT1H", - "PT6H", - "PT12H", - "P1D" - ] - }, - { - "name": "ContentKeyPolicyQuota", - "displayName": "Content Key Policy quota", - "displayDescription": "How many content key polices are allowed for current media service account", - "unit": "Count", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MediaServiceQuotaAndUsage", - "supportedAggregationTypes": [ - "Average" - ], - "supportedTimeGrainTypes": [ - "PT1H", - "PT6H", - "PT12H", - "P1D" - ] - }, - { - "name": "ContentKeyPolicyCount", - "displayName": "Content Key Policy count", - "displayDescription": "How many content key policies are already created in current media service account", - "unit": "Count", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MediaServiceQuotaAndUsage", - "supportedAggregationTypes": [ - "Average" - ], - "supportedTimeGrainTypes": [ - "PT1H", - "PT6H", - "PT12H", - "P1D" - ] - }, - { - "name": "ContentKeyPolicyQuotaUsedPercentage", - "displayName": "Content Key Policy quota used percentage", - "displayDescription": "Content Key Policy used percentage in current media service account", - "unit": "Percent", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MediaServiceQuotaAndUsage", - "supportedAggregationTypes": [ - "Average" - ], - "supportedTimeGrainTypes": [ - "PT1H", - "PT6H", - "PT12H", - "P1D" - ] - }, - { - "name": "StreamingPolicyQuota", - "displayName": "Streaming Policy quota", - "displayDescription": "How many streaming policies are allowed for current media service account", - "unit": "Count", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MediaServiceQuotaAndUsage", - "supportedAggregationTypes": [ - "Average" - ], - "supportedTimeGrainTypes": [ - "PT1H", - "PT6H", - "PT12H", - "P1D" - ] - }, - { - "name": "StreamingPolicyCount", - "displayName": "Streaming Policy count", - "displayDescription": "How many streaming policies are already created in current media service account", - "unit": "Count", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MediaServiceQuotaAndUsage", - "supportedAggregationTypes": [ - "Average" - ], - "supportedTimeGrainTypes": [ - "PT1H", - "PT6H", - "PT12H", - "P1D" - ] - }, - { - "name": "StreamingPolicyQuotaUsedPercentage", - "displayName": "Streaming Policy quota used percentage", - "displayDescription": "Streaming Policy used percentage in current media service account", - "unit": "Percent", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "MediaServiceQuotaAndUsage", - "supportedAggregationTypes": [ - "Average" - ], - "supportedTimeGrainTypes": [ - "PT1H", - "PT6H", - "PT12H", - "P1D" - ] - }, - { - "name": "ChannelsAndLiveEventsCount", - "displayName": "Live event count", - "displayDescription": "The total number of live events in the current media services account", - "unit": "Count", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "ClusterResource_ChannelsAndLiveEvents", - "supportedAggregationTypes": [ - "Average" - ] - }, - { - "name": "RunningChannelsAndLiveEventsCount", - "displayName": "Running live event count", - "displayDescription": "The total number of running live events in the current media services account", - "unit": "Count", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "ClusterResource_ChannelsAndLiveEvents", - "supportedAggregationTypes": [ - "Average" - ] - }, - { - "name": "MaxChannelsAndLiveEventsCount", - "displayName": "Max live event quota", - "displayDescription": "The maximum number of live events allowed in the current media services account", - "unit": "Count", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "ClusterResource_ChannelsAndLiveEvents", - "supportedAggregationTypes": [ - "Average" - ] - }, - { - "name": "MaxRunningChannelsAndLiveEventsCount", - "displayName": "Max running live event quota", - "displayDescription": "The maximum number of running live events allowed in the current media services account", - "unit": "Count", - "aggregationType": "Average", - "enableRegionalMdmAccount": true, - "sourceMdmNamespace": "ClusterResource_ChannelsAndLiveEvents", - "supportedAggregationTypes": [ - "Average" - ] - } - ] - } - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Video Analyzer Account", - "operation": "Read a Video Analyzer Account", - "description": "Read a Video Analyzer Account" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Video Analyzer Account", - "operation": "Create or Update a Video Analyzer Account", - "description": "Create or Update a Video Analyzer Account" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Video Analyzer Account", - "operation": "Delete a Video Analyzer Account", - "description": "Delete a Video Analyzer Account" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/videos/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Video Resource", - "operation": "Read Video", - "description": "Read any Video" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/videos/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Video Resource", - "operation": "Create or Update Video", - "description": "Create or Update any Video" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/videos/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Video Resource", - "operation": "Delete Video", - "description": "Delete any Video" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/videos/listStreamingToken/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Video Resource", - "operation": "Generates a streaming token which can be used for video playback", - "description": "Generates a streaming token which can be used for video playback" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/videos/listContentToken/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Video Resource", - "operation": "Generates a content token which can be used for video playback", - "description": "Generates a content token which can be used for video playback" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/accessPolicies/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Access Policy Resource", - "operation": "Read Access Policy", - "description": "Read any Access Policy" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/accessPolicies/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Access Policy Resource", - "operation": "Create or Update Access Policy", - "description": "Create or Update any Access Policy" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/accessPolicies/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Access Policy Resource", - "operation": "Delete Access Policy", - "description": "Delete any Access Policy" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/edgeModules/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Edge Module Resource", - "operation": "Read Edge Module", - "description": "Read any Edge Module" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/edgeModules/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Edge Module Resource", - "operation": "Create or Update Edge Module", - "description": "Create or Update any Edge Module" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/edgeModules/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Edge Module Resource", - "operation": "Delete Edge Module", - "description": "Delete any Edge Module" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/edgeModules/listProvisioningToken/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Edge Module Resource", - "operation": "Creates a new provisioning token", - "description": "Creates a new provisioning token. A provisioning token allows for a single instance of Azure Video analyzer IoT edge module to be initialized and authorized to the cloud account. The provisioning token itself is short lived and it is only used for the initial handshake between IoT edge module and the cloud. After the initial handshake, the IoT edge module will agree on a set of authentication keys which will be auto-rotated as long as the module is able to periodically connect to the cloud. A new provisioning token can be generated for the same IoT edge module in case the module state lost or reset" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/pipelineTopologies/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Pipeline Topology Resource", - "operation": "Read Pipeline Topology", - "description": "Read any Pipeline Topology" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/pipelineTopologies/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Pipeline Topology Resource", - "operation": "Create or Update Pipeline Topology", - "description": "Create or Update any Pipeline Topology" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/pipelineTopologies/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Pipeline Topology Resource", - "operation": "Delete Pipeline Topology", - "description": "Delete any Pipeline Topology" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/livePipelines/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Pipeline Resource", - "operation": "Read Live Pipeline", - "description": "Read any Live Pipeline" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/livePipelines/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Pipeline Resource", - "operation": "Create or Update Live Pipeline", - "description": "Create or Update any Live Pipeline" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/livePipelines/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Pipeline Resource", - "operation": "Delete Live Pipeline", - "description": "Delete any Live Pipeline" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/livePipelines/activate/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Pipeline Resource", - "operation": "Activate Live Pipeline", - "description": "Activate any Live Pipeline" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/livePipelines/deactivate/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Pipeline Resource", - "operation": "Deactivate Live Pipeline", - "description": "Deactivate any Live Pipeline" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/livePipelines/operationsStatus/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Live Pipeline operation status Resource", - "operation": "Read Live Pipeline operation status", - "description": "Read any Live Pipeline operation status" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/pipelineJobs/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Pipeline Job Resource", - "operation": "Read Pipeline Job", - "description": "Read any Pipeline Job" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/pipelineJobs/write", - "display": { - "provider": "Microsoft Media Services", - "resource": "Pipeline Job Resource", - "operation": "Create or Update Pipeline Job", - "description": "Create or Update any Pipeline Job" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/pipelineJobs/delete", - "display": { - "provider": "Microsoft Media Services", - "resource": "Pipeline Job Resource", - "operation": "Delete Pipeline Job", - "description": "Delete any Pipeline Job" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/pipelineJobs/cancel/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Pipeline Job Resource", - "operation": "Cancel Pipeline Job", - "description": "Cancel any Pipeline Job" - } - }, - { - "name": "Microsoft.Media/videoAnalyzers/pipelineJobs/operationsStatus/read", - "display": { - "provider": "Microsoft Media Services", - "resource": "Pipeline Job operation status Resource", - "operation": "Read Pipeline Job operation status", - "description": "Read any Pipeline Job operation status" - } - }, - { - "name": "Microsoft.Media/locations/checkNameAvailability/action", - "display": { - "provider": "Microsoft Media Services", - "resource": "Microsoft Media Services", - "operation": "Check Name Availability", - "description": "Checks if a Media Services account name is available" - } - } - ] - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-job-cancel.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-job-cancel.json deleted file mode 100644 index e76283fc7bf7..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-job-cancel.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "pipelineJobName": "pipelineJob1", - "api-version": "2021-11-01-preview" - }, - "responses": { - "202": {}, - "200": {} - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-job-create.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-job-create.json deleted file mode 100644 index 2cfec1d16d7d..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-job-create.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "pipelineJobName": "pipelineJob1", - "api-version": "2021-11-01-preview", - "parameters": { - "properties": { - "topologyName": "pipelinetopology1", - "description": "Pipeline Job 1 Dsecription", - "parameters": [ - { - "name": "timesequences", - "value": "[[\"2020-10-05T03:30:00Z\", \"2020-10-05T04:30:00Z\"]]" - }, - { - "name": "videoSourceName", - "value": "camera001" - } - ] - } - } - }, - "responses": { - "201": { - "body": { - "name": "pipelineJob1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/pipelineJobs/pipelineJob1", - "type": "Microsoft.Media/videoAnalyzers/pipelineJobs", - "properties": { - "topologyName": "pipelineTopology1", - "description": "Pipeline Job 1 Description", - "state": "Processing", - "parameters": [ - { - "name": "timeSequences", - "value": "[[\"2020-10-05T03:30:00Z\", \"2020-10-05T04:30:00Z\"]]" - }, - { - "name": "videoSourceName", - "value": "camera001" - } - ] - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - }, - "200": { - "body": { - "name": "pipelineJob1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/pipelineJobs/pipelineJob1", - "type": "Microsoft.Media/videoAnalyzers/pipelineJobs", - "properties": { - "topologyName": "pipelineTopology1", - "description": "Pipeline Job 2 Description", - "state": "Processing", - "parameters": [ - { - "name": "timeSequences", - "value": "[[\"2020-10-05T03:30:00Z\", \"2020-10-05T04:30:00Z\"]]" - }, - { - "name": "videoSourceName", - "value": "camera001" - } - ] - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-job-delete.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-job-delete.json deleted file mode 100644 index 9af2e6d7da5e..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-job-delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "pipelineJobName": "pipelineJob1", - "api-version": "2021-11-01-preview" - }, - "responses": { - "204": {}, - "200": {} - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-job-get-by-name.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-job-get-by-name.json deleted file mode 100644 index 3ed1fbc1e94f..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-job-get-by-name.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "pipelineJobName": "pipelineJob1", - "api-version": "2021-11-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "pipelineJob1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/pipelineJobs/pipelineJob1", - "type": "Microsoft.Media/videoAnalyzers/pipelineJobs", - "properties": { - "topologyName": "pipelineTopology1", - "description": "Pipeline Job 1 Description", - "state": "Processing", - "parameters": [ - { - "name": "timeSequences", - "value": "[[\"2020-10-05T03:30:00Z\", \"2020-10-05T04:30:00Z\"]]" - }, - { - "name": "videoSourceName", - "value": "camera001" - } - ] - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-job-list.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-job-list.json deleted file mode 100644 index 174b06cd0762..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-job-list.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "api-version": "2021-11-01-preview", - "$top": "2" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "pipelineJob1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/pipelineJobs/pipelineJob1", - "type": "Microsoft.Media/videoAnalyzers/pipelineJobs", - "properties": { - "topologyName": "pipelineTopology1", - "description": "Pipeline Job 1 Description", - "state": "Processing", - "parameters": [ - { - "name": "timeSequences", - "value": "[[\"2020-10-05T03:30:00Z\", \"2020-10-05T04:30:00Z\"]]" - }, - { - "name": "videoSourceName", - "value": "camera001" - } - ] - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - }, - { - "name": "pipelineJob2", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/pipelineJobs/pipelineJob2", - "type": "Microsoft.Media/videoAnalyzers/pipelineJobs", - "properties": { - "topologyName": "pipelineTopology1", - "description": "Pipeline Job 2 Description", - "state": "Completed", - "expiration": "2020-11-04T07:30:00Z", - "parameters": [ - { - "name": "timeSequences", - "value": "[[\"2020-10-05T03:30:00Z\", \"2020-10-05T04:30:00Z\"]]" - }, - { - "name": "videoSourceName", - "value": "camera002" - } - ] - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - ] - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-job-operation-status-get.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-job-operation-status-get.json deleted file mode 100644 index 9fd601d5ef81..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-job-operation-status-get.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "pipelineJobName": "pipelineJob1", - "operationId": "00000000-0000-0000-0000-000000000001", - "api-version": "2021-11-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "00000000-0000-0000-0000-000000000001", - "status": "Failed", - "error": { - "code": "Conflict", - "message": "A conflict was encountered when processing the request", - "details": [ - { - "code": "VideoIsInUse", - "message": "The video video1 is used by another pipeline." - } - ] - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-job-patch.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-job-patch.json deleted file mode 100644 index d417a8946ac4..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-job-patch.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "pipelineJobName": "pipelineJob1", - "api-version": "2021-11-01-preview", - "parameters": { - "properties": { - "description": "Pipeline Job 1 description" - } - } - }, - "responses": { - "200": { - "body": { - "name": "pipelineJob1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/pipelineJobs/pipelineJob1", - "type": "Microsoft.Media/videoAnalyzers/pipelineJobs", - "properties": { - "topologyName": "pipelineTopology1", - "description": "Pipeline Job 1 Description", - "state": "Processing", - "parameters": [ - { - "name": "timeSequences", - "value": "[[\"2020-10-05T03:30:00Z\", \"2020-10-05T04:30:00Z\"]]" - }, - { - "name": "videoSourceName", - "value": "camera001" - } - ] - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-topology-create.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-topology-create.json deleted file mode 100644 index aa0544dd939f..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-topology-create.json +++ /dev/null @@ -1,220 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "pipelineTopologyName": "pipelineTopology1", - "api-version": "2021-11-01-preview", - "parameters": { - "kind": "Live", - "sku": { - "name": "Live_S1" - }, - "properties": { - "description": "Pipeline Topology 1 Description", - "parameters": [ - { - "name": "rtspUrlParameter", - "type": "String", - "description": "rtsp source url parameter", - "default": "rtsp://microsoft.com/video.mp4" - }, - { - "name": "rtspPasswordParameter", - "type": "SecretString", - "description": "rtsp source password parameter", - "default": "password" - } - ], - "sources": [ - { - "@type": "#Microsoft.VideoAnalyzer.RtspSource", - "name": "rtspSource", - "transport": "Http", - "endpoint": { - "@type": "#Microsoft.VideoAnalyzer.UnsecuredEndpoint", - "url": "${rtspUrlParameter}", - "credentials": { - "@type": "#Microsoft.VideoAnalyzer.UsernamePasswordCredentials", - "username": "username", - "password": "${rtspPasswordParameter}" - } - } - } - ], - "sinks": [ - { - "@type": "#Microsoft.VideoAnalyzer.VideoSink", - "name": "videoSink", - "videoName": "camera001", - "videoCreationProperties": { - "title": "Parking Lot (Camera 1)", - "description": "Parking lot south entrance", - "segmentLength": "PT30S" - }, - "videoPublishingOptions": { - "disableRtspPublishing": "true", - "disableArchive": "false" - }, - "inputs": [ - { - "nodeName": "rtspSource" - } - ] - } - ] - } - } - }, - "responses": { - "201": { - "body": { - "name": "pipelineTopology1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/pipelineTopologies/pipelineTopology1", - "type": "Microsoft.Media/videoAnalyzers/pipelineTopologies", - "kind": "Live", - "properties": { - "description": "Pipeline Topology 1 Description", - "parameters": [ - { - "name": "rtspUrlParameter", - "type": "String", - "description": "rtsp source url parameter", - "default": "rtsp://microsoft.com/video.mp4" - }, - { - "name": "rtspPasswordParameter", - "type": "SecretString", - "description": "rtsp source password parameter", - "default": "password" - } - ], - "sources": [ - { - "@type": "#Microsoft.VideoAnalyzer.RtspSource", - "name": "rtspSource", - "transport": "Http", - "endpoint": { - "@type": "#Microsoft.VideoAnalyzer.UnsecuredEndpoint", - "url": "${rtspUrlParameter}", - "credentials": { - "@type": "#Microsoft.VideoAnalyzer.UsernamePasswordCredentials", - "username": "username", - "password": "${rtspPasswordParameter}" - } - } - } - ], - "processors": [], - "sinks": [ - { - "@type": "#Microsoft.VideoAnalyzer.VideoSink", - "name": "videoSink", - "videoName": "camera001", - "inputs": [ - { - "nodeName": "rtspSource" - } - ], - "videoCreationProperties": { - "title": "Parking Lot (Camera 1)", - "description": "Parking lot south entrance", - "segmentLength": "PT30S" - }, - "videoPublishingOptions": { - "disableRtspPublishing": "true", - "disableArchive": "false" - } - } - ] - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - }, - "sku": { - "name": "Live_S1", - "tier": "Standard" - } - } - }, - "200": { - "body": { - "name": "pipelineTopology1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/pipelineTopologies/pipelineTopology1", - "type": "Microsoft.Media/videoAnalyzers/pipelineTopologies", - "kind": "Live", - "properties": { - "description": "Pipeline Topology 1 Description", - "parameters": [ - { - "name": "rtspUrlParameter", - "type": "String", - "description": "rtspUrlParameter declaration", - "default": "rtsp://microsoft.com/video.mp4" - }, - { - "name": "rtspPasswordParameter", - "type": "SecretString", - "description": "rtspPasswordParameter declaration", - "default": "password" - } - ], - "sources": [ - { - "@type": "#Microsoft.VideoAnalyzer.RtspSource", - "name": "rtspSource", - "transport": "Http", - "endpoint": { - "url": "${rtspUrlParameter}", - "credentials": { - "@type": "#Microsoft.VideoAnalyzer.UsernamePasswordCredentials", - "username": "username", - "password": "${rtspPasswordParameter}" - } - } - } - ], - "processors": [], - "sinks": [ - { - "@type": "#Microsoft.VideoAnalyzer.VideoSink", - "name": "videoSink", - "videoName": "camera001", - "inputs": [ - { - "nodeName": "rtspSource" - } - ], - "videoCreationProperties": { - "title": "Parking Lot (Camera 1)", - "description": "Parking lot south entrance", - "segmentLength": "PT30S" - }, - "videoPublishingOptions": { - "disableRtspPublishing": "true", - "disableArchive": "false" - } - } - ] - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - }, - "sku": { - "name": "Live_S1", - "tier": "Standard" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-topology-delete.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-topology-delete.json deleted file mode 100644 index 2b5b02f58a2c..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-topology-delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "pipelineTopologyName": "pipelineTopology1", - "api-version": "2021-11-01-preview" - }, - "responses": { - "204": {}, - "200": {} - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-topology-get-by-name.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-topology-get-by-name.json deleted file mode 100644 index dfc308628e25..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-topology-get-by-name.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "pipelineTopologyName": "pipelineTopology1", - "api-version": "2021-11-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "pipelineTopology1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/pipelineTopologies/pipelineTopology1", - "type": "Microsoft.Media/videoAnalyzers/pipelineTopologies", - "kind": "Live", - "properties": { - "description": "Pipeline Topology 1 Description", - "parameters": [ - { - "name": "rtspUrlParameter", - "type": "String", - "description": "rtspUrlParameter declaration", - "default": "rtsp://microsoft.com/video.mp4" - }, - { - "name": "rtspPasswordParameter", - "type": "SecretString", - "description": "rtspPasswordParameter declaration", - "default": "password" - } - ], - "sources": [ - { - "@type": "#Microsoft.VideoAnalyzer.RtspSource", - "name": "rtspSource", - "transport": "Http", - "endpoint": { - "url": "${rtspUrlParameter}", - "credentials": { - "@type": "#Microsoft.VideoAnalyzer.UsernamePasswordCredentials", - "username": "username", - "password": "${rtspPasswordParameter}" - } - } - } - ], - "processors": [], - "sinks": [ - { - "@type": "#Microsoft.VideoAnalyzer.VideoSink", - "name": "videoSink", - "videoName": "camera001", - "inputs": [ - { - "nodeName": "rtspSource" - } - ], - "videoCreationProperties": { - "title": "Parking Lot (Camera 1)", - "description": "Parking lot south entrance", - "segmentLength": "PT30S" - } - } - ] - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - }, - "sku": { - "name": "Live_S1", - "tier": "Standard" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-topology-list.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-topology-list.json deleted file mode 100644 index 25f7fab396b6..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-topology-list.json +++ /dev/null @@ -1,164 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "api-version": "2021-11-01-preview", - "$top": "2" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "pipelineTopology1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/pipelineTopologies/pipelineTopology1", - "type": "Microsoft.Media/videoAnalyzers/pipelineTopologies", - "kind": "Live", - "properties": { - "description": "Pipeline Topology 1 Description", - "parameters": [ - { - "name": "rtspUrlParameter", - "type": "String", - "description": "rtspUrlParameter declaration", - "default": "rtsp://microsoft.com/video.mp4" - }, - { - "name": "rtspPasswordParameter", - "type": "SecretString", - "description": "rtspPasswordParameter declaration", - "default": "password" - } - ], - "sources": [ - { - "@type": "#Microsoft.VideoAnalyzer.RtspSource", - "name": "rtspSource", - "transport": "Http", - "endpoint": { - "url": "${rtspUrlParameter}", - "credentials": { - "@type": "#Microsoft.VideoAnalyzer.UsernamePasswordCredentials", - "username": "username", - "password": "${rtspPasswordParameter}" - } - } - } - ], - "processors": [], - "sinks": [ - { - "@type": "#Microsoft.VideoAnalyzer.VideoSink", - "name": "videoSink", - "videoName": "camera001", - "inputs": [ - { - "nodeName": "rtspSource" - } - ], - "videoCreationProperties": { - "title": "Parking Lot (Camera 1)", - "description": "Parking lot south entrance", - "segmentLength": "PT30S" - } - } - ] - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - }, - "sku": { - "name": "Live_S1", - "tier": "Standard" - } - }, - { - "name": "pipelineTopology2", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/pipelineTopologies/pipelineTopology2", - "type": "Microsoft.Media/videoAnalyzers/pipelineTopologies", - "kind": "Live", - "properties": { - "description": "Pipeline Topology 2 Description", - "parameters": [ - { - "name": "rtspUrlParameter", - "type": "String", - "description": "rtspUrlParameter declaration", - "default": "rtsp://microsoft.com/video.mp4" - }, - { - "name": "rtspPasswordParameter", - "type": "SecretString", - "description": "rtspPasswordParameter declaration", - "default": "password" - } - ], - "sources": [ - { - "@type": "#Microsoft.VideoAnalyzer.RtspSource", - "name": "rtspSource", - "transport": "Http", - "endpoint": { - "@type": "#Microsoft.VideoAnalyzer.TlsEndpoint", - "url": "${rtspUrlParameter}", - "credentials": { - "@type": "#Microsoft.VideoAnalyzer.UsernamePasswordCredentials", - "username": "username", - "password": "${rtspPasswordParameter}" - }, - "trustedCertificates": { - "@type": "#Microsoft.VideoAnalyzer.PemCertificateList", - "certificates": [ - "-----BEGIN CERTIFICATE-----\nMIIDhTCCAm2gAwIBAgIUajvPKmoO+8qaO89/ZGATl7ZYnTswDQYJKoZIhvcNAQEL\nBQAwUTESMBAGA1UECgwJTWljcm9zb2Z0MRQwEgYDVQQLDAtBenVyZSBNZWRpYTEl\nMCMGA1UEAwwcKFVudHJ1c3RlZCkgVGVzdCBDZXJ0aWZpY2F0ZTAgFw0yMDAyMDYy\nMTI5MTlaGA8zMDE5MDYwOTIxMjkxOVowUTESMBAGA1UECgwJTWljcm9zb2Z0MRQw\nEgYDVQQLDAtBenVyZSBNZWRpYTElMCMGA1UEAwwcKFVudHJ1c3RlZCkgVGVzdCBD\nZXJ0aWZpY2F0ZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK2lg5ff\n7xXPaBZXHl/zrTukdiBtu7BNIOchHba51eloruPRzpvQx7Pedk3CVTut7LYinijf\nuol0EwkQ2FLt2i2jOqiva9nXR95ujIZHcKsEeMC4RSNSP4++k6SpP8FgyYVdv5ru\nf8GC+HyYQ4j0TqpR/cJs53l/LGRSldaFZ6fcDde1jeyca4VivAbAH1/WDIOvmjzo\n9XIGxZ10VSS5l5+DIgdkJZ+mDMLJIuVZ0YVF16ZGEB3beq1trk5lItvmSjQLTllH\nqMFm9UGY8jKZSo/BY8ewHEtnGSAFQK0TVuRx1HhUWwu6C9jk+2zmRS2090BNpQWa\nJMKFJrSPzFDPRX8CAwEAAaNTMFEwHQYDVR0OBBYEFIumbhu0lYk0EFDThEg0yyIn\n/wZZMB8GA1UdIwQYMBaAFIumbhu0lYk0EFDThEg0yyIn/wZZMA8GA1UdEwEB/wQF\nMAMBAf8wDQYJKoZIhvcNAQELBQADggEBADUNw+/NGNVtigq9tMJKqlk39MTpDn1s\nZ1BVIAuAWSQjlevYZJeDIPUiWNWFhRe+xN7oOLnn2+NIXEKKeMSyuPoZYbN0mBkB\n99oS3XVipSANpmDvIepNdCrOnjfqDFIifRF1Dqjtb6i1hb6v/qYKVPLQvcrgGur7\nPKKkAu9p4YRZ3RBdwwaUuMgojrj/l6DGbeJY6IRVnVMY39rryMnZjA5xUlhCu55n\noB3t/jsJLwnQN+JbAjLAeuqgOWtgARsEFzvpt+VvDsaj0YLOJPhyJwTvHgaa/slB\nnECzd3TuyFKYeGssSni/QQ1e7yZcLapQqz66g5otdriw0IRdOfDxm5M=\n-----END CERTIFICATE-----" - ] - }, - "validationOptions": { - "ignoreHostname": "true", - "ignoreSignature": "false" - } - } - } - ], - "processors": [], - "sinks": [ - { - "@type": "#Microsoft.VideoAnalyzer.VideoSink", - "name": "videoSink", - "videoName": "camera001", - "inputs": [ - { - "nodeName": "rtspSource" - } - ], - "videoCreationProperties": { - "title": "Parking Lot (Camera 1)", - "description": "Parking lot south entrance", - "segmentLength": "PT30S" - } - } - ] - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - }, - "sku": { - "name": "Live_S1", - "tier": "Standard" - } - } - ] - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-topology-patch.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-topology-patch.json deleted file mode 100644 index 4cc4048411b3..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/pipeline-topology-patch.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "pipelineTopologyName": "pipelineTopology1", - "api-version": "2021-11-01-preview", - "parameters": { - "properties": { - "description": "Pipeline Topology 1 Description" - } - } - }, - "responses": { - "200": { - "body": { - "name": "pipelineTopology1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/pipelineTopologies/pipelineTopology1", - "type": "Microsoft.Media/videoAnalyzers/pipelineTopologies", - "kind": "Live", - "properties": { - "description": "Pipeline Topology 1 Description", - "parameters": [ - { - "name": "rtspUrlParameter", - "type": "String", - "description": "rtspUrlParameter declaration", - "default": "rtsp://microsoft.com/video.mp4" - }, - { - "name": "rtspPasswordParameter", - "type": "SecretString", - "description": "rtspPasswordParameter declaration", - "default": "password" - } - ], - "sources": [ - { - "@type": "#Microsoft.VideoAnalyzer.RtspSource", - "name": "rtspSource", - "transport": "Http", - "endpoint": { - "url": "${rtspUrlParameter}", - "credentials": { - "@type": "#Microsoft.VideoAnalyzer.UsernamePasswordCredentials", - "username": "username", - "password": "${rtspPasswordParameter}" - } - } - } - ], - "processors": [], - "sinks": [ - { - "@type": "#Microsoft.VideoAnalyzer.VideoSink", - "name": "videoSink", - "videoName": "camera001", - "inputs": [ - { - "nodeName": "rtspSource" - } - ], - "videoCreationProperties": { - "title": "Parking Lot (Camera 1)", - "description": "Parking lot south entrance", - "segmentLength": "PT30S" - } - } - ] - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - }, - "sku": { - "name": "Live_S1", - "tier": "Standard" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-accounts-create-or-update.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-accounts-create-or-update.json deleted file mode 100644 index 481d119bff51..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-accounts-create-or-update.json +++ /dev/null @@ -1,262 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "accountName": "contosotv", - "api-version": "2021-11-01-Preview", - "parameters": { - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "encryption": { - "type": "SystemKey" - }, - "storageAccounts": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/storage1", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2" - } - } - ], - "iotHubs": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Devices/IotHubs/hub1", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3" - } - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Devices/IotHubs/hub2", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3" - } - } - ] - }, - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {}, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": {}, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3": {} - } - } - } - }, - "responses": { - "201": { - "body": { - "name": "contosomovies", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/videoAnalyzers/contosomovies", - "type": "Microsoft.Media/videoAnalyzers", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "provisioningState": "InProgress", - "encryption": { - "type": "SystemKey" - }, - "storageAccounts": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/storage1", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2" - } - } - ], - "endpoints": [ - { - "type": "ClientApi", - "endpointUrl": "https://77d7106674e0454eba85e5ede58cedbc.api.southcentralus.videoanalyzer.azure.net" - } - ], - "iotHubs": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Devices/IotHubs/hub1", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3" - }, - "status": "Ok" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Devices/IotHubs/hub2", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3" - }, - "status": "Ok" - } - ], - "privateEndpointConnections": [ - { - "name": "00000000-0000-0000-0000-000000000001", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Media/videoAnalyzers/contososports/privateEndpointConnections/00000000-0000-0000-0000-000000000001", - "type": "Microsoft.Media/videoAnalyzers/privateEndpointConnections", - "properties": { - "provisioningState": "Succeeded", - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "test description" - }, - "privateEndpoint": { - "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/reosuceGroup1/providers/Microsoft.Network/privateEndpoints/pe1" - } - } - }, - { - "name": "00000000-0000-0000-0000-000000000002", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Media/videoAnalyzers/contososports/privateEndpointConnections/00000000-0000-0000-0000-000000000002", - "type": "Microsoft.Media/videoAnalyzers/privateEndpointConnections", - "properties": { - "provisioningState": "Succeeded", - "privateLinkServiceConnectionState": { - "status": "Pending", - "description": "test description" - }, - "privateEndpoint": { - "id": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/reosuceGroup2/providers/Microsoft.Network/privateEndpoints/pe2" - } - } - } - ] - }, - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - } - } - }, - "systemData": { - "createdBy": "fakeapplication@contoso.com", - "createdByType": "Application", - "createdAt": "2021-01-01T00:00:00Z", - "lastModifiedBy": "fakeuser@contoso.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-01T00:00:00Z" - } - } - }, - "200": { - "body": { - "name": "contosomovies", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/videoAnalyzers/contosomovies", - "type": "Microsoft.Media/videoAnalyzers", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "provisioningState": "InProgress", - "encryption": { - "type": "SystemKey" - }, - "storageAccounts": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/storage1", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2" - } - } - ], - "endpoints": [ - { - "type": "ClientApi", - "endpointUrl": "https://77d7106674e0454eba85e5ede58cedbc.api.southcentralus.videoanalyzer.azure.net" - } - ], - "iotHubs": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Devices/IotHubs/hub1", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3" - }, - "status": "Ok" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Devices/IotHubs/hub2", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3" - }, - "status": "Ok" - } - ], - "privateEndpointConnections": [ - { - "name": "00000000-0000-0000-0000-000000000001", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Media/videoAnalyzers/contososports/privateEndpointConnections/00000000-0000-0000-0000-000000000001", - "type": "Microsoft.Media/videoAnalyzers/privateEndpointConnections", - "properties": { - "provisioningState": "Succeeded", - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "test description" - }, - "privateEndpoint": { - "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/reosuceGroup1/providers/Microsoft.Network/privateEndpoints/pe1" - } - } - }, - { - "name": "00000000-0000-0000-0000-000000000002", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Media/videoAnalyzers/contososports/privateEndpointConnections/00000000-0000-0000-0000-000000000002", - "type": "Microsoft.Media/videoAnalyzers/privateEndpointConnections", - "properties": { - "provisioningState": "Succeeded", - "privateLinkServiceConnectionState": { - "status": "Pending", - "description": "test description" - }, - "privateEndpoint": { - "id": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/reosuceGroup2/providers/Microsoft.Network/privateEndpoints/pe2" - } - } - } - ] - }, - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - } - } - }, - "systemData": { - "createdBy": "fakeapplication@contoso.com", - "createdByType": "Application", - "createdAt": "2021-01-01T00:00:00Z", - "lastModifiedBy": "fakeuser@contoso.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-accounts-delete.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-accounts-delete.json deleted file mode 100644 index 027d57e7064f..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-accounts-delete.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "accountName": "contosotv", - "api-version": "2021-11-01-Preview" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-accounts-get-by-name.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-accounts-get-by-name.json deleted file mode 100644 index c448065f1bf7..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-accounts-get-by-name.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "accountName": "contosotv", - "api-version": "2021-11-01-Preview" - }, - "responses": { - "200": { - "body": { - "name": "contosomovies", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/videoAnalyzers/contosomovies", - "type": "Microsoft.Media/videoAnalyzers", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "encryption": { - "type": "SystemKey" - }, - "storageAccounts": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/storage1", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2" - }, - "status": "identityDisconnected" - } - ], - "endpoints": [ - { - "type": "ClientApi", - "endpointUrl": "https://77d7106674e0454eba85e5ede58cedbc.api.southcentralus.videoanalyzer.azure.net" - } - ], - "iotHubs": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Devices/IotHubs/hub1", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3" - }, - "status": "Ok" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Devices/IotHubs/hub2", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3" - }, - "status": "Ok" - } - ], - "privateEndpointConnections": [ - { - "name": "00000000-0000-0000-0000-000000000001", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Media/videoAnalyzers/contososports/privateEndpointConnections/00000000-0000-0000-0000-000000000001", - "type": "Microsoft.Media/videoAnalyzers/privateEndpointConnections", - "properties": { - "provisioningState": "Succeeded", - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "test description" - }, - "privateEndpoint": { - "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/reosuceGroup1/providers/Microsoft.Network/privateEndpoints/pe1" - } - } - }, - { - "name": "00000000-0000-0000-0000-000000000002", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Media/videoAnalyzers/contososports/privateEndpointConnections/00000000-0000-0000-0000-000000000002", - "type": "Microsoft.Media/videoAnalyzers/privateEndpointConnections", - "properties": { - "provisioningState": "Succeeded", - "privateLinkServiceConnectionState": { - "status": "Pending", - "description": "test description" - }, - "privateEndpoint": { - "id": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/reosuceGroup2/providers/Microsoft.Network/privateEndpoints/pe2" - } - } - } - ] - }, - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - } - } - }, - "systemData": { - "createdBy": "fakeapplication@contoso.com", - "createdByType": "Application", - "createdAt": "2021-01-01T00:00:00Z", - "lastModifiedBy": "fakeuser@contoso.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-accounts-list-all-accounts.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-accounts-list-all-accounts.json deleted file mode 100644 index 268dbc5279cb..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-accounts-list-all-accounts.json +++ /dev/null @@ -1,132 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "api-version": "2021-11-01-Preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "contosomovies", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/videoAnalyzers/contosomovies", - "type": "Microsoft.Media/videoAnalyzers", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "storageAccounts": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contosomoviesstore" - } - ], - "iotHubs": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Devices/IotHubs/hub1", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3" - }, - "status": "Ok" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Devices/IotHubs/hub2", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3" - }, - "status": "Ok" - } - ], - "privateEndpointConnections": [ - { - "name": "00000000-0000-0000-0000-000000000001", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Media/videoAnalyzers/contososports/privateEndpointConnections/00000000-0000-0000-0000-000000000001", - "type": "Microsoft.Media/videoAnalyzers/privateEndpointConnections", - "properties": { - "provisioningState": "Succeeded", - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "test description" - }, - "privateEndpoint": { - "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/reosuceGroup1/providers/Microsoft.Network/privateEndpoints/pe1" - } - } - }, - { - "name": "00000000-0000-0000-0000-000000000002", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Media/videoAnalyzers/contososports/privateEndpointConnections/00000000-0000-0000-0000-000000000002", - "type": "Microsoft.Media/videoAnalyzers/privateEndpointConnections", - "properties": { - "provisioningState": "Succeeded", - "privateLinkServiceConnectionState": { - "status": "Pending", - "description": "test description" - }, - "privateEndpoint": { - "id": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/reosuceGroup2/providers/Microsoft.Network/privateEndpoints/pe2" - } - } - } - ] - }, - "systemData": { - "createdBy": "fakeapplication@contoso.com", - "createdByType": "Application", - "createdAt": "2021-01-01T00:00:00Z", - "lastModifiedBy": "fakeuser@contoso.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-01T00:00:00Z" - } - }, - { - "name": "contosotv", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/videoAnalyzers/contosotv", - "type": "Microsoft.Media/videoAnalyzers", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "storageAccounts": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contosotvstore" - } - ], - "iotHubs": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Devices/IotHubs/hub1", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3" - }, - "status": "Ok" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Devices/IotHubs/hub2", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3" - }, - "status": "Ok" - } - ], - "privateEndpointConnections": [] - }, - "systemData": { - "createdBy": "fakeapplication@contoso.com", - "createdByType": "Application", - "createdAt": "2021-01-01T00:00:00Z", - "lastModifiedBy": "fakeuser@contoso.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-01T00:00:00Z" - } - } - ] - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-accounts-subscription-list-all-accounts.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-accounts-subscription-list-all-accounts.json deleted file mode 100644 index 51427ab11f63..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-accounts-subscription-list-all-accounts.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "api-version": "2021-11-01-Preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "contosomovies", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/videoAnalyzers/contosomovies", - "type": "Microsoft.Media/videoAnalyzers", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "encryption": { - "type": "SystemKey" - }, - "storageAccounts": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/storage1", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2" - } - } - ], - "iotHubs": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Devices/IotHubs/hub1", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3" - }, - "status": "Ok" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Devices/IotHubs/hub2", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3" - }, - "status": "Ok" - } - ], - "privateEndpointConnections": [ - { - "name": "00000000-0000-0000-0000-000000000001", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Media/videoAnalyzers/contososports/privateEndpointConnections/00000000-0000-0000-0000-000000000001", - "type": "Microsoft.Media/videoAnalyzers/privateEndpointConnections", - "properties": { - "provisioningState": "Succeeded", - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "test description" - }, - "privateEndpoint": { - "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/reosuceGroup1/providers/Microsoft.Network/privateEndpoints/pe1" - } - } - }, - { - "name": "00000000-0000-0000-0000-000000000002", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Media/videoAnalyzers/contososports/privateEndpointConnections/00000000-0000-0000-0000-000000000002", - "type": "Microsoft.Media/videoAnalyzers/privateEndpointConnections", - "properties": { - "provisioningState": "Succeeded", - "privateLinkServiceConnectionState": { - "status": "Pending", - "description": "test description" - }, - "privateEndpoint": { - "id": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/reosuceGroup2/providers/Microsoft.Network/privateEndpoints/pe2" - } - } - } - ] - }, - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - } - } - }, - "systemData": { - "createdBy": "fakeapplication@contoso.com", - "createdByType": "Application", - "createdAt": "2021-01-01T00:00:00Z", - "lastModifiedBy": "fakeuser@contoso.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-01T00:00:00Z" - } - } - ] - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-accounts-update.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-accounts-update.json deleted file mode 100644 index c0e6643f1e29..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-accounts-update.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "accountName": "contosotv", - "api-version": "2021-11-01-Preview", - "parameters": { - "tags": { - "key1": "value3" - } - } - }, - "responses": { - "202": { - "body": { - "name": "contosomovies", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/videoAnalyzers/contosomovies", - "type": "Microsoft.Media/videoAnalyzers", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2", - "tag3": "value3" - }, - "properties": { - "provisioningState": "Succeeded", - "encryption": { - "type": "SystemKey" - }, - "storageAccounts": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/storage1", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2" - } - } - ], - "endpoints": [ - { - "type": "ClientApi", - "endpointUrl": "https://77d7106674e0454eba85e5ede58cedbc.api.southcentralus.videoanalyzer.azure.net" - } - ], - "iotHubs": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Devices/IotHubs/hub1", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3" - }, - "status": "Ok" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Devices/IotHubs/hub2", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3" - }, - "status": "Ok" - } - ], - "privateEndpointConnections": [] - }, - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - } - } - }, - "systemData": { - "createdBy": "fakeapplication@contoso.com", - "createdByType": "Application", - "createdAt": "2021-01-01T00:00:00Z", - "lastModifiedBy": "fakeuser@contoso.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-operation-result-by-id.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-operation-result-by-id.json deleted file mode 100644 index 8a5f1ea8c8cf..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-operation-result-by-id.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "locationName": "westus", - "operationId": "6FBA62C4-99B5-4FF8-9826-FC4744A8864F", - "api-version": "2021-11-01-Preview" - }, - "responses": { - "202": {}, - "200": { - "body": { - "name": "contosomovies", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/videoAnalyzers/contosomovies", - "type": "Microsoft.Media/videoAnalyzers", - "location": "South Central US", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "encryption": { - "type": "SystemKey" - }, - "storageAccounts": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/storage1", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2" - } - } - ], - "endpoints": [ - { - "type": "ClientApi", - "endpointUrl": "https://77d7106674e0454eba85e5ede58cedbc.api.southcentralus.videoanalyzer.azure.net" - } - ] - }, - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - }, - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id3": { - "principalId": "00000000-0000-0000-0000-000000000000", - "clientId": "00000000-0000-0000-0000-000000000000" - } - } - }, - "systemData": { - "createdBy": "fakeapplication@contoso.com", - "createdByType": "Application", - "createdAt": "2021-01-01T00:00:00Z", - "lastModifiedBy": "fakeuser@contoso.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-operation-status-by-id-non-terminal-state-failed.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-operation-status-by-id-non-terminal-state-failed.json deleted file mode 100644 index cfef1d3f8281..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-operation-status-by-id-non-terminal-state-failed.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "locationName": "westus", - "operationId": "D612C429-2526-49D5-961B-885AE11406FD", - "api-version": "2021-11-01-Preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus/VideoAnalyzerOperationStatuses/D612C429-2526-49D5-961B-885AE11406FD", - "name": "D612C429-2526-49D5-961B-885AE11406FD", - "status": "Failed", - "startTime": "2021-01-01T12:56:36.002812-08:00", - "endTime": "2021-01-01T12:56:36.002812-08:00", - "error": { - "code": "BadRequest", - "message": "Storage account cannot be accessed." - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-operation-status-by-id-non-terminal-state.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-operation-status-by-id-non-terminal-state.json deleted file mode 100644 index bed3cb95d2f9..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-operation-status-by-id-non-terminal-state.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "locationName": "westus", - "operationId": "D612C429-2526-49D5-961B-885AE11406FD", - "api-version": "2021-11-01-Preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus/VideoAnalyzerOperationStatuses/D612C429-2526-49D5-961B-885AE11406FD", - "name": "D612C429-2526-49D5-961B-885AE11406FD", - "status": "InProgress", - "startTime": "2021-01-01T12:56:36.002812-08:00", - "endTime": "2021-01-01T12:56:36.002812-08:00" - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-operation-status-by-id-terminal-state.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-operation-status-by-id-terminal-state.json deleted file mode 100644 index 79525b2fb052..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-operation-status-by-id-terminal-state.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "locationName": "westus", - "operationId": "D612C429-2526-49D5-961B-885AE11406FD", - "api-version": "2021-11-01-Preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/locations/westus/VideoAnalyzerOperationStatuses/D612C429-2526-49D5-961B-885AE11406FD", - "name": "D612C429-2526-49D5-961B-885AE11406FD", - "status": "Succeeded", - "startTime": "2021-01-01T12:56:36.002812-08:00", - "endTime": "2021-01-01T12:56:36.002812-08:00" - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-endpoint-connection-delete.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-endpoint-connection-delete.json deleted file mode 100644 index 9bf8df98ef4a..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-endpoint-connection-delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "accountName": "contososports", - "name": "connectionName1", - "api-version": "2021-11-01-Preview" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-endpoint-connection-get-by-name.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-endpoint-connection-get-by-name.json deleted file mode 100644 index 6c3f93d9cd62..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-endpoint-connection-get-by-name.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "accountName": "contososports", - "name": "10000000-0000-0000-0000-000000000000", - "api-version": "2021-11-01-Preview" - }, - "responses": { - "200": { - "body": { - "name": "10000000-0000-0000-0000-000000000000", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fabrikam/providers/Microsoft.Media/videoanalyzers/contososports/privateEndpointConnections/10000000-0000-0000-0000-000000000000", - "type": "Microsoft.Media/videoanalyzers/privateEndpointConnections", - "properties": { - "provisioningState": "Succeeded", - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Test description." - }, - "privateEndpoint": { - "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/reosuceGroup1/providers/Microsoft.Network/privateEndpoints/privateEndpointName1" - } - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-endpoint-connection-list.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-endpoint-connection-list.json deleted file mode 100644 index 86e722a6bdcd..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-endpoint-connection-list.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "accountName": "contososports", - "api-version": "2021-11-01-Preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "10000000-0000-0000-0000-000000000000", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fabrikam/providers/Microsoft.Media/videoanalyzers/contososports/privateEndpointConnections/10000000-0000-0000-0000-000000000000", - "type": "Microsoft.Media/videoanalyzers/privateEndpointConnections", - "properties": { - "provisioningState": "Succeeded", - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Test description" - }, - "privateEndpoint": { - "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/reosuceGroup1/providers/Microsoft.Network/privateEndpoints/pe1" - } - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - }, - { - "name": "20000000-0000-0000-0000-000000000000", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fabrikam/providers/Microsoft.Media/videoanalyzers/contososports/privateEndpointConnections/20000000-0000-0000-0000-000000000000", - "type": "Microsoft.Media/videoanalyzers/privateEndpointConnections", - "properties": { - "provisioningState": "Succeeded", - "privateLinkServiceConnectionState": { - "status": "Pending", - "description": "Test description" - }, - "privateEndpoint": { - "id": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/reosuceGroup2/providers/Microsoft.Network/privateEndpoints/pe2" - } - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - ] - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-endpoint-connection-operation-result-by-id.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-endpoint-connection-operation-result-by-id.json deleted file mode 100644 index 7f9026b7c42a..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-endpoint-connection-operation-result-by-id.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "locationName": "westus", - "accountName": "contososports", - "name": "6FBA62C4-99B5-4FF8-9826-FC4744A8864F", - "operationId": "10000000-0000-0000-0000-000000000000", - "api-version": "2021-11-01-Preview" - }, - "responses": { - "202": {}, - "200": { - "body": { - "name": "10000000-0000-0000-0000-000000000000", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fabrikam/providers/Microsoft.Media/videoanalyzers/contososports/privateEndpointConnections/10000000-0000-0000-0000-000000000000", - "type": "Microsoft.Media/videoanalyzers/privateEndpointConnections", - "properties": { - "provisioningState": "Succeeded", - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Test description." - }, - "privateEndpoint": { - "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/reosuceGroup1/providers/Microsoft.Network/privateEndpoints/privateEndpointName1" - } - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-endpoint-connection-operation-status-by-id-terminal-state.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-endpoint-connection-operation-status-by-id-terminal-state.json deleted file mode 100644 index b366c9363cd5..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-endpoint-connection-operation-status-by-id-terminal-state.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "locationName": "westus", - "accountName": "contososports", - "name": "D612C429-2526-49D5-961B-885AE11406FD", - "operationId": "CDE44A33-DD32-4FFA-A1BC-601DC4D52B03", - "api-version": "2021-11-01-Preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fabrikam/providers/Microsoft.Media/videoanalyzers/contososports/privateEndpointConnections/D612C429-2526-49D5-961B-885AE11406FD/operationStatuses/CDE44A33-DD32-4FFA-A1BC-601DC4D52B03", - "name": "CDE44A33-DD32-4FFA-A1BC-601DC4D52B03", - "status": "Succeeded", - "startTime": "2021-01-01T12:56:36.002812-08:00", - "endTime": "2021-01-01T12:56:36.002812-08:00" - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-endpoint-connection-put.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-endpoint-connection-put.json deleted file mode 100644 index df0b7c1f925c..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-endpoint-connection-put.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "accountName": "contososports", - "name": "10000000-0000-0000-0000-000000000000", - "api-version": "2021-11-01-Preview", - "parameters": { - "properties": { - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Test description." - } - } - } - }, - "responses": { - "201": { - "body": { - "name": "10000000-0000-0000-0000-000000000000", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fabrikam/providers/Microsoft.Media/videoanalyzers/contososports/privateEndpointConnections/10000000-0000-0000-0000-000000000000", - "type": "Microsoft.Media/videoanalyzers/privateEndpointConnections", - "properties": { - "provisioningState": "InProgress", - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Test description." - }, - "privateEndpoint": { - "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/reosuceGroup1/providers/Microsoft.Network/privateEndpoints/privateEndpointName1" - } - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-link-resources-get-by-name.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-link-resources-get-by-name.json deleted file mode 100644 index 2752da58c3e4..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-link-resources-get-by-name.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "accountName": "contososports", - "name": "integration", - "api-version": "2021-11-01-Preview" - }, - "responses": { - "200": { - "body": { - "name": "integration", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fabrikam/providers/Microsoft.Media/videoanalyzers/contososports/privateLinkResources/integration", - "type": "Microsoft.Media/videoanalyzers/privateLinkResources", - "properties": { - "groupId": "integration", - "requiredMembers": [ - "edgeapi" - ] - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-link-resources-list.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-link-resources-list.json deleted file mode 100644 index c020256ec437..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-analyzer-private-link-resources-list.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "contoso", - "accountName": "contososports", - "api-version": "2021-11-01-Preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "integration", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fabrikam/providers/Microsoft.Media/videoanalyzers/contososports/privateLinkResources/integration", - "type": "Microsoft.Media/videoanalyzers/privateLinkResources", - "properties": { - "groupId": "integration", - "requiredMembers": [ - "edgeapi" - ] - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - }, - { - "name": "ingestion", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fabrikam/providers/Microsoft.Media/videoanalyzers/contososports/privateLinkResources/ingestion", - "type": "Microsoft.Media/videoanalyzers/privateLinkResources", - "properties": { - "groupId": "ingestion", - "requiredMembers": [ - "devicetunnel" - ] - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - }, - { - "name": "consumption", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fabrikam/providers/Microsoft.Media/videoanalyzers/contososports/privateLinkResources/consumption", - "type": "Microsoft.Media/videoanalyzers/privateLinkResources", - "properties": { - "groupId": "consumption", - "requiredMembers": [ - "clientapi", - "rtsptunnel", - "streaming" - ] - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - ] - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-create.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-create.json deleted file mode 100644 index 8cc0ff500d27..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-create.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "videoName": "video1", - "api-version": "2021-11-01-preview", - "parameters": { - "properties": { - "title": "Sample Title 1", - "description": "Sample Description 1" - } - } - }, - "responses": { - "201": { - "body": { - "name": "video2", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/videos/video2", - "type": "Microsoft.Media/videoAnalyzers/videos", - "properties": { - "title": "Sample Title 1", - "description": "Sample Description 1", - "type": "Archive", - "flags": { - "canStream": false, - "hasData": false, - "isInUse": false - }, - "archival": { - "retentionPeriod": "P7D" - } - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - }, - "200": { - "body": { - "name": "video1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/videos/video1", - "type": "Microsoft.Media/videoAnalyzers/videos", - "properties": { - "title": "Sample Title 1", - "description": "Sample Description 1", - "type": "Archive", - "flags": { - "canStream": true, - "hasData": true, - "isInUse": false - }, - "contentUrls": { - "downloadUrl": "https://591e76c33e9744db879c3e2b12961b62.streaming.westus.videoanalyzer.net/591e76c33e9744db879c3e2b12961b62/content.mp4", - "archiveBaseUrl": "https://591e76c33e9744db879c3e2b12961b62.streaming.westus.videoanalyzer.net/591e76c33e9744db879c3e2b12961b62/content.ism", - "rtspTunnelUrl": "https://591e76c33e9744db879c3e2b12961b62.streaming.westus.videoanalyzer.net/591e76c33e9744db879c3e2b12961b62", - "previewImageUrls": { - "small": "https://591e76c33e9744db879c3e2b12961b62.streaming.westus.videoanalyzer.net/591e76c33e9744db879c3e2b12961b62/images/latest/small.jpg", - "medium": "https://591e76c33e9744db879c3e2b12961b62.streaming.westus.videoanalyzer.net/591e76c33e9744db879c3e2b12961b62/images/latest/medium.jpg", - "large": "https://591e76c33e9744db879c3e2b12961b62.streaming.westus.videoanalyzer.net/591e76c33e9744db879c3e2b12961b62/images/latest/large.jpg" - } - }, - "mediaInfo": { - "segmentLength": "PT30S" - }, - "archival": { - "retentionPeriod": "P7D" - } - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-delete.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-delete.json deleted file mode 100644 index 8f2efff597e3..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "videoName": "video1", - "api-version": "2021-11-01-preview" - }, - "responses": { - "204": {}, - "200": {} - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-get.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-get.json deleted file mode 100644 index 08f600a355e5..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-get.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "videoName": "video1", - "api-version": "2021-11-01-preview" - }, - "responses": { - "200": { - "body": { - "name": "video1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/videos/video1", - "type": "Microsoft.Media/videoAnalyzers/videos", - "properties": { - "title": "Sample Title 1", - "description": "Sample Description 1", - "type": "Archive", - "flags": { - "canStream": true, - "hasData": true, - "isInUse": false - }, - "contentUrls": { - "downloadUrl": "https://591e76c33e9744db879c3e2b12961b62.streaming.westus.videoanalyzer.net/591e76c33e9744db879c3e2b12961b62/content.mp4", - "archiveBaseUrl": "https://591e76c33e9744db879c3e2b12961b62.streaming.westus.videoanalyzer.net/591e76c33e9744db879c3e2b12961b62/content.ism", - "rtspTunnelUrl": "https://591e76c33e9744db879c3e2b12961b62.streaming.westus.videoanalyzer.net/591e76c33e9744db879c3e2b12961b62", - "previewImageUrls": { - "small": "https://591e76c33e9744db879c3e2b12961b62.streaming.westus.videoanalyzer.net/591e76c33e9744db879c3e2b12961b62/images/latest/small.jpg", - "medium": "https://591e76c33e9744db879c3e2b12961b62.streaming.westus.videoanalyzer.net/591e76c33e9744db879c3e2b12961b62/images/latest/medium.jpg", - "large": "https://591e76c33e9744db879c3e2b12961b62.streaming.westus.videoanalyzer.net/591e76c33e9744db879c3e2b12961b62/images/latest/large.jpg" - } - }, - "mediaInfo": { - "segmentLength": "PT30S" - }, - "archival": { - "retentionPeriod": "P2D" - } - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-list.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-list.json deleted file mode 100644 index 6f7b4b5ffe55..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-list.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "api-version": "2021-11-01-preview", - "$top": "2" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "video1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/videos/video1", - "type": "Microsoft.Media/videoAnalyzers/videos", - "properties": { - "title": "Sample Title 1", - "description": "Sample Description 1", - "type": "Archive", - "flags": { - "canStream": true, - "hasData": true, - "isInUse": false - }, - "contentUrls": { - "downloadUrl": "https://591e76c33e9744db879c3e2b12961b62.streaming.westus.videoanalyzer.net/591e76c33e9744db879c3e2b12961b62/content.mp4", - "archiveBaseUrl": "https://591e76c33e9744db879c3e2b12961b62.streaming.westus.videoanalyzer.net/591e76c33e9744db879c3e2b12961b62/content.ism", - "rtspTunnelUrl": "https://591e76c33e9744db879c3e2b12961b62.streaming.westus.videoanalyzer.net/591e76c33e9744db879c3e2b12961b62", - "previewImageUrls": { - "small": "https://591e76c33e9744db879c3e2b12961b62.streaming.westus.videoanalyzer.net/591e76c33e9744db879c3e2b12961b62/images/latest/small.jpg", - "medium": "https://591e76c33e9744db879c3e2b12961b62.streaming.westus.videoanalyzer.net/591e76c33e9744db879c3e2b12961b62/images/latest/medium.jpg", - "large": "https://591e76c33e9744db879c3e2b12961b62.streaming.westus.videoanalyzer.net/591e76c33e9744db879c3e2b12961b62/images/latest/large.jpg" - } - }, - "mediaInfo": { - "segmentLength": "PT30S" - }, - "archival": { - "retentionPeriod": "P2D" - } - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - }, - { - "name": "video2", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/videos/video2", - "type": "Microsoft.Media/videoAnalyzers/videos", - "properties": { - "title": "Sample Title 2", - "description": "Sample Description 2", - "type": "File", - "flags": { - "canStream": false, - "hasData": false, - "isInUse": false - } - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - ] - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-listContentToken.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-listContentToken.json deleted file mode 100644 index c2eb1d494dae..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-listContentToken.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "videoName": "video3", - "api-version": "2021-11-01-preview" - }, - "responses": { - "200": { - "body": { - "token": "testtoken", - "expirationDate": "3021-01-23T11:04:49.0526841-08:00" - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-patch.json b/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-patch.json deleted file mode 100644 index e0677ac6e3f5..000000000000 --- a/specification/videoanalyzer/resource-manager/Microsoft.Media/preview/2021-11-01-preview/examples/video-patch.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "parameters": { - "subscriptionId": "591e76c3-3e97-44db-879c-3e2b12961b62", - "resourceGroupName": "testrg", - "accountName": "testaccount2", - "videoName": "video1", - "api-version": "2021-11-01-preview", - "parameters": { - "properties": { - "description": "Parking Lot East Entrance" - } - } - }, - "responses": { - "200": { - "body": { - "name": "video1", - "id": "/subscriptions/591e76c3-3e97-44db-879c-3e2b12961b62/resourceGroups/testrg/providers/Microsoft.Media/videoAnalyzers/testaccount2/videos/video1", - "type": "Microsoft.Media/videoAnalyzers/videos", - "properties": { - "title": "Sample Title 1", - "description": "Parking Lot East Entrance", - "type": "Archive", - "flags": { - "canStream": false, - "hasData": false, - "isInUse": false - }, - "archival": { - "retentionPeriod": "P2D" - } - }, - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "0001-01-01T00:00:00Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "0001-01-01T00:00:00Z" - } - } - } - } -} diff --git a/specification/videoanalyzer/resource-manager/readme.az.md b/specification/videoanalyzer/resource-manager/readme.az.md deleted file mode 100644 index 8b325b8420fa..000000000000 --- a/specification/videoanalyzer/resource-manager/readme.az.md +++ /dev/null @@ -1,28 +0,0 @@ -## AZ - -These settings apply only when `--az` is specified on the command line. - -For new Resource Provider. It is highly recommended to onboard Azure CLI extensions. There's no differences in terms of customer usage. - -``` yaml $(az) && $(target-mode) != 'core' -az: - extensions: videoanalyzer - namespace: azure.mgmt.videoanalyzer - package-name: azure-mgmt-videoanalyzer -az-output-folder: $(azure-cli-extension-folder)/src/videoanalyzer -python-sdk-output-folder: "$(az-output-folder)/azext_videoanalyzer/vendored_sdks/videoanalyzer" -# add additional configuration here specific for Azure CLI -# refer to the faq.md for more details -``` - - - -This is for command modules that already in azure cli main repo. -``` yaml $(az) && $(target-mode) == 'core' -az: - extensions: videoanalyzer - namespace: azure.mgmt.videoanalyzer - package-name: azure-mgmt-videoanalyzer -az-output-folder: $(azure-cli-folder)/src/azure-cli/azure/cli/command_modules/videoanalyzer -python-sdk-output-folder: "$(az-output-folder)/vendored_sdks/videoanalyzer" -``` \ No newline at end of file diff --git a/specification/videoanalyzer/resource-manager/readme.cli.md b/specification/videoanalyzer/resource-manager/readme.cli.md deleted file mode 100644 index c6cf6ad37ea4..000000000000 --- a/specification/videoanalyzer/resource-manager/readme.cli.md +++ /dev/null @@ -1 +0,0 @@ -## CLI Common Settings for all the command line tools \ No newline at end of file diff --git a/specification/videoanalyzer/resource-manager/readme.go.md b/specification/videoanalyzer/resource-manager/readme.go.md deleted file mode 100644 index 254ecbc2cb26..000000000000 --- a/specification/videoanalyzer/resource-manager/readme.go.md +++ /dev/null @@ -1,30 +0,0 @@ -## Go - -These settings apply only when `--go` is specified on the command line. - -```yaml $(go) && !$(track2) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - namespace: videoanalyzer - clear-output-folder: true -``` - -``` yaml $(go) && $(track2) -license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/videoanalyzer/armvideoanalyzer -module: github.com/Azure/azure-sdk-for-go/$(module-name) -output-folder: $(go-sdk-folder)/$(module-name) -azure-arm: true -directive: -- rename-model: - from: 'Properties' - to: 'MetricProperties' -- from: swagger-document - where: '$.paths.*[?(@.operationId.startsWith("OperationStatuses_"))]' - transform: > - $["operationId"] = $["operationId"].replace("OperationStatuses_", "PrivateEndpointConnectionsOperationStatuses_") -- from: swagger-document - where: '$.paths.*[?(@.operationId.startsWith("OperationResults_"))]' - transform: > - $["operationId"] = $["operationId"].replace("OperationResults_", "PrivateEndpointConnectionsOperationResults_") -``` diff --git a/specification/videoanalyzer/resource-manager/readme.java.md b/specification/videoanalyzer/resource-manager/readme.java.md deleted file mode 100644 index 4dcd605e5694..000000000000 --- a/specification/videoanalyzer/resource-manager/readme.java.md +++ /dev/null @@ -1,35 +0,0 @@ -## Java - -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.videoanalyzer -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 2 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-videoanalyzer - -service-name: Video Analyzer -``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2021-05-01-preview -``` - -### Tag: package-2021-05-01-preview and java - -These settings apply only when `--tag=package-2021-05-01-preview --java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2021-05-01-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.videoanalyzer.v2021_05_01_preview - output-folder: $(azure-libraries-for-java-folder)/sdk/videoanalyzer/mgmt-v2021_05_01_preview -regenerate-manager: true -generate-interface: true -``` \ No newline at end of file diff --git a/specification/videoanalyzer/resource-manager/readme.md b/specification/videoanalyzer/resource-manager/readme.md deleted file mode 100644 index 599dac60cd1b..000000000000 --- a/specification/videoanalyzer/resource-manager/readme.md +++ /dev/null @@ -1,113 +0,0 @@ -# videoanalyzer - -> see https://aka.ms/autorest - -This is the AutoRest configuration file for videoanalyzer. - -## Getting Started - -To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run: - -> `autorest readme.md` - -To see additional help and options, run: - -> `autorest --help` - -For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page. - ---- - -## Configuration - -### Basic Information - -These are the global settings for the videoanalyzer. - -```yaml -title: VideoAnalyzerManagementClient -description: Azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the cloud -openapi-type: arm -tag: package-preview-2021-11 -``` - -### Suppression - -```yaml -directive: - - from: VideoAnalyzers.json - reason: Patch response is 202. - suppress: LongRunningResponseStatusCode - - - from: VideoAnalyzers.json - reason: Patch response is 202. - suppress: TrackedResourcePatchOperation -``` - -### Tag: package-preview-2021-11 - -These settings apply only when `--tag=package-preview-2021-11` is specified on the command line. - -```yaml $(tag) == 'package-preview-2021-11' -input-file: - - Microsoft.Media/preview/2021-11-01-preview/EdgeModules.json - - Microsoft.Media/preview/2021-11-01-preview/PipelineTopologies.json - - Microsoft.Media/preview/2021-11-01-preview/VideoAnalyzers.json - - Microsoft.Media/preview/2021-11-01-preview/Videos.json -``` - -### Tag: package-2021-05-01-preview - -These settings apply only when `--tag=package-2021-05-01-preview` is specified on the command line. - -```yaml $(tag) == 'package-2021-05-01-preview' -input-file: - - Microsoft.Media/preview/2021-05-01-preview/VideoAnalyzers.json - - Microsoft.Media/preview/2021-05-01-preview/EdgeModules.json - - Microsoft.Media/preview/2021-05-01-preview/Videos.json -``` - ---- - -# Code Generation - -## Swagger to SDK - -This section describes what SDK should be generated by the automatic system. -This is not used by Autorest itself. - -```yaml $(swagger-to-sdk) -swagger-to-sdk: - - repo: azure-sdk-for-python - - repo: azure-sdk-for-java - - repo: azure-sdk-for-go - - repo: azure-sdk-for-js - - repo: azure-sdk-for-java - - repo: azure-resource-manager-schemas - - repo: azure-cli-extensions - - repo: azure-powershell -``` - -## Az - -See configuration in [readme.az.md](./readme.az.md) - -## Go - -See configuration in [readme.go.md](./readme.go.md) - -## Python - -See configuration in [readme.python.md](./readme.python.md) - -## TypeScript - -See configuration in [readme.typescript.md](./readme.typescript.md) - -## CSharp - -See configuration in [readme.csharp.md](./readme.csharp.md) - -## Java - -See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/videoanalyzer/resource-manager/readme.python.md b/specification/videoanalyzer/resource-manager/readme.python.md deleted file mode 100644 index 4d8768339c18..000000000000 --- a/specification/videoanalyzer/resource-manager/readme.python.md +++ /dev/null @@ -1,18 +0,0 @@ -## Python - -These settings apply only when `--python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(python) -azure-arm: true -license-header: MICROSOFT_MIT_NO_VERSION -package-name: azure-mgmt-videoanalyzer -namespace: azure.mgmt.videoanalyzer -package-version: 1.0.0b1 -``` - -``` yaml $(python) -no-namespace-folders: true -output-folder: $(python-sdks-folder)/videoanalyzer/azure-mgmt-videoanalyzer/azure/mgmt/videoanalyzer -``` - diff --git a/specification/videoanalyzer/resource-manager/readme.typescript.md b/specification/videoanalyzer/resource-manager/readme.typescript.md deleted file mode 100644 index 93ff016c556c..000000000000 --- a/specification/videoanalyzer/resource-manager/readme.typescript.md +++ /dev/null @@ -1,13 +0,0 @@ -## TypeScript - -These settings apply only when `--typescript` is specified on the command line. -Please also specify `--typescript-sdks-folder=`. - -``` yaml $(typescript) -typescript: - azure-arm: true - package-name: "@azure/arm-videoanalyzer" - output-folder: "$(typescript-sdks-folder)/sdk/videoanalyzer/arm-videoanalyzer" - payload-flattening-threshold: 1 - generate-metadata: true -```