VolumeNameGenerator Methods
ClassMethods1 member
Utility class for generating volume names.
Generate(IResourceBuilder<T>, string) Section titled Generate(IResourceBuilder<T>, string)staticstring 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
builderIsuffixstringThe suffix to append to the volume name.Returns
stringThe volume name.Exceptions
ArgumentException