Skip to content

Commit

Permalink
Removed OnvifDeviceGetRequestBody and OnVifDeviceDiscoverRequestBody (#…
Browse files Browse the repository at this point in the history
…16371)

* Removed OnvifDeviceGetRequestBody and OnVifDeviceDiscoverRequestBody

* adding required to discoverduration

* removing assetsink

* making discoveryDuration optional
  • Loading branch information
hivyas authored Oct 15, 2021
1 parent abf7b7e commit 2f35196
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 74 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1705,43 +1705,6 @@
"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"
},
"AssetSink": {
"type": "object",
"properties": {
"assetContainerSasUrl": {
"type": "string",
"description": "An Azure Storage SAS URL which points to container, such as the one created for an Azure Media Services asset.",
"example": "https://azurestorage.com/mycontainer?sig=mysecretkey"
},
"segmentLength": {
"type": "string",
"example": "PT30S",
"description": "When writing media to an asset, wait until at least this duration of media has been accumulated on the Edge. Expressed in increments of 30 seconds, with a minimum of 30 seconds and a recommended maximum of 5 minutes."
},
"localMediaCachePath": {
"type": "string",
"description": "Path to a local file system directory for temporary caching of media before writing to an Asset. Used when the Edge device is temporarily disconnected from Azure.",
"example": "/var/lib/tmp/"
},
"localMediaCacheMaximumSizeMiB": {
"type": "string",
"description": "Maximum amount of disk space that can be used for temporary caching of media."
}
},
"required": [
"@type",
"assetContainerSasUrl",
"localMediaCachePath",
"localMediaCacheMaximumSizeMiB"
],
"allOf": [
{
"$ref": "#/definitions/SinkNodeBase"
}
],
"description": "Enables a pipeline topology to record media to an Azure Media Services asset for subsequent playback.",
"x-ms-discriminator-value": "#Microsoft.VideoAnalyzer.AssetSink"
},
"RemoteDeviceAdapter": {
"type": "object",
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"x-ms-enum": {
"name": "apiVersionEnum",
"modelAsString": false
}
},
"x-ms-client-default": "1.1"
}
},
"discriminator": "methodName",
Expand Down Expand Up @@ -265,8 +266,9 @@
],
"description": "Deletes an existing remote device adapter."
},
"OnvifDeviceDiscoverRequestBody": {
"OnvifDeviceDiscoverRequest": {
"type": "object",
"x-ms-discriminator-value": "onvifDeviceDiscover",
"allOf": [
{
"$ref": "#/definitions/MethodRequest"
Expand All @@ -278,25 +280,11 @@
"description": "The amount of time that the ONVIF device discovery will wait for supported device responses."
}
},
"description": "OnvifDeviceDiscover request body."
},
"OnvifDeviceDiscoverRequest": {
"type": "object",
"x-ms-discriminator-value": "onvifDeviceDiscover",
"allOf": [
{
"$ref": "#/definitions/MethodRequest"
}
],
"properties": {
"onvifDeviceDiscoverRequestBody": {
"$ref": "#/definitions/OnvifDeviceDiscoverRequestBody"
}
},
"description": "Lists all the discoverable ONVIF devices on the same subnet as the Edge Module."
},
"OnvifDeviceGetRequestBody": {
"OnvifDeviceGetRequest": {
"type": "object",
"x-ms-discriminator-value": "onvifDeviceGet",
"allOf": [
{
"$ref": "#/definitions/MethodRequest"
Expand All @@ -307,28 +295,9 @@
],
"properties": {
"endpoint": {
"description": "ONVIF device endpoint.",
"$ref": "./AzureVideoAnalyzer.json#/definitions/EndpointBase"
}
},
"description": "OnvifDeviceGet request body."
},
"OnvifDeviceGetRequest": {
"type": "object",
"x-ms-discriminator-value": "onvifDeviceGet",
"allOf": [
{
"$ref": "#/definitions/MethodRequest"
}
],
"required": [
"onvifDeviceGetRequestBody"
],
"properties": {
"onvifDeviceGetRequestBody": {
"$ref": "#/definitions/OnvifDeviceGetRequestBody"
}
},
"description": "Retrieves properties and media profiles of an ONVIF device."
}
}
Expand Down

0 comments on commit 2f35196

Please sign in to comment.