Skip to content

martyncoup/azparse-csharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AzParse

Welcome to AzParse! This is a small library which helps you translate region names and resource provider names to friendly display names.

For example, uksouth would now become UK South. The resource name Microsoft.Compute/virtualMachines would become Virtual Machines.

Nuget GitHub Workflow Status

Installation

Installation via Package Management is recommended. Instructions for NuGet and the .NET CLI are below.

NuGet

Install-Package AzParse -Version 0.0.1-alpha

DotNet CLI

dotnet add package AzParse --version 0.0.1-alpha

Usage

Using the package is simple, string extensions are provided to convert both region names and resources.

// Region
var region = "uksouth";
Console.WriteLine(region.ConvertRegionToFriendlyName());

// Resource
var region = "Microsoft.Compute/virtualMachines";
Console.WriteLine(region.ConvertResourceToFriendlyName());

Issues

Feel free to open an issue if you find any problems such as missing regions or missing resource provider namespaces.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages