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..5117bd59e2050 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/988d42ee7d8ca3243df17bfbc134e0c1f21b481e/specification/digitaltwins/data-plane/readme.md generation1-convenience-client: true ```