Skip to content

Commit e483353

Browse files
committed
Merge remote-tracking branch 'upstream/master' into api-learn-api-activity
2 parents 8b7b2d6 + acb51ab commit e483353

File tree

6,491 files changed

+1381567
-447156
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,491 files changed

+1381567
-447156
lines changed

.github/CODEOWNERS

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
/sdk/compute/ @bilaakpan-ms @sandido @dkulkarni-ms @haagha @madewithsmiles @MS-syh2qs @grizzlytheodore
2121

2222
# Service teams
23-
# PRLabel: %AzConfig
23+
# PRLabel: %App Configuration
2424
/sdk/appconfiguration/ @annelo-msft @AlexanderSher
2525

2626
# PRLabel: %Batch
@@ -31,13 +31,13 @@
3131
/sdk/cognitiveservices/vision.face/ @TFR258
3232

3333
# PRLabel: %DigitalTwins
34-
/sdk/digitaltwins/ @drwill-ms @timtay-microsoft @abhipsaMisra @vinagesh @azabbasi @prmathur-microsoft @bikamani @barustum
34+
/sdk/digitaltwins/ @drwill-ms @timtay-microsoft @abhipsaMisra @vinagesh @azabbasi @bikamani @barustum
3535

3636
# PRLabel: %Event Grid
3737
/sdk/eventgrid/ @Kishp01 @ahamad-MS
3838

3939
# PRLabel: %Event Hubs
40-
/sdk/eventhub/ @serkantkaraca @jsquire @kinelski
40+
/sdk/eventhub/ @serkantkaraca @jsquire
4141

4242
# PRLabel: %Azure.Identity
4343
/sdk/identity/ @schaabs @alexanderSher
@@ -57,25 +57,33 @@
5757
/sdk/servicebus/Microsoft.*/ @nemakam
5858

5959
# PRLabel: %Storage
60-
/sdk/storage/ @amishra-dev @seanmcc-msft @amnguye @kasobol-msft @tg-msft
60+
/sdk/storage/ @tg-msft
61+
/sdk/storage/Azure.Storage.*/ @amishra-dev @seanmcc-msft @amnguye @kasobol-msft @tg-msft
6162

6263
# PRLabel: %Tables
6364
/sdk/tables/ @christothes
6465

66+
# PRLabel: %EngSys
67+
/sdk/template/ @Azure/azure-sdk-eng
68+
6569
# PRLabel: %Cognitive - Text Analytics
6670
/sdk/textanalytics/ @annelo-msft @maririos
6771

6872
# PRLabel: %Cognitive - Form Recognizer
6973
/sdk/formrecognizer/ @annelo-msft @kinelski @maririos
7074

75+
# PRLabel: %Monitor - Exporter
76+
/sdk/monitor/OpenTelemetry.*/ @cijothomas @reyang @rajkumar-rangaraj @TimothyMothra
77+
7178
# Smoke tests
7279
/common/SmokeTests/ @AlexGhiondea @schaabs @heaths @tg-msft @jsquire
7380

7481
# Management Plane
75-
/**/*Management*/ @allenjzhang
82+
/**/*Management*/ @allenjzhang @m-nash @markcowl @YalinLi0312 @bquantump @nisha-bhatia
83+
/**/Azure.ResourceManager*/ @allenjzhang @m-nash @markcowl @YalinLi0312 @bquantump @nisha-bhatia
7684

7785
# Reviewers to double check any API changes
78-
/sdk/**/api/ @KrzysztofCwalina @pakrym @tg-msft
86+
/sdk/**/api/ @KrzysztofCwalina @tg-msft
7987

