See the version list below for details.
dotnet add package Azure.ResourceManager.Storage --version 1.1.1
NuGet\Install-Package Azure.ResourceManager.Storage -Version 1.1.1
<PackageReference Include="Azure.ResourceManager.Storage" Version="1.1.1" />
paket add Azure.ResourceManager.Storage --version 1.1.1
#r "nuget: Azure.ResourceManager.Storage, 1.1.1"
// Install Azure.ResourceManager.Storage as a Cake Addin #addin nuget:?package=Azure.ResourceManager.Storage&version=1.1.1 // Install Azure.ResourceManager.Storage as a Cake Tool #tool nuget:?package=Azure.ResourceManager.Storage&version=1.1.1
Microsoft Azure Storage management client library for .NET
Microsoft Azure Storage is a Microsoft-managed service providing cloud storage that is highly available, secure, durable, scalable, and redundant.
This library supports managing Microsoft Azure Storage resources, including the creation of new storage accounts.
This library follows the new Azure SDK guidelines, 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.
Install the package
Install the Microsoft Azure Storage management library for .NET with NuGet:
dotnet add package Azure.ResourceManager.Storage
First, to install the Microsoft Azure Identity package:
dotnet add package Azure.Identity
Set up a way to authenticate to Microsoft Azure with Azure Identity.
Some options are:
- Through the Azure CLI Sign in.
- Via Visual Studio.
- Setting Environment Variables.
More information and different authentication approaches using Microsoft Azure Identity can be found in this document.
Authenticate the Client
The default option to create an authenticated client is to use
DefaultAzureCredential. Since all management APIs go through the same endpoint, in order to interact with resources, only one top-level
ArmClient has to be created.
To authenticate to Microsoft Azure and create an
ArmClient, do the following code:
using Azure.Identity; using Azure.ResourceManager; ArmClient armClient = new ArmClient(new DefaultAzureCredential());
More documentation for the
Azure.Identity.DefaultAzureCredential class can be found in this document.
Key concepts of the Microsoft Azure SDK for .NET can be found here
- If you find a bug or have a suggestion, file an issue via GitHub issues, and make sure you add the "Preview" label to the issue.
- If you need help, check previous questions or ask new ones on StackOverflow using Azure and .NET tags.
- If having trouble with authentication, go to DefaultAzureCredential documentation.
For more information about Microsoft Azure SDK, see this website.
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 (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. For more information, see the Code of Conduct FAQ or contact firstname.lastname@example.org with any other questions or comments.
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed.|
|.NET Core||netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard2.0 is compatible. netstandard2.1 was computed.|
|.NET Framework||net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen40 was computed. tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
- Azure.Core (>= 1.28.0)
- Azure.ResourceManager (>= 1.4.0)
- System.Text.Json (>= 4.7.2)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Azure.ResourceManager.Storage:
INTERNAL USE ONLY: neonKUBE hosting manager for Azure
Igloo Event Sourcing SDK for services.
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Azure.ResourceManager.Storage:
Sample code referenced by the .NET documentation
Azure Media Services Explorer Tool