Mash.ArmTools 0.1.0-preview

Tools for working with Azure Resource Management (ARM)

Icon By Google Inc., CC BY 4.0, https://commons.wikimedia.org/w/index.php?curid=36333975

This is a prerelease version of Mash.ArmTools.
Install-Package Mash.ArmTools -Version 0.1.0-preview
dotnet add package Mash.ArmTools --version 0.1.0-preview
<PackageReference Include="Mash.ArmTools" Version="0.1.0-preview" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mash.ArmTools --version 0.1.0-preview
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

ARM Tools

Working with Azure resources? Need to parse the resource Id to get important information from it?

This package helps parse and build resource Ids.

Take a resource Id like /subscriptions/{subscriptionId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachines/vmName and process it like this:

var resource = Resource.Parse(resourceId);
Console.WriteLine($"Subscription is {resource.SubscriptionId}"); 

Other properties include the resource group name, provider namespace, resource type, resource name, full resource type (e.g. Microsoft.Compute/virtualMachines), ancestor names, Id, and parent resource.

What's new?

November 30, 2018

Initial support for top-level and nested resources. Does not yet support resource group Ids or tenant-level resources (resources without a subscription).

ARM Tools

Working with Azure resources? Need to parse the resource Id to get important information from it?

This package helps parse and build resource Ids.

Take a resource Id like /subscriptions/{subscriptionId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachines/vmName and process it like this:

var resource = Resource.Parse(resourceId);
Console.WriteLine($"Subscription is {resource.SubscriptionId}"); 

Other properties include the resource group name, provider namespace, resource type, resource name, full resource type (e.g. Microsoft.Compute/virtualMachines), ancestor names, Id, and parent resource.

What's new?

November 30, 2018

Initial support for top-level and nested resources. Does not yet support resource group Ids or tenant-level resources (resources without a subscription).

Release Notes

Initial release

  • .NETStandard 2.0

    • No dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.1.0-preview 213 12/3/2018