8088
# Update AutoRest C#
8189
/eng/CodeGeneration.targets @pakrym @ShivangiReja
@@ -84,6 +92,6 @@
8492
# Eng Sys
8593
###########
8694
/eng/ @weshaggard @chidozieononiwu @mitchdenny @danieljurek
87-
/eng/mgmt/ @allenjzhang
95+
/eng/mgmt/ @allenjzhang @m-nash @markcowl
8896
/**/tests.yml @danieljurek
8997
/**/ci.yml @mitchdenny
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
- rule:
3+
# management
4+
paths:
5+
- "sdk/**/Microsoft.Azure.Management*/**"
6+
- "sdk/**/Azure.ResourceManger*/**"
7+
reviewers:
8+
- allenjzhang
9+
- YalinLi0312
10+
- bquantump
11+
- m-nash
12+
- markcowl
13+
- nisha-bhatia

.github/sla.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
- scheduleTask:
2+
action: sendEmail
3+
scope: pull_request
4+
name: "send email given path change is in the CPlat SDK path"
5+
trigger:
6+
- path
7+
args:
8+
message: '<p>You have just completed the second step towards onboarding your API change to the Compute Management library.</p><p>You&#39;ve just opened a PR making changes in the Compute Management Library&#39;s path of the Azure .NET SDK repository.</p><p>What&#39;s next?</p><ol type="1"><li value="1">Your PR will be reviewed by a member of the OneSDK team and a member from our team</li><li>[If applicable] If you haven&#39;t already, you should get started on the design doc for your api&#39;s Azure PowerShell cmdlet.</li><ol type="a"><li value="1">All you need to do is send a design doc of any change/new Azure PowerShell cmdlet related to your api by creating an issue with your design <a href="https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues">here</a>.<br>Then, send an email to <a href="mailto:[email protected]">[email protected]</a> with the issue number and cc our dl (<a href="mailto:[email protected]">[email protected]</a>) on the email, so we can leave comments on your design doc as well.</li><li>Once your PowerShell cmdlet design has been approved, send an email to&nbsp;<a href="mailto:[email protected]?subject=PowerShell%20Design%20Review%20Approved">our team</a><br /> We will implement and test the PowerShell cmdlet following the approved design. We will then make a pull request to the appropriate repository</li></ol><li>[If applicable] You can also get started on any Azure CLI module or extension for your API change. Find more information about next steps on that process <a href="https://github.com/Azure/azure-cli/blob/dev/doc/onboarding_guide.md">here</a>.</li></ol><hr><ul type="disc"><li>To view the full CPlat SDK PowerShell API onboarding wiki, please visit <a href="https://aka.ms/cplatsdk">aka.ms/cplatsdk</a></li></ul><p>This email was automatically sent. Please send an email to&nbsp;<a href="mailto:[email protected]">[email protected]</a>&nbsp;if you have any questions.</p>'
9+
targetPaths:
10+
- "sdk/compute/**"
11+
subject: "[Action Required] CPlat .NET SDK Pull Request opened: Next steps"
12+
to: ${AUTHOR}
13+
cc:
14+

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,4 +164,6 @@ node_modules/
164164
msbuild.binlog
165165

166166
# BenchmarkDotNet
167-
BenchmarkDotNet.Artifacts
167+
BenchmarkDotNet.Artifacts
168+
169+
artifacts

