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.
To build the SDK for Azure Video Analyzer edge, simply Install AutoRest and in this folder, run:
autorest
To see additional help and options, run:
autorest --help
These are the global settings for the Azure Video Analyzer edge API.
openapi-type: data-plane
tag: package-preview-1.1.0
directive:
- where:
- $.definitions.MethodRequest.properties.methodName
suppress:
- RequiredReadOnlyProperties
These settings apply only when --tag=package-preview-1.1.0
is specified on the command line.
input-file:
- VideoAnalyzer.Edge/preview/1.1.0/AzureVideoAnalyzer.json
- VideoAnalyzer.Edge/preview/1.1.0/AzureVideoAnalyzerSdkDefinitions.json
These settings apply only when --tag=package-ava-edge-1-0-0-preview
is specified on the command line.
input-file:
- VideoAnalyzer.Edge/preview/1.0.0/AzureVideoAnalyzer.json
- VideoAnalyzer.Edge/preview/1.0.0/AzureVideoAnalyzerSdkDefinitions.json
This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-net-track2
These settings apply only when --csharp
is specified on the command line.
Please also specify --csharp-sdks-folder=<path to "SDKs" directory of your azure-sdk-for-net clone>
.
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
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!
# 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.
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json