-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Monitor] Release Track2 MGMT SDK (#27175)
* first generation * WIP * update api * update to official swaggers * update code * dup fix-1 * fix-2 * before non-nullable * add tests * add * mocktest * change autoscaleSettings * Regen and add tests * new generated * location change * some change * fixed * Update tests * Update Record * Update Record * change diagnostic settings * Update for diag * re-gen * re-gen * finish some samples * fixed * add Github Links * fixed problems * changed changelog.md * first re-gen * remove mock * regen * fix pipeline Co-authored-by: ArcturusZhang <dapzhang@microsoft.com> Co-authored-by: mcgallan <1186003288@qq.com> Co-authored-by: Chengming Ruan (WICRESOFT NORTH AMERICA LTD) <v-cruan@microsoft.com>
- Loading branch information
1 parent
ada3d34
commit 9621ebe
Showing
548 changed files
with
65,940 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79 changes: 79 additions & 0 deletions
79
sdk/monitor/Azure.ResourceManager.Monitor/Azure.ResourceManager.Monitor.sln
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.0.32014.148 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.ResourceManager.Monitor", "src\Azure.ResourceManager.Monitor.csproj", "{9CB9AA9D-15B5-4179-A46A-FE96313F5950}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.ResourceManager.Monitor.Tests", "tests\Azure.ResourceManager.Monitor.Tests.csproj", "{C87F6545-4B70-41D7-BE8E-FE3BB9A46DEB}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core", "..\..\core\Azure.Core\src\Azure.Core.csproj", "{646CE238-5642-45D3-BBAA-CFCAC4A34E08}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core.TestFramework", "..\..\core\Azure.Core.TestFramework\src\Azure.Core.TestFramework.csproj", "{389FF301-8112-4E6A-B40C-94E669470B93}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Debug|x64 = Debug|x64 | ||
Debug|x86 = Debug|x86 | ||
Release|Any CPU = Release|Any CPU | ||
Release|x64 = Release|x64 | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{9CB9AA9D-15B5-4179-A46A-FE96313F5950}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{9CB9AA9D-15B5-4179-A46A-FE96313F5950}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{9CB9AA9D-15B5-4179-A46A-FE96313F5950}.Debug|x64.ActiveCfg = Debug|Any CPU | ||
{9CB9AA9D-15B5-4179-A46A-FE96313F5950}.Debug|x64.Build.0 = Debug|Any CPU | ||
{9CB9AA9D-15B5-4179-A46A-FE96313F5950}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{9CB9AA9D-15B5-4179-A46A-FE96313F5950}.Debug|x86.Build.0 = Debug|Any CPU | ||
{9CB9AA9D-15B5-4179-A46A-FE96313F5950}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{9CB9AA9D-15B5-4179-A46A-FE96313F5950}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{9CB9AA9D-15B5-4179-A46A-FE96313F5950}.Release|x64.ActiveCfg = Release|Any CPU | ||
{9CB9AA9D-15B5-4179-A46A-FE96313F5950}.Release|x64.Build.0 = Release|Any CPU | ||
{9CB9AA9D-15B5-4179-A46A-FE96313F5950}.Release|x86.ActiveCfg = Release|Any CPU | ||
{9CB9AA9D-15B5-4179-A46A-FE96313F5950}.Release|x86.Build.0 = Release|Any CPU | ||
{C87F6545-4B70-41D7-BE8E-FE3BB9A46DEB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{C87F6545-4B70-41D7-BE8E-FE3BB9A46DEB}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{C87F6545-4B70-41D7-BE8E-FE3BB9A46DEB}.Debug|x64.ActiveCfg = Debug|Any CPU | ||
{C87F6545-4B70-41D7-BE8E-FE3BB9A46DEB}.Debug|x64.Build.0 = Debug|Any CPU | ||
{C87F6545-4B70-41D7-BE8E-FE3BB9A46DEB}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{C87F6545-4B70-41D7-BE8E-FE3BB9A46DEB}.Debug|x86.Build.0 = Debug|Any CPU | ||
{C87F6545-4B70-41D7-BE8E-FE3BB9A46DEB}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{C87F6545-4B70-41D7-BE8E-FE3BB9A46DEB}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{C87F6545-4B70-41D7-BE8E-FE3BB9A46DEB}.Release|x64.ActiveCfg = Release|Any CPU | ||
{C87F6545-4B70-41D7-BE8E-FE3BB9A46DEB}.Release|x64.Build.0 = Release|Any CPU | ||
{C87F6545-4B70-41D7-BE8E-FE3BB9A46DEB}.Release|x86.ActiveCfg = Release|Any CPU | ||
{C87F6545-4B70-41D7-BE8E-FE3BB9A46DEB}.Release|x86.Build.0 = Release|Any CPU | ||
{646CE238-5642-45D3-BBAA-CFCAC4A34E08}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{646CE238-5642-45D3-BBAA-CFCAC4A34E08}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{646CE238-5642-45D3-BBAA-CFCAC4A34E08}.Debug|x64.ActiveCfg = Debug|Any CPU | ||
{646CE238-5642-45D3-BBAA-CFCAC4A34E08}.Debug|x64.Build.0 = Debug|Any CPU | ||
{646CE238-5642-45D3-BBAA-CFCAC4A34E08}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{646CE238-5642-45D3-BBAA-CFCAC4A34E08}.Debug|x86.Build.0 = Debug|Any CPU | ||
{646CE238-5642-45D3-BBAA-CFCAC4A34E08}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{646CE238-5642-45D3-BBAA-CFCAC4A34E08}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{646CE238-5642-45D3-BBAA-CFCAC4A34E08}.Release|x64.ActiveCfg = Release|Any CPU | ||
{646CE238-5642-45D3-BBAA-CFCAC4A34E08}.Release|x64.Build.0 = Release|Any CPU | ||
{646CE238-5642-45D3-BBAA-CFCAC4A34E08}.Release|x86.ActiveCfg = Release|Any CPU | ||
{646CE238-5642-45D3-BBAA-CFCAC4A34E08}.Release|x86.Build.0 = Release|Any CPU | ||
{389FF301-8112-4E6A-B40C-94E669470B93}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{389FF301-8112-4E6A-B40C-94E669470B93}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{389FF301-8112-4E6A-B40C-94E669470B93}.Debug|x64.ActiveCfg = Debug|Any CPU | ||
{389FF301-8112-4E6A-B40C-94E669470B93}.Debug|x64.Build.0 = Debug|Any CPU | ||
{389FF301-8112-4E6A-B40C-94E669470B93}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{389FF301-8112-4E6A-B40C-94E669470B93}.Debug|x86.Build.0 = Debug|Any CPU | ||
{389FF301-8112-4E6A-B40C-94E669470B93}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{389FF301-8112-4E6A-B40C-94E669470B93}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{389FF301-8112-4E6A-B40C-94E669470B93}.Release|x64.ActiveCfg = Release|Any CPU | ||
{389FF301-8112-4E6A-B40C-94E669470B93}.Release|x64.Build.0 = Release|Any CPU | ||
{389FF301-8112-4E6A-B40C-94E669470B93}.Release|x86.ActiveCfg = Release|Any CPU | ||
{389FF301-8112-4E6A-B40C-94E669470B93}.Release|x86.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {855DDD09-AF2B-4D37-A7DE-AEF3006D98CB} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Release History | ||
|
||
## 1.0.0-beta.1 (2022.03.31) | ||
|
||
- Support MSAL.NET, Azure.Identity is out of box for supporting MSAL.NET | ||
- Support [OpenTelemetry](https://opentelemetry.io/) for distributed tracing | ||
- HTTP pipeline with custom policies | ||
- Better error-handling | ||
- Support uniform telemetry across all languages | ||
|
||
> NOTE: For more information about unified authentication, please refer to [Azure Identity documentation for .NET](https://docs.microsoft.com//dotnet/api/overview/azure/identity-readme?view=azure-dotnet) | ||
This package follows the [Azure SDK Design Guidelines for .NET](https://azure.github.io/azure-sdk/dotnet_introduction.html) which provide a number of core capabilities that are shared amongst all Azure SDKs, including the intuitive Azure Identity library, an HTTP Pipeline with custom policies, error-handling, distributed tracing, and much more. | ||
|
||
This is a Public Preview version, so expect incompatible changes in subsequent releases as we improve the product. To provide feedback, please submit an issue in our [Azure SDK for .NET GitHub repo](https://github.com/Azure/azure-sdk-for-net/issues). |
6 changes: 6 additions & 0 deletions
6
sdk/monitor/Azure.ResourceManager.Monitor/Directory.Build.props
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<!-- | ||
Add any shared properties you want for the projects under this package directory that need to be set before the auto imported Directory.Build.props | ||
--> | ||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory).., Directory.Build.props))\Directory.Build.props" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# Azure monitor Management client library for .NET | ||
|
||
This package follows the [new Azure SDK guidelines](https://azure.github.io/azure-sdk/general_introduction.html) which provide a number of core capabilities that are shared amongst all Azure SDKs, including the intuitive Azure Identity library, an HTTP Pipeline with custom policies, error-handling, distributed tracing, and much more. | ||
|
||
## Getting started | ||
|
||
### Install the package | ||
|
||
Install the Azure monitor management library for .NET with [NuGet](https://www.nuget.org/): | ||
|
||
```PowerShell | ||
Install-Package Azure.ResourceManager.Monitor -Version 1.0.0-beta.1 | ||
``` | ||
|
||
### Prerequisites | ||
|
||
* You must have an [Azure subscription](https://azure.microsoft.com/free/dotnet/) | ||
|
||
### Authenticate the Client | ||
|
||
To create an authenticated client and start interacting with Azure resources, please see the [quickstart guide here](https://github.com/Azure/azure-sdk-for-net/blob/main/doc/mgmt_preview_quickstart.md) | ||
|
||
## Key concepts | ||
|
||
Key concepts of the Azure .NET SDK can be found [here](https://azure.github.io/azure-sdk/dotnet_introduction.html) | ||
|
||
## Documentation | ||
|
||
Documentation is available to help you learn how to use this package | ||
|
||
- [Quickstart](https://github.com/Azure/azure-sdk-for-net/blob/main/doc/mgmt_preview_quickstart.md) | ||
- [API References](https://docs.microsoft.com/dotnet/api/?view=azure-dotnet) | ||
- [Authentication](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/README.md) | ||
|
||
## Examples | ||
|
||
Code samples for using the management library for .NET can be found in the following locations | ||
- [.NET Management Library Code Samples](https://docs.microsoft.com/samples/browse/?branch=master&languages=csharp&term=managing%20using%20Azure%20.NET%20SDK) | ||
|
||
## Troubleshooting | ||
|
||
- File an issue via [Github | ||
Issues](https://github.com/Azure/azure-sdk-for-net/issues) | ||
- Check [previous | ||
questions](https://stackoverflow.com/questions/tagged/azure+.net) | ||
or ask new ones on Stack Overflow using azure and .net tags. | ||
|
||
|
||
## Next steps | ||
|
||
For more information on Azure SDK, please refer to [this website](https://azure.github.io/azure-sdk/) | ||
|
||
## Contributing | ||
|
||
For details on contributing to this repository, see the contributing | ||
guide. | ||
|
||
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 <https://cla.microsoft.com>. | ||
|
||
When you submit a pull request, a CLA-bot will automatically determine | ||
whether you need to provide a CLA and decorate the PR appropriately | ||
(e.g., label, comment). Simply follow the instructions provided by the | ||
bot. You will only need to do this once across all repositories using | ||
our CLA. | ||
|
||
This project has adopted the Microsoft Open Source Code of Conduct. For | ||
more information see the Code of Conduct FAQ or contact | ||
<opencode@microsoft.com> with any additional questions or comments. | ||
|
||
<!-- LINKS --> | ||
[style-guide-msft]: https://docs.microsoft.com/style-guide/capitalization | ||
[style-guide-cloud]: https://aka.ms/azsdk/cloud-style-guide | ||
|
||
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-net%2Fsdk%2Ftemplate%2FAzure.Template%2FREADME.png) |
Oops, something went wrong.