CONTRIBUTING.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
- Install VS 2019 (Community or higher) and make sure you have the latest updates (https://www.visualstudio.com/).
1010
- Need at least .NET Framework 4.6.1 and 4.7 development tools
1111
- Install the **.NET Core cross-platform development** workloads in VisualStudio
12-
- Install **.NET Core 3.1.101 SDK** or higher for your specific platform. (https://dotnet.microsoft.com/download/dotnet-core/3.1)
12+
- Install **.NET Core 3.1.301 SDK** for your specific platform. (or a higher version within the 3.1.*** band) (https://dotnet.microsoft.com/download/dotnet-core/3.1)
1313
- Install the latest version of git (https://git-scm.com/downloads)
1414
- Install [NodeJS](https://nodejs.org/en/) (13.x.x) if you plan to use [C# code generation](https://github.com/Azure/autorest.csharp).
1515

@@ -195,7 +195,7 @@ string snippet = "some snippet code";
195195

196196
**\`\`\`**
197197

198-
See the following example of a [snippet C# file](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/search/Azure.Search.Documents/tests/Samples/HelloWorld.cs) and a [snippet markdown file](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/search/Azure.Search.Documents/samples/Sample01a_HelloWorld.md).
198+
See the following example of a [snippet C# file](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/search/Azure.Search.Documents/tests/Samples/Sample01_HelloWorld.cs) and a [snippet markdown file](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/search/Azure.Search.Documents/samples/Sample01a_HelloWorld.md).
199199
Note that snippet names need to be globally unique under a given service directory.
200200

201201
Snippets also can be integrated into XML doc comments. For example:
@@ -229,18 +229,15 @@ dotnet build eng\service.proj /p:ServiceDirectory=eventhub /p:UpdateSourceOnBuil
229229
.NET is using the [ApiCompat tool](https://github.com/dotnet/arcade/tree/master/src/Microsoft.DotNet.ApiCompat) to enforce API compatibility between versions. Builds of GA'ed libraries will fail locally and in CI if there are breaking changes.
230230

231231
### How it works
232-
We use a dummy project called [ApiCompat](https://github.com/Azure/azure-sdk-for-net/tree/master/eng/ApiCompat/ApiCompat.csproj) to enforce API compatibility between the GA'ed libraries and the most recent version available on Nuget. This project includes package references to the GA'ed library and to Microsoft.DotNet.ApiCompat.
233-
Each library needs to provide a `ApiCompatVersion` property which is set to the last GA'ed version of the library which is used to compare APIs with the current to ensure no breaks
234-
have been introduced.
235-
The `ApiCompatVerification` target defined in `ApiCompat.csproj` is referenced in the [eng/Directory.Build.Data.targets](https://github.com/Azure/azure-sdk-for-net/blob/master/eng/Directory.Build.Data.targets) which causes this target to be executed for each csproj that has the `ApiCompatVersion` property set. For libraries that wish to disable the APICompat check they can remove the `ApiCompatVersion` property from their project. Our version bump automation will automatically add or increment the `ApiCompatVersion` property to the project when it detects that the version it is changing was a GA version which usually indicates that we just shipped that GA version and so it should be the new baseline for api checks.
232+
Each library needs to provide a `ApiCompatVersion` property which is set to the last GA'ed version of the library that will be used to compare APIs with the current to ensure no breaks have been introduced. Projects with this property set will download the specified package and the ApiCompat (Microsoft.DotNet.ApiCompat) tools package as part of the restore step of the project. Then as a post build step of the project it will run ApiCompat to verify the current APIs are compatible with the last GA'ed version of the APIs. For libraries that wish to disable the APICompat check they can remove the `ApiCompatVersion` property from their project. Our version bump automation will automatically add or increment the `ApiCompatVersion` property to the project when it detects that the version it is changing was a GA version which usually indicates that we just shipped that GA version and so it should be the new baseline for API checks.
236233

237234
### Releasing a new version of a GA'ed libary
238235
Since the [eng/Packages.Data.props](https://github.com/Azure/azure-sdk-for-net/blob/master/eng/Packages.Data.props) is currently maintained manually, you will need to update the version number for your library in this file when releasing a new version.
239236

240237
## Dev Feed
241238
We publish daily built packages to a [dev feed](https://dev.azure.com/azure-sdk/public/_packaging?_a=feed&feed=azure-sdk-for-net) which can be consumed by adding the dev feed as a package source in Visual Studio.
242239

243-
Follow instructions provided [here](https://docs.microsoft.com/en-us/nuget/consume-packages/install-use-packages-visual-studio#package-sources) and use `https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json` as the source.
240+
Follow instructions provided [here](https://docs.microsoft.com/nuget/consume-packages/install-use-packages-visual-studio#package-sources) and use `https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json` as the source.
244241

245242
You can also achieve this from the command line.
246243

@@ -258,7 +255,7 @@ Open your NuGet.config file to ensure that the dev feed source comes before the
258255
</configuration>
259256
```
260257

261-
You can then consume packages from this package source, remember to check the [Include prerelease](https://docs.microsoft.com/en-us/nuget/create-packages/prerelease-packages#installing-and-updating-pre-release-packages) box in Visual Studio when searching for the packages.
258+
You can then consume packages from this package source, remember to check the [Include prerelease](https://docs.microsoft.com/nuget/create-packages/prerelease-packages#installing-and-updating-pre-release-packages) box in Visual Studio when searching for the packages.
262259

263260
To see the list of packages you can browse the [dev feed](https://dev.azure.com/azure-sdk/public/_packaging?_a=feed&feed=azure-sdk-for-net) and search for the package you are interested in. Or you can do it from the command line via `nuget.exe list -Prelease -Source "https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json"`
264261

@@ -461,7 +458,7 @@ Much of the management plane SDK code is generated from metadata specs about the
461458

462459
## Versioning
463460

464-
For more information on how we version see [Versioning](doc/dev/Versioning.md)
461+
For more information on how we version see [Versioning](https://github.com/Azure/azure-sdk-for-net/blob/master/doc/dev/Versioning.md)
465462

466463
## Breaking Changes
467464

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<IntermediateOutputPath Condition="'$(PlatformName)' == 'AnyCPU'">$(BaseIntermediateOutputPath)$(Configuration)\</IntermediateOutputPath>
3333
<IntermediateOutputPath Condition="'$(PlatformName)' != 'AnyCPU'">$(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\</IntermediateOutputPath>
3434

35-
<PackageOutputPath>$(ArtifactsPackagesDir)</PackageOutputPath>
35+
<PackageOutputPath>$(ArtifactsPackagesDir)/$(MSBuildProjectName)</PackageOutputPath>
3636
</PropertyGroup>
3737

3838
<Import Project="$(RepoEngPath)\mgmt\Directory.Build.Mgmt.props" Condition="'$(IsDataPlaneProject)' != 'true'" />

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
[![Packages](https://img.shields.io/badge/packages-latest-blue.svg)](https://azure.github.io/azure-sdk/releases/latest/dotnet.html) [![Dependencies](https://img.shields.io/badge/dependency-report-blue.svg)](https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-net/dependencies/dependencies.html) [![Dependencies Graph](https://img.shields.io/badge/dependency-graph-blue.svg)](https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-net/dependencies/InterdependencyGraph.html)
44

5-
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our [public developer docs](https://docs.microsoft.com/en-us/dotnet/azure/) or our versioned [developer docs](https://azure.github.io/azure-sdk-for-net).
5+
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our [public developer docs](https://docs.microsoft.com/dotnet/azure/) or our versioned [developer docs](https://azure.github.io/azure-sdk-for-net).
66

77
## Getting started
88

99
To get started with a library, see the README.md file located in the library's project folder. You can find these library folders grouped by service in the /sdk directory.
1010

11-
For tutorials, samples, quick starts, and other documentation, go to [Azure for .NET Developers](https://docs.microsoft.com/en-us/dotnet/azure/).
11+
For tutorials, samples, quick starts, and other documentation, go to [Azure for .NET Developers](https://docs.microsoft.com/dotnet/azure/).
1212

1313
## Packages available
1414
Each service might have a number of libraries available from each of the following categories:
@@ -19,7 +19,7 @@ Each service might have a number of libraries available from each of the followi
1919

2020
### Client: New Releases
2121

22-
New wave of packages that we are announcing as **GA** and several that are currently releasing in **preview**. These libraries follow the [Azure SDK Design Guidelines for .NET](https://azure.github.io/azure-sdk/dotnet/guidelines/) and share a number of core features such as HTTP retries, logging, transport protocols, authentication protocols, etc., so that once you learn how to use these features in one client library, you will know how to use them in other client libraries. You can learn about these shared features at [Azure.Core](sdk/core/Azure.Core/README.md).
22+
New wave of packages that we are announcing as **GA** and several that are currently releasing in **preview**. These libraries follow the [Azure SDK Design Guidelines for .NET](https://azure.github.io/azure-sdk/dotnet/guidelines/) and share a number of core features such as HTTP retries, logging, transport protocols, authentication protocols, etc., so that once you learn how to use these features in one client library, you will know how to use them in other client libraries. You can learn about these shared features at [Azure.Core](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/core/Azure.Core/README.md).
2323

2424
These new client libraries can be identified by the naming used for their folder, package, and namespace. Each will start with `Azure`, followed by the service category, and then the name of the service. For example `Azure.Storage.Blobs`.
2525

@@ -29,7 +29,7 @@ For a complete list of available packages, please see the [latest available pack
2929
3030
### Client: Previous Versions
3131

32-
Last stable versions of packages that are production-ready. These libraries provide similar functionalities to the preview packages, as they allow you to use and consume existing resources and interact with them, for example: upload a storage blob. Stable library directories typically contain 'Microsoft.Azure' in their names, e.g. 'Microsoft.Azure.KeyVault'. They might not implement the [guidelines](https://azure.github.io/azure-sdk/dotnet_introduction.html) or have the same feature set as the Novemeber releases. They do however offer wider coverage of services.
32+
Last stable versions of packages that are production-ready. These libraries provide similar functionalities to the preview packages, as they allow you to use and consume existing resources and interact with them, for example: upload a storage blob. Stable library directories typically contain 'Microsoft.Azure' in their names, e.g. 'Microsoft.Azure.KeyVault'. They might not implement the [guidelines](https://azure.github.io/azure-sdk/dotnet_introduction.html) or have the same feature set as the November releases. They do however offer wider coverage of services.
3333

3434
### Management: New Releases
3535

@@ -48,7 +48,7 @@ Documentation and code samples for these libraries can be found [here](https://a
4848
## Need help?
4949

5050
* For reference documentation visit the [Azure SDK for .NET API Reference](http://aka.ms/net-docs).
51-
* For tutorials, samples, quick starts, and other documentation, go to [Azure for .NET Developers](https://docs.microsoft.com/en-us/dotnet/azure/).
51+
* For tutorials, samples, quick starts, and other documentation, go to [Azure for .NET Developers](https://docs.microsoft.com/dotnet/azure/).
5252
* File an issue via [Github Issues](https://github.com/Azure/azure-sdk-for-net/issues/new/choose).
5353
* Check [previous questions](https://stackoverflow.com/questions/tagged/azure+.net) or ask new ones on StackOverflow using `azure` and `.net` tags.
5454

@@ -61,7 +61,7 @@ Documentation and code samples for these libraries can be found [here](https://a
6161
Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) <[email protected]>. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the [Security TechCenter](https://www.microsoft.com/msrc/faqs-report-an-issue).
6262

6363
## Contributing
64-
For details on contributing to this repository, see the [contributing guide](CONTRIBUTING.md).
64+
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-net/blob/master/CONTRIBUTING.md).
6565

6666
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit
6767
https://cla.microsoft.com.

common/SmokeTests/smoke-tests.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,6 @@ jobs:
5858
steps:
5959
- template: /eng/common/pipelines/templates/steps/verify-agent-os.yml
6060

61-
- task: UseDotNet@2
62-
displayName: "Use .NET Core runtime $(DotNetCoreRuntimeVersion)"
63-
inputs:
64-
packageType: runtime
65-
version: "$(DotNetCoreRuntimeVersion)"
66-
67-
- task: UseDotNet@2
68-
displayName: "Use .NET Core sdk $(DotNetCoreSDKVersion)"
69-
inputs:
70-
packageType: sdk
71-
version: "$(DotNetCoreSDKVersion)"
72-
7361
- task: PowerShell@2
7462
inputs:
7563
targetType: filePath

0 commit comments

Comments
 (0)