Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
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 @@ -5,7 +5,7 @@ These settings apply only when `--go` is specified on the command line.
``` yaml $(go)
go:
license-header: MICROSOFT_APACHE_NO_VERSION
namespace: anomalyfinder
namespace: anomalydetector
clear-output-folder: true
```

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Cognitive Services Anomaly Finder SDK
# Cognitive Services Anomaly Detector SDK

> see https://aka.ms/autorest

Configuration for generating Anomaly Finder SDK.
Configuration for generating Anomaly Detector SDK.

The current release is `release_2_0`.

Expand All @@ -19,7 +19,7 @@ openapi-type: data-plane
These settings apply only when `--tag=release_2_0` is specified on the command line.

``` yaml $(tag) == 'release_2_0'
input-file: stable/v2.0/AnomalyFinder.json
input-file: stable/v2.0/AnomalyDetector.json
```

## Swagger to SDK
Expand All @@ -36,7 +36,7 @@ swagger-to-sdk:
- repo: azure-sdk-for-node
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_cognitiveservices_anomalyfinder']
- bundle install && rake arm:regen_all_profiles['azure_cognitiveservices_anomalydetector']
```

## CSharp Settings
Expand All @@ -48,8 +48,8 @@ csharp:
sync-methods: None
license-header: MICROSOFT_MIT_NO_VERSION
azure-arm: false
namespace: Microsoft.Azure.CognitiveServices.AnomalyFinder
output-folder: $(csharp-sdks-folder)/CognitiveServices/dataPlane/AnomalyFinder/AnomalyFinder/Generated
namespace: Microsoft.Azure.CognitiveServices.AnomalyDetector
output-folder: $(csharp-sdks-folder)/CognitiveServices/dataPlane/AnomalyDetector/AnomalyDetector/Generated
clear-output-folder: true
```

Expand All @@ -69,10 +69,10 @@ Please also specify `--azure-libraries-for-java-folder=<path to the root directo
``` yaml $(java)
java:
azure-arm: true
namespace: com.microsoft.azure.cognitiveservices.anomalyfinder
namespace: com.microsoft.azure.cognitiveservices.anomalydetector
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/cognitiveservices/data-plane/anomalyfinder
output-folder: $(azure-libraries-for-java-folder)/cognitiveservices/data-plane/anomalydetector
with-optional-parameters: true
with-single-async-method: true
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Please also specify `--node-sdks-folder=<path to root folder of your azure-sdk-f

``` yaml $(nodejs)
nodejs:
package-name: azure-cognitiveservices-anomalyfinder
output-folder: $(node-sdks-folder)/lib/services/cognitiveServicesAnomalyFinder
package-name: azure-cognitiveservices-anomalydetector
output-folder: $(node-sdks-folder)/lib/services/cognitiveServicesAnomalyDetector
azure-arm: false
generate-license-txt: true
generate-package-json: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ python:
license-header: MICROSOFT_MIT_NO_VERSION
add-credentials: true
payload-flattening-threshold: 2
namespace: azure.cognitiveservices.anomalyfinder
package-name: azure-cognitiveservices-anomalyfinder
namespace: azure.cognitiveservices.anomalydetector
package-name: azure-cognitiveservices-anomalydetector
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/azure-cognitiveservices-anomalyfinder/azure/cognitiveservices/anomalyfinder
output-folder: $(python-sdks-folder)/azure-cognitiveservices-anomalydetector/azure/cognitiveservices/anomalydetector
```
``` yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/azure-cognitiveservices-anomalyfinder
output-folder: $(python-sdks-folder)/azure-cognitiveservices-anomalydetector
```
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
These settings apply only when `--ruby` is specified on the command line.

``` yaml
package-name: azure_cognitiveservices_anomalyfinder
package-name: azure_cognitiveservices_anomalydetector
package-version: "0.16.0"
azure-arm: true
```
Expand All @@ -21,7 +21,7 @@ These settings apply only when `--tag=release_2_0 --ruby` is specified on the co
Please also specify `--ruby-sdks-folder=<path to the root directory of your azure-sdk-for-ruby clone>`.

``` yaml $(tag) == 'release_2_0' && $(ruby)
namespace: "Azure::CognitiveServices::AnomalyFinder::V2_0"
output-folder: $(ruby-sdks-folder)/data/azure_cognitiveservices_anomalyfinder/lib
title: "AnomalyFinderClient"
namespace: "Azure::CognitiveServices::AnomalyDetector::V2_0"
output-folder: $(ruby-sdks-folder)/data/azure_cognitiveservices_anomalydetector/lib
title: "AnomalyDetectorClient"
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Please also specify `--typescript-sdks-folder=<path to root folder of your azure

``` yaml $(typescript)
typescript:
package-name: "@azure/cognitiveservices-anomalyfinder"
output-folder: "$(typescript-sdks-folder)/packages/@azure/cognitiveservices-anomalyfinder"
package-name: "@azure/cognitiveservices-anomalydetector"
output-folder: "$(typescript-sdks-folder)/packages/@azure/cognitiveservices-anomalydetector"
azure-arm: false
generate-metadata: true
```
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"swagger": "2.0",
"info": {
"version": "2.0",
"title": "Anomaly Finder Client",
"description": "The Anomaly Finder API detects anomalies automatically in time series data. It supports two functionalities, one is for detecting the whole series with model trained by the timeseries, another is detecting last point with model trained by points before. By using this service, business customers can discover incidents and establish a logic flow for root cause analysis."
"title": "Anomaly Detector Client",
"description": "The Anomaly Detector API detects anomalies automatically in time series data. It supports two functionalities, one is for detecting the whole series with model trained by the timeseries, another is detecting last point with model trained by points before. By using this service, business customers can discover incidents and establish a logic flow for root cause analysis."
},
"securityDefinitions": {
"apiKeyHeader": {
Expand All @@ -18,7 +18,7 @@
}
],
"x-ms-parameterized-host": {
"hostTemplate": "{Endpoint}/anomalyfinder/v2.0",
"hostTemplate": "{Endpoint}/anomalydetector/v2.0",
"useSchemePrefix": false,
"parameters": [
{
Expand Down Expand Up @@ -130,7 +130,7 @@
"InvalidSeries"
],
"x-ms-enum": {
"name": "AnomalyFinderErrorCodes",
"name": "AnomalyDetectorErrorCodes",
"modelAsString": true
}
},
Expand Down