forked from Azure/azure-sdk-for-net
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add .NET SDK for HybridNetwork service (Azure#39386)
* Initialize HybridNetwork SDK VS solution * Run Update-Mgmt-CI script * Update autorest.md to use local spec checkout * Generate SDK code * Set value for default API version of Operation resource * add some initial UTs * Regenerate SDK against latest API changes * Update assets.json * Complete UTs * Use readme.md from public repo PR and regenerate code * fix broken UTs and add sanitizer to remove acrToken from recordings * Add constants for file names and other repetative strings * update assets.json with tag * try again * remove formatting when we stringify all json * use new recordings * fix ci.mgmt.yml for hdinsights * fix types for IDs and rename suggested models and props * update autorest.md to point at readme.md in main branch * generate API file * mark-ups * rename models with Options suffix
- Loading branch information
1 parent
52b9f73
commit 637d992
Showing
411 changed files
with
50,183 additions
and
0 deletions.
There are no files selected for viewing
65 changes: 65 additions & 0 deletions
65
...hybridnetwork/Azure.ResourceManager.HybridNetwork/Azure.ResourceManager.HybridNetwork.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,65 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.7.34031.279 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.ResourceManager.HybridNetwork", "src\Azure.ResourceManager.HybridNetwork.csproj", "{E72C9DBA-B4E0-4CCE-9C67-0A86653E37B6}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.ResourceManager.HybridNetwork.Tests", "tests\Azure.ResourceManager.HybridNetwork.Tests.csproj", "{0DA1D992-22DA-41D2-A677-0735E6FAB7B0}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.ResourceManager.HybridNetwork.Samples", "samples\Azure.ResourceManager.HybridNetwork.Samples.csproj", "{E47361C6-0DD0-49CC-9359-13955426D0F7}" | ||
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 | ||
{E72C9DBA-B4E0-4CCE-9C67-0A86653E37B6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{E72C9DBA-B4E0-4CCE-9C67-0A86653E37B6}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{E72C9DBA-B4E0-4CCE-9C67-0A86653E37B6}.Debug|x64.ActiveCfg = Debug|Any CPU | ||
{E72C9DBA-B4E0-4CCE-9C67-0A86653E37B6}.Debug|x64.Build.0 = Debug|Any CPU | ||
{E72C9DBA-B4E0-4CCE-9C67-0A86653E37B6}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{E72C9DBA-B4E0-4CCE-9C67-0A86653E37B6}.Debug|x86.Build.0 = Debug|Any CPU | ||
{E72C9DBA-B4E0-4CCE-9C67-0A86653E37B6}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{E72C9DBA-B4E0-4CCE-9C67-0A86653E37B6}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{E72C9DBA-B4E0-4CCE-9C67-0A86653E37B6}.Release|x64.ActiveCfg = Release|Any CPU | ||
{E72C9DBA-B4E0-4CCE-9C67-0A86653E37B6}.Release|x64.Build.0 = Release|Any CPU | ||
{E72C9DBA-B4E0-4CCE-9C67-0A86653E37B6}.Release|x86.ActiveCfg = Release|Any CPU | ||
{E72C9DBA-B4E0-4CCE-9C67-0A86653E37B6}.Release|x86.Build.0 = Release|Any CPU | ||
{0DA1D992-22DA-41D2-A677-0735E6FAB7B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{0DA1D992-22DA-41D2-A677-0735E6FAB7B0}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{0DA1D992-22DA-41D2-A677-0735E6FAB7B0}.Debug|x64.ActiveCfg = Debug|Any CPU | ||
{0DA1D992-22DA-41D2-A677-0735E6FAB7B0}.Debug|x64.Build.0 = Debug|Any CPU | ||
{0DA1D992-22DA-41D2-A677-0735E6FAB7B0}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{0DA1D992-22DA-41D2-A677-0735E6FAB7B0}.Debug|x86.Build.0 = Debug|Any CPU | ||
{0DA1D992-22DA-41D2-A677-0735E6FAB7B0}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{0DA1D992-22DA-41D2-A677-0735E6FAB7B0}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{0DA1D992-22DA-41D2-A677-0735E6FAB7B0}.Release|x64.ActiveCfg = Release|Any CPU | ||
{0DA1D992-22DA-41D2-A677-0735E6FAB7B0}.Release|x64.Build.0 = Release|Any CPU | ||
{0DA1D992-22DA-41D2-A677-0735E6FAB7B0}.Release|x86.ActiveCfg = Release|Any CPU | ||
{0DA1D992-22DA-41D2-A677-0735E6FAB7B0}.Release|x86.Build.0 = Release|Any CPU | ||
{E47361C6-0DD0-49CC-9359-13955426D0F7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{E47361C6-0DD0-49CC-9359-13955426D0F7}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{E47361C6-0DD0-49CC-9359-13955426D0F7}.Debug|x64.ActiveCfg = Debug|Any CPU | ||
{E47361C6-0DD0-49CC-9359-13955426D0F7}.Debug|x64.Build.0 = Debug|Any CPU | ||
{E47361C6-0DD0-49CC-9359-13955426D0F7}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{E47361C6-0DD0-49CC-9359-13955426D0F7}.Debug|x86.Build.0 = Debug|Any CPU | ||
{E47361C6-0DD0-49CC-9359-13955426D0F7}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{E47361C6-0DD0-49CC-9359-13955426D0F7}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{E47361C6-0DD0-49CC-9359-13955426D0F7}.Release|x64.ActiveCfg = Release|Any CPU | ||
{E47361C6-0DD0-49CC-9359-13955426D0F7}.Release|x64.Build.0 = Release|Any CPU | ||
{E47361C6-0DD0-49CC-9359-13955426D0F7}.Release|x86.ActiveCfg = Release|Any CPU | ||
{E47361C6-0DD0-49CC-9359-13955426D0F7}.Release|x86.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {53195F07-6A9F-44C3-B0D2-3380769A7E2C} | ||
EndGlobalSection | ||
EndGlobal |
17 changes: 17 additions & 0 deletions
17
sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/CHANGELOG.md
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,17 @@ | ||
# Release History | ||
|
||
## 1.0.0-beta.1 (Unreleased) | ||
|
||
### General New Features | ||
|
||
This package follows the [new Azure SDK guidelines](https://azure.github.io/azure-sdk/general_introduction.html), and provides many core capabilities: | ||
|
||
- 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. | ||
|
||
This package is a Public Preview version, so expect incompatible changes in subsequent releases as we improve the product. To provide feedback, submit an issue in our [Azure SDK for .NET GitHub repo](https://github.com/Azure/azure-sdk-for-net/issues). | ||
|
||
> NOTE: For more information about unified authentication, please refer to [Microsoft Azure Identity documentation for .NET](https://docs.microsoft.com//dotnet/api/overview/azure/identity-readme?view=azure-dotnet). |
6 changes: 6 additions & 0 deletions
6
sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/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> |
80 changes: 80 additions & 0 deletions
80
sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/README.md
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,80 @@ | ||
# Microsoft Azure HybridNetwork management client library for .NET | ||
|
||
**[Describe the service briefly first.]** | ||
|
||
This library follows the [new Azure SDK guidelines](https://azure.github.io/azure-sdk/general_introduction.html), and provides many core capabilities: | ||
|
||
- 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. | ||
|
||
## Getting started | ||
|
||
### Install the package | ||
|
||
Install the Microsoft Azure HybridNetwork management library for .NET with [NuGet](https://www.nuget.org/): | ||
|
||
```dotnetcli | ||
dotnet add package Azure.ResourceManager.HybridNetwork --prerelease | ||
``` | ||
|
||
### Prerequisites | ||
|
||
* You must have an [Microsoft Azure subscription](https://azure.microsoft.com/free/dotnet/). | ||
|
||
### Authenticate the Client | ||
|
||
To create an authenticated client and start interacting with Microsoft Azure resources, see the [quickstart guide here](https://github.com/Azure/azure-sdk-for-net/blob/main/doc/dev/mgmt_quickstart.md). | ||
|
||
## Key concepts | ||
|
||
Key concepts of the Microsoft Azure SDK for .NET 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/dev/mgmt_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://aka.ms/azuresdk-net-mgmt-samples) | ||
|
||
## 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 about Microsoft Azure SDK, see [this website](https://azure.github.io/azure-sdk/). | ||
|
||
## Contributing | ||
|
||
For details on contributing to this repository, see the [contributing | ||
guide][cg]. | ||
|
||
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 | ||
(for example, label, comment). Follow the instructions provided by the | ||
bot. You'll only need to do this action once across all repositories | ||
using our CLA. | ||
|
||
This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For | ||
more information, see the [Code of Conduct FAQ][coc_faq] or contact | ||
<[email protected]> with any other questions or comments. | ||
|
||
<!-- LINKS --> | ||
[cg]: https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/resourcemanager/Azure.ResourceManager/docs/CONTRIBUTING.md | ||
[coc]: https://opensource.microsoft.com/codeofconduct/ | ||
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/ |
Oops, something went wrong.