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

astro dot net sdk beta #41828

Merged
merged 19 commits into from
Apr 28, 2024
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
10 changes: 8 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -445,10 +445,10 @@
# ServiceOwners: @raedJarrar @jifems

# PRLabel: %DevCenter
/sdk/devcenter/ @sebrenna @chrissmiller @shivangireja
/sdk/devcenter/ @sebrenna @shivangireja

# ServiceLabel: %DevCenter
# ServiceOwners: @sebrenna @chrissmiller
# ServiceOwners: @sebrenna

# ServiceLabel: %Dev Spaces
# ServiceOwners: @yuzorMa @johnsta @greenie-msft
Expand Down Expand Up @@ -926,6 +926,12 @@
# ServiceLabel: %Mgmt
# AzureSdkOwners: @ArthurMa1978

# PRLabel: %Astronomer
/sdk/astronomer/Azure.ResourceManager.Astro/ @banggaurav

# ServiceLabel: %Astronomer %Mgmt
# ServiceOwners: @banggaurav

# PRLabel: %Communication - Resource Manager
/sdk/communication/Azure.ResourceManager.Communication/ @archerzz @ArcturusZhang @ArthurMa1978

Expand Down
6 changes: 6 additions & 0 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,12 @@
"fqdns"
]
},
{
"filename": "**/sdk/astronomer/**/*.cs",
"words": [
"astro"
]
},
{
"filename": "**/sdk/automanage/**/*.cs",
"words": [
Expand Down
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 16
VisualStudioVersion = 16.0.30309.148
MinimumVisualStudioVersion = 10.0.40219.1
Project("{BCE6B955-FA3B-462B-BDFA-20659EABE35A}") = "Azure.ResourceManager.Astro", "src\Azure.ResourceManager.Astro.csproj", "{D0D6B3FA-DF56-42EC-87B5-CDDA0CC8D314}"
EndProject
Project("{BCE6B955-FA3B-462B-BDFA-20659EABE35A}") = "Azure.ResourceManager.Astro.Tests", "tests\Azure.ResourceManager.Astro.Tests.csproj", "{C52DED5F-42EC-4B48-A3F8-1C9292D97BEB}"
EndProject
Project("{BCE6B955-FA3B-462B-BDFA-20659EABE35A}") = "Azure.ResourceManager.Astro.Samples", "samples\Azure.ResourceManager.Astro.Samples.csproj", "{85232D8C-02A7-4178-BD92-89FCB9BC635C}"
EndProject
Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {57F353AB-00D8-4C79-BAEF-C4D987A8E256}
EndGlobalSection
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
{D0D6B3FA-DF56-42EC-87B5-CDDA0CC8D314}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D0D6B3FA-DF56-42EC-87B5-CDDA0CC8D314}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D0D6B3FA-DF56-42EC-87B5-CDDA0CC8D314}.Debug|x64.ActiveCfg = Debug|Any CPU
{D0D6B3FA-DF56-42EC-87B5-CDDA0CC8D314}.Debug|x64.Build.0 = Debug|Any CPU
{D0D6B3FA-DF56-42EC-87B5-CDDA0CC8D314}.Debug|x86.ActiveCfg = Debug|Any CPU
{D0D6B3FA-DF56-42EC-87B5-CDDA0CC8D314}.Debug|x86.Build.0 = Debug|Any CPU
{D0D6B3FA-DF56-42EC-87B5-CDDA0CC8D314}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D0D6B3FA-DF56-42EC-87B5-CDDA0CC8D314}.Release|Any CPU.Build.0 = Release|Any CPU
{D0D6B3FA-DF56-42EC-87B5-CDDA0CC8D314}.Release|x64.ActiveCfg = Release|Any CPU
{D0D6B3FA-DF56-42EC-87B5-CDDA0CC8D314}.Release|x64.Build.0 = Release|Any CPU
{D0D6B3FA-DF56-42EC-87B5-CDDA0CC8D314}.Release|x86.ActiveCfg = Release|Any CPU
{D0D6B3FA-DF56-42EC-87B5-CDDA0CC8D314}.Release|x86.Build.0 = Release|Any CPU
{C52DED5F-42EC-4B48-A3F8-1C9292D97BEB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C52DED5F-42EC-4B48-A3F8-1C9292D97BEB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C52DED5F-42EC-4B48-A3F8-1C9292D97BEB}.Debug|x64.ActiveCfg = Debug|Any CPU
{C52DED5F-42EC-4B48-A3F8-1C9292D97BEB}.Debug|x64.Build.0 = Debug|Any CPU
{C52DED5F-42EC-4B48-A3F8-1C9292D97BEB}.Debug|x86.ActiveCfg = Debug|Any CPU
{C52DED5F-42EC-4B48-A3F8-1C9292D97BEB}.Debug|x86.Build.0 = Debug|Any CPU
{C52DED5F-42EC-4B48-A3F8-1C9292D97BEB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C52DED5F-42EC-4B48-A3F8-1C9292D97BEB}.Release|Any CPU.Build.0 = Release|Any CPU
{C52DED5F-42EC-4B48-A3F8-1C9292D97BEB}.Release|x64.ActiveCfg = Release|Any CPU
{C52DED5F-42EC-4B48-A3F8-1C9292D97BEB}.Release|x64.Build.0 = Release|Any CPU
{C52DED5F-42EC-4B48-A3F8-1C9292D97BEB}.Release|x86.ActiveCfg = Release|Any CPU
{C52DED5F-42EC-4B48-A3F8-1C9292D97BEB}.Release|x86.Build.0 = Release|Any CPU
{85232D8C-02A7-4178-BD92-89FCB9BC635C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{85232D8C-02A7-4178-BD92-89FCB9BC635C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{85232D8C-02A7-4178-BD92-89FCB9BC635C}.Debug|x64.ActiveCfg = Debug|Any CPU
{85232D8C-02A7-4178-BD92-89FCB9BC635C}.Debug|x64.Build.0 = Debug|Any CPU
{85232D8C-02A7-4178-BD92-89FCB9BC635C}.Debug|x86.ActiveCfg = Debug|Any CPU
{85232D8C-02A7-4178-BD92-89FCB9BC635C}.Debug|x86.Build.0 = Debug|Any CPU
{85232D8C-02A7-4178-BD92-89FCB9BC635C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{85232D8C-02A7-4178-BD92-89FCB9BC635C}.Release|Any CPU.Build.0 = Release|Any CPU
{85232D8C-02A7-4178-BD92-89FCB9BC635C}.Release|x64.ActiveCfg = Release|Any CPU
{85232D8C-02A7-4178-BD92-89FCB9BC635C}.Release|x64.Build.0 = Release|Any CPU
{85232D8C-02A7-4178-BD92-89FCB9BC635C}.Release|x86.ActiveCfg = Release|Any CPU
{85232D8C-02A7-4178-BD92-89FCB9BC635C}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
21 changes: 21 additions & 0 deletions sdk/astronomer/Azure.ResourceManager.Astro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Release History

## 1.0.0-beta.1 (2024-05-01)

### Features Added

- First beta release for api-version 'package-2023-08-01'. Tag detail available at https://github.com/Azure/azure-rest-api-specs/blob/ceb1849d35534ccb6c2dfc3772bb2426dd37df6a/specification/liftrastronomer/resource-manager/readme.md.

### General New Features
ArthurMa1978 marked this conversation as resolved.
Show resolved Hide resolved

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).
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>
84 changes: 84 additions & 0 deletions sdk/astronomer/Azure.ResourceManager.Astro/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# Microsoft Azure Astronomer.Astro management client library for .NET

Azure Native ISV Services enable you to easily provision, manage, and tightly integrate independent software vendor (ISV) software and services on Azure. This service is developed and managed together by Microsoft and Astronomer.

You can find Apache Airflow on Astro – An Azure Native ISV Service in the Azure portal or get it on Azure Marketplace.

This offering allows you to manage your Astro resource as an integrated native service. You can easily run and manage as many Airflow deployments as you need and get started seamlessly through Azure portal.

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 Astronomer.Astro management library for .NET with [NuGet](https://www.nuget.org/):

```dotnetcli
dotnet add package Azure.ResourceManager.Astro --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
<opencode@microsoft.com> 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/
Loading