Skip to content

Commit be088c1

Browse files
SpencerOfwitiliminguYao725
authored
Generate SDK for NGINX for Azure service (Azure#31594)
* [Nginx] Add Nginx sdk * Update SDK from updated swagger spec * Add tests for collection and resource types * Test edge cases * Switch to dynamically supplied location * Refactor test scenarios * Add session records * Update session records * Update deployment resource tests * Update provider namespace * Refactor certificate and configuration creation * Update ci.yml * Cleanup test environment variables * Generate apiview file * Fetch recorded variables * Update session records * regen code * Update AddTag Session records * Specify release date * Update release date * Update readme * Update changelog * update changelog and readme * Update readme * update Co-authored-by: Limin Gu <limgu@microsoft.com> Co-authored-by: Yao Kou <yaokou@microsoft.com>
1 parent 84ec01f commit be088c1

File tree

146 files changed

+163494
-0
lines changed

Some content is hidden

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

146 files changed

+163494
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.30309.148
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{1F073C8A-8FB4-441F-852A-AE108391D279}") = "Azure.ResourceManager.Nginx", "src\Azure.ResourceManager.Nginx.csproj", "{9C5CCCC2-18F0-4E96-A304-AC24E2F8CD7A}"
7+
EndProject
8+
Project("{1F073C8A-8FB4-441F-852A-AE108391D279}") = "Azure.ResourceManager.Nginx.Tests", "tests\Azure.ResourceManager.Nginx.Tests.csproj", "{DDA57F70-239C-4235-A16D-154B858E34CB}"
9+
EndProject
10+
Global
11+
GlobalSection(SolutionProperties) = preSolution
12+
HideSolutionNode = FALSE
13+
EndGlobalSection
14+
GlobalSection(ExtensibilityGlobals) = postSolution
15+
SolutionGuid = {9B9BBC52-A799-48D5-ADAF-1BF03179B921}
16+
EndGlobalSection
17+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
18+
Debug|Any CPU = Debug|Any CPU
19+
Debug|x64 = Debug|x64
20+
Debug|x86 = Debug|x86
21+
Release|Any CPU = Release|Any CPU
22+
Release|x64 = Release|x64
23+
Release|x86 = Release|x86
24+
EndGlobalSection
25+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
26+
{9C5CCCC2-18F0-4E96-A304-AC24E2F8CD7A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27+
{9C5CCCC2-18F0-4E96-A304-AC24E2F8CD7A}.Debug|Any CPU.Build.0 = Debug|Any CPU
28+
{9C5CCCC2-18F0-4E96-A304-AC24E2F8CD7A}.Debug|x64.ActiveCfg = Debug|Any CPU
29+
{9C5CCCC2-18F0-4E96-A304-AC24E2F8CD7A}.Debug|x64.Build.0 = Debug|Any CPU
30+
{9C5CCCC2-18F0-4E96-A304-AC24E2F8CD7A}.Debug|x86.ActiveCfg = Debug|Any CPU
31+
{9C5CCCC2-18F0-4E96-A304-AC24E2F8CD7A}.Debug|x86.Build.0 = Debug|Any CPU
32+
{9C5CCCC2-18F0-4E96-A304-AC24E2F8CD7A}.Release|Any CPU.ActiveCfg = Release|Any CPU
33+
{9C5CCCC2-18F0-4E96-A304-AC24E2F8CD7A}.Release|Any CPU.Build.0 = Release|Any CPU
34+
{9C5CCCC2-18F0-4E96-A304-AC24E2F8CD7A}.Release|x64.ActiveCfg = Release|Any CPU
35+
{9C5CCCC2-18F0-4E96-A304-AC24E2F8CD7A}.Release|x64.Build.0 = Release|Any CPU
36+
{9C5CCCC2-18F0-4E96-A304-AC24E2F8CD7A}.Release|x86.ActiveCfg = Release|Any CPU
37+
{9C5CCCC2-18F0-4E96-A304-AC24E2F8CD7A}.Release|x86.Build.0 = Release|Any CPU
38+
{DDA57F70-239C-4235-A16D-154B858E34CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
39+
{DDA57F70-239C-4235-A16D-154B858E34CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
40+
{DDA57F70-239C-4235-A16D-154B858E34CB}.Debug|x64.ActiveCfg = Debug|Any CPU
41+
{DDA57F70-239C-4235-A16D-154B858E34CB}.Debug|x64.Build.0 = Debug|Any CPU
42+
{DDA57F70-239C-4235-A16D-154B858E34CB}.Debug|x86.ActiveCfg = Debug|Any CPU
43+
{DDA57F70-239C-4235-A16D-154B858E34CB}.Debug|x86.Build.0 = Debug|Any CPU
44+
{DDA57F70-239C-4235-A16D-154B858E34CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
45+
{DDA57F70-239C-4235-A16D-154B858E34CB}.Release|Any CPU.Build.0 = Release|Any CPU
46+
{DDA57F70-239C-4235-A16D-154B858E34CB}.Release|x64.ActiveCfg = Release|Any CPU
47+
{DDA57F70-239C-4235-A16D-154B858E34CB}.Release|x64.Build.0 = Release|Any CPU
48+
{DDA57F70-239C-4235-A16D-154B858E34CB}.Release|x86.ActiveCfg = Release|Any CPU
49+
{DDA57F70-239C-4235-A16D-154B858E34CB}.Release|x86.Build.0 = Release|Any CPU
50+
EndGlobalSection
51+
EndGlobal
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Release History
2+
3+
## 1.0.0-beta.1 (2022-11-01)
4+
5+
### Breaking Changes
6+
7+
- New design of track 2 initial commit.
8+
9+
### General New Features
10+
11+
This package follows the [new Azure SDK guidelines](https://azure.github.io/azure-sdk/general_introduction.html), and provides many core capabilities:
12+
13+
- Support MSAL.NET, Azure.Identity is out of box for supporting MSAL.NET.
14+
- Support [OpenTelemetry](https://opentelemetry.io/) for distributed tracing.
15+
- HTTP pipeline with custom policies.
16+
- Better error-handling.
17+
- Support uniform telemetry across all languages.
18+
19+
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).
20+
21+
> 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).
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<!--
3+
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
4+
-->
5+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory).., Directory.Build.props))\Directory.Build.props" />
6+
</Project>
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# Microsoft Azure Nginx management client library for .NET
2+
3+
Microsoft Azure Nginx is a natively integrated software as a service (SaaS) solution with advanced traffic management and monitoring. It offers ease of use with provisioning and configuration in a couple steps and leverages advanced traffic management features, such as JSON Web Token (JWT) authentication and active health checks, with built-in security integrations like Azure Key Vault for SSL/TLS certificate management.
4+
5+
This library supports managing Microsoft Azure Nginx resources.
6+
7+
This library follows the [new Azure SDK guidelines](https://azure.github.io/azure-sdk/general_introduction.html), and provides many core capabilities:
8+
9+
- Support MSAL.NET, Azure.Identity is out of box for supporting MSAL.NET.
10+
- Support [OpenTelemetry](https://opentelemetry.io/) for distributed tracing.
11+
- HTTP pipeline with custom policies.
12+
- Better error-handling.
13+
- Support uniform telemetry across all languages.
14+
15+
## Getting started
16+
17+
### Install the package
18+
19+
Install the Microsoft Azure Nginx management library for .NET with [NuGet](https://www.nuget.org/):
20+
21+
```dotnetcli
22+
dotnet add package Azure.ResourceManager.Nginx --prerelease
23+
```
24+
25+
### Prerequisites
26+
27+
* You must have an [Microsoft Azure subscription](https://azure.microsoft.com/free/dotnet/)
28+
29+
### Authenticate the Client
30+
31+
To create an authenticated client and start interacting with Microsoft Azure resources, please see the [quickstart guide here](https://github.com/Azure/azure-sdk-for-net/blob/main/doc/dev/mgmt_quickstart.md).
32+
33+
## Key concepts
34+
35+
Key concepts of the Microsoft Azure SDK for .NET can be found [here](https://azure.github.io/azure-sdk/dotnet_introduction.html)
36+
37+
## Documentation
38+
39+
Documentation is available to help you learn how to use this package:
40+
41+
- [Quickstart](https://github.com/Azure/azure-sdk-for-net/blob/main/doc/dev/mgmt_quickstart.md).
42+
- [API References](https://docs.microsoft.com/dotnet/api/?view=azure-dotnet).
43+
- [Authentication](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/README.md).
44+
45+
## Examples
46+
47+
Code samples for using the management library for .NET can be found in the following locations
48+
- [.NET Management Library Code Samples](https://aka.ms/azuresdk-net-mgmt-samples)
49+
50+
## Troubleshooting
51+
52+
- File an issue via [Github
53+
Issues](https://github.com/Azure/azure-sdk-for-net/issues)
54+
- Check [previous
55+
questions](https://stackoverflow.com/questions/tagged/azure+.net)
56+
or ask new ones on Stack Overflow using azure and .net tags.
57+
58+
59+
## Next steps
60+
61+
For more information about Microsoft Azure SDK, see [this website](https://azure.github.io/azure-sdk/)
62+
63+
## Contributing
64+
65+
For details on contributing to this repository, see the [contributing
66+
guide][cg].
67+
68+
This project welcomes contributions and suggestions. Most contributions
69+
require you to agree to a Contributor License Agreement (CLA) declaring
70+
that you have the right to, and actually do, grant us the rights to use
71+
your contribution. For details, visit <https://cla.microsoft.com>.
72+
73+
When you submit a pull request, a CLA-bot will automatically determine
74+
whether you need to provide a CLA and decorate the PR appropriately
75+
(for example, label, comment). Follow the instructions provided by the
76+
bot. You'll only need to do this action once across all repositories
77+
using our CLA.
78+
79+
This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For
80+
more information, see the [Code of Conduct FAQ][coc_faq] or contact
81+
<opencode@microsoft.com> with any other questions or comments.
82+
83+
<!-- LINKS -->
84+
[cg]: https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/resourcemanager/Azure.ResourceManager/docs/CONTRIBUTING.md
85+
[coc]: https://opensource.microsoft.com/codeofconduct/
86+
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/

0 commit comments

Comments
 (0)