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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
36 changes: 24 additions & 12 deletions samples/AnomalyDetector/src/Generated/AnomalyDetectorClient.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
series = new object[]
{
Expand All @@ -114,7 +114,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
series = new object[]
{
Expand Down Expand Up @@ -153,7 +153,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
series = new object[]
{
Expand All @@ -180,7 +180,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
series = new object[]
{
Expand Down Expand Up @@ -297,7 +297,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
series = new object[]
{
Expand Down Expand Up @@ -325,7 +325,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
series = new object[]
{
Expand Down Expand Up @@ -365,7 +365,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
series = new object[]
{
Expand Down Expand Up @@ -393,7 +393,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
series = new object[]
{
Expand Down Expand Up @@ -505,7 +505,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
series = new object[]
{
Expand All @@ -527,7 +527,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
series = new object[]
{
Expand Down Expand Up @@ -559,7 +559,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
series = new object[]
{
Expand All @@ -581,7 +581,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
series = new object[]
{
Expand Down Expand Up @@ -857,7 +857,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
dataSource = "<dataSource>",
startTime = "2022-05-10T14:57:31.2311892-04:00",
Expand All @@ -876,7 +876,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
dataSource = "<dataSource>",
dataSchema = "OneTable",
Expand Down Expand Up @@ -962,7 +962,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
dataSource = "<dataSource>",
startTime = "2022-05-10T14:57:31.2311892-04:00",
Expand All @@ -981,7 +981,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
dataSource = "<dataSource>",
dataSchema = "OneTable",
Expand Down Expand Up @@ -1293,7 +1293,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
dataSource = "http://localhost:3000",
topContributorCount = 1234,
Expand All @@ -1317,7 +1317,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
dataSource = "http://localhost:3000",
topContributorCount = 1234,
Expand Down Expand Up @@ -1359,7 +1359,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
dataSource = "http://localhost:3000",
topContributorCount = 1234,
Expand All @@ -1383,7 +1383,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
dataSource = "http://localhost:3000",
topContributorCount = 1234,
Expand Down Expand Up @@ -1479,7 +1479,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
variables = new object[]
{
Expand Down Expand Up @@ -1509,7 +1509,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
variables = new object[]
{
Expand Down Expand Up @@ -1555,7 +1555,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
variables = new object[]
{
Expand Down Expand Up @@ -1585,7 +1585,7 @@ Uri endpoint = new Uri("<https://my-service.azure.com>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential);

RequestContent content = RequestContent.Create(new
using RequestContent content = RequestContent.Create(new
{
variables = new object[]
{
Expand Down
Loading