From 08d8d4f7fa51258325580b8e3faadc0efcad6ea3 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 24 May 2022 05:11:18 +0000 Subject: [PATCH] CodeGen from PR 19000 in Azure/azure-rest-api-specs Merge 0294bb677d49e1ca7e4d6d62b0e810eb2e53cb0c into 836a8c61a94ca504155b39377864454c5c58ce5e --- .../src/Generated/DigitalTwinModelsRestClient.cs | 2 +- .../src/Generated/DigitalTwinsRestClient.cs | 2 +- .../src/Generated/EventRoutesRestClient.cs | 2 +- .../Azure.DigitalTwins.Core/src/Generated/QueryRestClient.cs | 2 +- sdk/digitaltwins/Azure.DigitalTwins.Core/src/autorest.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/src/Generated/DigitalTwinModelsRestClient.cs b/sdk/digitaltwins/Azure.DigitalTwins.Core/src/Generated/DigitalTwinModelsRestClient.cs index 09545eb40422a..a31c9a54b793e 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/src/Generated/DigitalTwinModelsRestClient.cs +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/src/Generated/DigitalTwinModelsRestClient.cs @@ -35,7 +35,7 @@ public DigitalTwinModelsRestClient(ClientDiagnostics clientDiagnostics, HttpPipe { ClientDiagnostics = clientDiagnostics ?? throw new ArgumentNullException(nameof(clientDiagnostics)); _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); - _endpoint = endpoint ?? new Uri("https://digitaltwins-name.digitaltwins.azure.net"); + _endpoint = endpoint ?? new Uri("https://digitaltwins-hostname"); _apiVersion = apiVersion ?? throw new ArgumentNullException(nameof(apiVersion)); } diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/src/Generated/DigitalTwinsRestClient.cs b/sdk/digitaltwins/Azure.DigitalTwins.Core/src/Generated/DigitalTwinsRestClient.cs index 36cfbe3fcdaa5..2919dcbc70d18 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/src/Generated/DigitalTwinsRestClient.cs +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/src/Generated/DigitalTwinsRestClient.cs @@ -36,7 +36,7 @@ public DigitalTwinsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline { ClientDiagnostics = clientDiagnostics ?? throw new ArgumentNullException(nameof(clientDiagnostics)); _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); - _endpoint = endpoint ?? new Uri("https://digitaltwins-name.digitaltwins.azure.net"); + _endpoint = endpoint ?? new Uri("https://digitaltwins-hostname"); _apiVersion = apiVersion ?? throw new ArgumentNullException(nameof(apiVersion)); } diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/src/Generated/EventRoutesRestClient.cs b/sdk/digitaltwins/Azure.DigitalTwins.Core/src/Generated/EventRoutesRestClient.cs index 910430e432426..17fd335f1bfdc 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/src/Generated/EventRoutesRestClient.cs +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/src/Generated/EventRoutesRestClient.cs @@ -34,7 +34,7 @@ public EventRoutesRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline p { ClientDiagnostics = clientDiagnostics ?? throw new ArgumentNullException(nameof(clientDiagnostics)); _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); - _endpoint = endpoint ?? new Uri("https://digitaltwins-name.digitaltwins.azure.net"); + _endpoint = endpoint ?? new Uri("https://digitaltwins-hostname"); _apiVersion = apiVersion ?? throw new ArgumentNullException(nameof(apiVersion)); } diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/src/Generated/QueryRestClient.cs b/sdk/digitaltwins/Azure.DigitalTwins.Core/src/Generated/QueryRestClient.cs index 3a74bda72eeaf..63faa93b5bb39 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/src/Generated/QueryRestClient.cs +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/src/Generated/QueryRestClient.cs @@ -33,7 +33,7 @@ public QueryRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipelin { ClientDiagnostics = clientDiagnostics ?? throw new ArgumentNullException(nameof(clientDiagnostics)); _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); - _endpoint = endpoint ?? new Uri("https://digitaltwins-name.digitaltwins.azure.net"); + _endpoint = endpoint ?? new Uri("https://digitaltwins-hostname"); _apiVersion = apiVersion ?? throw new ArgumentNullException(nameof(apiVersion)); } diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/src/autorest.md b/sdk/digitaltwins/Azure.DigitalTwins.Core/src/autorest.md index c5bb8736a55c1..e05996b22b776 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/src/autorest.md +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/src/autorest.md @@ -9,7 +9,7 @@ Run `generate.ps1` in this directory or run `dotnet build /t:GenerateCode` to ge ``` yaml tag: package-2020-10-31 require: - - https://raw.githubusercontent.com/Azure/azure-rest-api-specs/14fb40342c19f8b483e132038f8424ee62b745d9/specification/digitaltwins/data-plane/readme.md + - https://github.com/Azure/azure-rest-api-specs/blob/49cb11e3e39a7320749028d89d1aba15d607b6a1/specification/digitaltwins/data-plane/readme.md generation1-convenience-client: true ```