Skip to content

Commit 74aea93

Browse files
authored
Update AutoRest C# version (Azure#21232)
* Update AutoRest C# version to 3.0.0-beta.20210520.3 * Move to new autorest auth option names
1 parent 14f5981 commit 74aea93

File tree

11 files changed

+27
-25
lines changed

11 files changed

+27
-25
lines changed

eng/Packages.Data.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
All should have PrivateAssets="All" set so they don't become pacakge dependencies
130130
-->
131131
<ItemGroup>
132-
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20210519.2" PrivateAssets="All" />
132+
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20210520.3" PrivateAssets="All" />
133133
<PackageReference Update="Azure.ClientSdk.Analyzers" Version="0.1.1-dev.20210322.2" PrivateAssets="All" />
134134
<PackageReference Update="coverlet.collector" Version="1.3.0" PrivateAssets="All" />
135135
<PackageReference Update="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.1" PrivateAssets="All" />

sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/AnomalyDetectorClient.cs

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/anomalydetector/Azure.AI.AnomalyDetector/src/autorest.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ require:
88
- https://github.com/Azure/azure-rest-api-specs/blob/d5a7f1fbca0fd9b16cc1e1a9016d4a0ea31a5d53/specification/cognitiveservices/data-plane/AnomalyDetector/readme.md
99
namespace: Azure.AI.AnomalyDetector
1010
public-clients: true
11-
credential-types: TokenCredential;AzureKeyCredential
12-
credential-header-name: Ocp-Apim-Subscription-Key
13-
credential-scopes: https://cognitiveservices.azure.com/.default
11+
security:
12+
- AADToken
13+
- AzureKey
14+
security-header-name: Ocp-Apim-Subscription-Key
15+
security-scopes: https://cognitiveservices.azure.com/.default
1416
```
1517
1618
### Make Endpoint type as Uri

sdk/confidentialledger/Azure.Storage.ConfidentialLedger/src/autorest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Run `dotnet build /t:GenerateCode` to generate code.
55
``` yaml
66
title: ConfidentialLedger
77
namespace: Azure.Storage.ConfidentialLedger
8-
credential-types: TokenCredential
9-
credential-scopes: "https://confidential-ledger.azure.com/.default"
8+
security: AADToken
9+
security-scopes: "https://confidential-ledger.azure.com/.default"
1010
low-level-client: true
1111
input-file:
1212
- https://github.com/Azure/azure-rest-api-specs/blob/e34c5f11d61ca17fdc9fd0f70446dd54b94d67f1/specification/confidentialledger/data-plane/Microsoft.ConfidentialLedger/preview/0.1-preview/common.json

sdk/purview/Azure.Analytics.Purview.Catalog/src/autorest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ title: PurviewCatalog
77
input-file: https://github.com/Azure/azure-rest-api-specs/blob/0bfd6032ae89b4d8d7c55ac23309cb6e30b6c1e0/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/purviewcatalog.json
88
namespace: Azure.Analytics.Purview.Catalog
99
low-level-client: true
10-
credential-types: TokenCredential
11-
credential-scopes: https://purview.azure.net/.default
10+
security: AADToken
11+
security-scopes: https://purview.azure.net/.default
1212
```
1313
1414
# Model endpoint parameter as a url, not a string.

sdk/purview/Azure.Analytics.Purview.Scanning/src/autorest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ title: PurviewScanningService
77
input-file: https://github.com/Azure/azure-rest-api-specs/blob/8478d2280c54d0065ac6271e39321849c090c659/specification/purview/data-plane/Azure.Data.Purview.Scanning/preview/2018-12-01-preview/scanningService.json
88
namespace: Azure.Analytics.Purview.Scanning
99
low-level-client: true
10-
credential-types: TokenCredential
11-
credential-scopes: https://purview.azure.net/.default
10+
security: AADToken
11+
security-scopes: https://purview.azure.net/.default
1212
modelerfour:
1313
lenient-model-deduplication: true
1414
```

sdk/synapse/Azure.Analytics.Synapse.AccessControl/src/autorest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ require:
1111
- https://github.com/Azure/azure-rest-api-specs/blob/fc5e2fbcfc3f585d38bdb1c513ce1ad2c570cf3d/specification/synapse/data-plane/readme.md
1212
namespace: Azure.Analytics.Synapse.AccessControl
1313
public-clients: true
14-
credential-types: TokenCredential
15-
credential-scopes: https://dev.azuresynapse.net/.default
14+
security: AADToken
15+
security-scopes: https://dev.azuresynapse.net/.default
1616
```
1717
1818
### Make Endpoint type as Uri

sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/autorest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ require:
1111
- https://github.com/Azure/azure-rest-api-specs/blob/fc5e2fbcfc3f585d38bdb1c513ce1ad2c570cf3d/specification/synapse/data-plane/readme.md
1212
namespace: Azure.Analytics.Synapse.Artifacts
1313
public-clients: true
14-
credential-types: TokenCredential
15-
credential-scopes: https://dev.azuresynapse.net/.default
14+
security: AADToken
15+
security-scopes: https://dev.azuresynapse.net/.default
1616
modelerfour:
1717
lenient-model-deduplication: true
1818
```

sdk/synapse/Azure.Analytics.Synapse.ManagedPrivateEndpoints/src/autorest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ require:
1111
- https://github.com/Azure/azure-rest-api-specs/blob/fc5e2fbcfc3f585d38bdb1c513ce1ad2c570cf3d/specification/synapse/data-plane/readme.md
1212
namespace: Azure.Analytics.Synapse.ManagedPrivateEndpoints
1313
public-clients: true
14-
credential-types: TokenCredential
15-
credential-scopes: https://dev.azuresynapse.net/.default
14+
security: AADToken
15+
security-scopes: https://dev.azuresynapse.net/.default
1616
```
1717
1818
### Make Endpoint type as Uri

sdk/synapse/Azure.Analytics.Synapse.Monitoring/src/autorest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ require:
1111
- https://github.com/Azure/azure-rest-api-specs/blob/fc5e2fbcfc3f585d38bdb1c513ce1ad2c570cf3d/specification/synapse/data-plane/readme.md
1212
namespace: Azure.Analytics.Synapse.Monitoring
1313
public-clients: true
14-
credential-types: TokenCredential
15-
credential-scopes: https://dev.azuresynapse.net/.default
14+
security: AADToken
15+
security-scopes: https://dev.azuresynapse.net/.default
1616
```
1717
1818
### Make Endpoint type as Uri

0 commit comments

Comments
 (0)