Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update AutoRest C# version #21232

Merged
merged 4 commits into from
May 20, 2021
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eng/Packages.Data.props
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
All should have PrivateAssets="All" set so they don't become pacakge dependencies
-->
<ItemGroup>
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20210519.2" PrivateAssets="All" />
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20210520.3" PrivateAssets="All" />
<PackageReference Update="Azure.ClientSdk.Analyzers" Version="0.1.1-dev.20210322.2" PrivateAssets="All" />
<PackageReference Update="coverlet.collector" Version="1.3.0" PrivateAssets="All" />
<PackageReference Update="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.1" PrivateAssets="All" />
Expand Down

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

8 changes: 5 additions & 3 deletions sdk/anomalydetector/Azure.AI.AnomalyDetector/src/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ require:
- https://github.com/Azure/azure-rest-api-specs/blob/d5a7f1fbca0fd9b16cc1e1a9016d4a0ea31a5d53/specification/cognitiveservices/data-plane/AnomalyDetector/readme.md
namespace: Azure.AI.AnomalyDetector
public-clients: true
credential-types: TokenCredential;AzureKeyCredential
credential-header-name: Ocp-Apim-Subscription-Key
credential-scopes: https://cognitiveservices.azure.com/.default
security:
- AADToken
- AzureKey
security-header-name: Ocp-Apim-Subscription-Key
security-scopes: https://cognitiveservices.azure.com/.default
```

### Make Endpoint type as Uri
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Run `dotnet build /t:GenerateCode` to generate code.
``` yaml
title: ConfidentialLedger
namespace: Azure.Storage.ConfidentialLedger
credential-types: TokenCredential
credential-scopes: "https://confidential-ledger.azure.com/.default"
security: AADToken
security-scopes: "https://confidential-ledger.azure.com/.default"
low-level-client: true
input-file:
- https://github.com/Azure/azure-rest-api-specs/blob/e34c5f11d61ca17fdc9fd0f70446dd54b94d67f1/specification/confidentialledger/data-plane/Microsoft.ConfidentialLedger/preview/0.1-preview/common.json
Expand Down
4 changes: 2 additions & 2 deletions sdk/purview/Azure.Analytics.Purview.Catalog/src/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ title: PurviewCatalog
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
namespace: Azure.Analytics.Purview.Catalog
low-level-client: true
credential-types: TokenCredential
credential-scopes: https://purview.azure.net/.default
security: AADToken
security-scopes: https://purview.azure.net/.default
```

# Model endpoint parameter as a url, not a string.
Expand Down
4 changes: 2 additions & 2 deletions sdk/purview/Azure.Analytics.Purview.Scanning/src/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ title: PurviewScanningService
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
namespace: Azure.Analytics.Purview.Scanning
low-level-client: true
credential-types: TokenCredential
credential-scopes: https://purview.azure.net/.default
security: AADToken
security-scopes: https://purview.azure.net/.default
modelerfour:
lenient-model-deduplication: true
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ require:
- https://github.com/Azure/azure-rest-api-specs/blob/fc5e2fbcfc3f585d38bdb1c513ce1ad2c570cf3d/specification/synapse/data-plane/readme.md
namespace: Azure.Analytics.Synapse.AccessControl
public-clients: true
credential-types: TokenCredential
credential-scopes: https://dev.azuresynapse.net/.default
security: AADToken
security-scopes: https://dev.azuresynapse.net/.default
```

### Make Endpoint type as Uri
Expand Down
4 changes: 2 additions & 2 deletions sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ require:
- https://github.com/Azure/azure-rest-api-specs/blob/fc5e2fbcfc3f585d38bdb1c513ce1ad2c570cf3d/specification/synapse/data-plane/readme.md
namespace: Azure.Analytics.Synapse.Artifacts
public-clients: true
credential-types: TokenCredential
credential-scopes: https://dev.azuresynapse.net/.default
security: AADToken
security-scopes: https://dev.azuresynapse.net/.default
modelerfour:
lenient-model-deduplication: true
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ require:
- https://github.com/Azure/azure-rest-api-specs/blob/fc5e2fbcfc3f585d38bdb1c513ce1ad2c570cf3d/specification/synapse/data-plane/readme.md
namespace: Azure.Analytics.Synapse.ManagedPrivateEndpoints
public-clients: true
credential-types: TokenCredential
credential-scopes: https://dev.azuresynapse.net/.default
security: AADToken
security-scopes: https://dev.azuresynapse.net/.default
```

### Make Endpoint type as Uri
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ require:
- https://github.com/Azure/azure-rest-api-specs/blob/fc5e2fbcfc3f585d38bdb1c513ce1ad2c570cf3d/specification/synapse/data-plane/readme.md
namespace: Azure.Analytics.Synapse.Monitoring
public-clients: true
credential-types: TokenCredential
credential-scopes: https://dev.azuresynapse.net/.default
security: AADToken
security-scopes: https://dev.azuresynapse.net/.default
```

### Make Endpoint type as Uri
Expand Down
4 changes: 2 additions & 2 deletions sdk/synapse/Azure.Analytics.Synapse.Spark/src/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ require:
- https://github.com/Azure/azure-rest-api-specs/blob/fc5e2fbcfc3f585d38bdb1c513ce1ad2c570cf3d/specification/synapse/data-plane/readme.md
namespace: Azure.Analytics.Synapse.Spark
public-clients: true
credential-types: TokenCredential
credential-scopes: https://dev.azuresynapse.net/.default
security: AADToken
security-scopes: https://dev.azuresynapse.net/.default
```

### Make Endpoint type as Uri
Expand Down