VolumeNameGenerator Methods
Class Methods 1 member
Utility class for generating volume names.
Generate(IResourceBuilder<T>, string) Section titled Generate(IResourceBuilder<T>, string) static string Generates a volume name with the form
{applicationName}-{sha256 of apphost path}-{resourceName}-{suffix}, e.g. myapplication-a345f2451-postgres-data. public static class VolumeNameGenerator{ public static string Generate<T>( IResourceBuilder<T> builder, string suffix) { // ... }}Parameters
builder IResourceBuilder<T> The resource builder. suffix string The suffix to append to the volume name. Returns
string The volume name. Exceptions
ArgumentException