Skip to content
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
12 changes: 1 addition & 11 deletions specification/cognitiveservices/AnomalyDetector/client.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,4 @@ import "./main.tsp";

using Azure.ClientGenerator.Core;

@@convenientAPI(AnomalyDetector.Multivariate.GetMultivariateBatchDetectionResult, true)
@@convenientAPI(AnomalyDetector.Multivariate.TrainMultivariateModel, true)
@@convenientAPI(AnomalyDetector.Multivariate.ListMultivariateModels, true)
@@convenientAPI(AnomalyDetector.Multivariate.DeleteMultivariateModel, true)
@@convenientAPI(AnomalyDetector.Multivariate.GetMultivariateModel, true)
@@convenientAPI(AnomalyDetector.Multivariate.DetectMultivariateBatchAnomaly, true)
@@convenientAPI(AnomalyDetector.Multivariate.DetectMultivariateLastAnomaly, true)

@@convenientAPI(AnomalyDetector.Univariate.DetectUnivariateEntireSeries, true)
@@convenientAPI(AnomalyDetector.Univariate.DetectUnivariateLastPoint, true)
@@convenientAPI(AnomalyDetector.Univariate.DetectUnivariateChangePoint, true)
@@convenientAPI(AnomalyDetector.Univariate.DetectUnivariateEntireSeries, false)
13 changes: 13 additions & 0 deletions specification/cognitiveservices/AnomalyDetector/tspconfig.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
parameters:
"python-sdk-folder":
default: "{project-root}/azure-sdk-for-python/"
"java-sdk-folder":
default: "{project-root}/azure-sdk-for-java/"
"js-sdk-folder":
default: "{project-root}/azure-sdk-for-js/"
"csharp-sdk-folder":
default: "{project-root}/azure-sdk-for-net/"
"service-directory-name":
default: "anomalydetector"
emit: [
Expand All @@ -22,9 +28,16 @@ options:
"@azure-tools/typespec-java":
namespace: com.azure.ai.anomalydetector
partial-update: true
emitter-output-dir: "{java-sdk-folder}/sdk/{service-directory-name}/azure-ai-anomalydetector"
# Uncomment this line and add "@azure-tools/typespec-csharp" to your package.json to generate C# code
"@azure-tools/typespec-csharp":
save-inputs: false
clear-output-folder: true
namespace: Azure.AI.AnomalyDetector
model-namespace: false
"@azure-tools/typespec-ts":
emitter-output-dir: "{js-sdk-folder}/sdk/{service-directory-name}/ai-anomaly-detector-rest"
generateMetadata: true
generateTest: true
packageDetails:
name: "@azure-rest/ai-anomaly-detector"