Skip to content

Commit 8a493f0

Browse files
authored
Merge pull request #205575 from DenKenMSFT/UserStory1971500-07
Subscription key note update - Anomaly Detector, Quickstarts & Tutorials
2 parents 9959423 + a0f2500 commit 8a493f0

7 files changed

+20
-1
lines changed

articles/cognitive-services/Anomaly-Detector/includes/quickstarts/anomaly-detector-client-library-csharp-multivariate.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ string apiKey = "YOUR_ENDPOINT";
9292
string datasource = "YOUR_SAMPLE_ZIP_FILE_LOCATED_IN_AZURE_BLOB_STORAGE_WITH_SAS";
9393
```
9494

95+
> [!IMPORTANT]
96+
> Remember to remove the key from your code when you're done, and never post it publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../../key-vault/general/overview.md). See the Cognitive Services [security](../../../cognitive-services-security.md) article for more information.
97+
9598
To use the Anomaly Detector multivariate APIs, you need to first train your own models. Training data is a set of multiple time series that meet the following requirements:
9699

97100
Each time series should be a CSV file with two (and only two) columns, "timestamp" and "value" (all in lowercase) as the header row. The "timestamp" values should conform to ISO 8601; the "value" could be integers or decimals with any number of decimal places. For example:

articles/cognitive-services/Anomaly-Detector/includes/quickstarts/anomaly-detector-client-library-csharp.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ namespace Azure.AI.AnomalyDetector.Tests.Samples
159159
}
160160
```
161161

162+
> [!IMPORTANT]
163+
> Remember to remove the key from your code when you're done, and never post it publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../../key-vault/general/overview.md). See the Cognitive Services [security](../../../cognitive-services-security.md) article for more information.
164+
162165
## Code details
163166

164167
### Load time series and create DetectRequest

articles/cognitive-services/Anomaly-Detector/includes/quickstarts/anomaly-detector-client-library-java-multivariate.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ String key = "YOUR_API_KEY";
108108
String endpoint = "YOUR_ENDPOINT";
109109
```
110110

111+
> [!IMPORTANT]
112+
> Remember to remove the key from your code when you're done, and never post it publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../../key-vault/general/overview.md). See the Cognitive Services [security](../../../cognitive-services-security.md) article for more information.
113+
111114
To use the Anomaly Detector multivariate APIs, you need to first train your own models. Training data is a set of multiple time series that meet the following requirements:
112115

113116
Each time series should be a CSV file with two (and only two) columns, "timestamp" and "value" (all in lowercase) as the header row. The "timestamp" values should conform to ISO 8601; the "value" could be integers or decimals with any number of decimal places. For example:

articles/cognitive-services/Anomaly-Detector/includes/quickstarts/anomaly-detector-client-library-javascript-multivariate.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ const endpoint = "YOUR_ENDPOINT";
6767
const data_source = "YOUR_SAMPLE_ZIP_FILE_LOCATED_IN_AZURE_BLOB_STORAGE_WITH_SAS";
6868
```
6969

70+
> [!IMPORTANT]
71+
> Remember to remove the key from your code when you're done, and never post it publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../../key-vault/general/overview.md). See the Cognitive Services [security](../../../cognitive-services-security.md) article for more information.
72+
7073
To use the Anomaly Detector multivariate APIs, you need to first train your own models. Training data is a set of multiple time series that meet the following requirements:
7174

7275
Each time series should be a CSV file with two (and only two) columns, "timestamp" and "value" (all in lowercase) as the header row. The "timestamp" values should conform to ISO 8601; the "value" could be integers or decimals with any number of decimal places. For example:

articles/cognitive-services/Anomaly-Detector/includes/quickstarts/anomaly-detector-client-library-python-multivariate.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ subscription_key = "ANOMALY_DETECTOR_KEY"
6666
anomaly_detector_endpoint = "ANOMALY_DETECTOR_ENDPOINT"
6767
```
6868

69-
69+
> [!IMPORTANT]
70+
> Remember to remove the key from your code when you're done, and never post it publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../../key-vault/general/overview.md). See the Cognitive Services [security](../../../cognitive-services-security.md) article for more information.
7071
7172
## Code examples
7273

articles/cognitive-services/Anomaly-Detector/tutorials/batch-anomaly-detection-powerbi.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ Invoke the query on your data sheet by selecting `Sheet1` below **Enter Paramete
111111

112112
![An image of the invoke function](../media/tutorials/invoke-function-screenshot.png)
113113

114+
> [!IMPORTANT]
115+
> Remember to remove the key from your code when you're done, and never post it publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../key-vault/general/overview.md). See the Cognitive Services [security](../../cognitive-services-security.md) article for more information.
116+
114117
## Data source privacy and authentication
115118

116119
> [!NOTE]

articles/cognitive-services/Anomaly-Detector/tutorials/learn-multivariate-anomaly-detection.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,9 @@ except Exception as e:
203203

204204
Response code `201` indicates a successful request.
205205

206+
> [!IMPORTANT]
207+
> Remember to remove the key from your code when you're done, and never post it publicly. For production, use a secure way of storing and accessing your credentials like [Azure Key Vault](../../../key-vault/general/overview.md). See the Cognitive Services [security](../../cognitive-services-security.md) article for more information.
208+
206209
[!INCLUDE [mvad-input-params](../includes/mvad-input-params.md)]
207210

208211
## 4. Get model status

0 commit comments

Comments
 (0)