Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed OnvifDeviceGetRequestBody and OnVifDeviceDiscoverRequestBody #16371

Merged
merged 4 commits into from
Oct 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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