20 lines
707 B
C#
20 lines
707 B
C#
using System;
|
|
|
|
namespace Strata.Stratasphere.Biz.Configuration
|
|
{
|
|
public class SnowflakeEnvironmentOptions : SnowflakeLib.Configuration.SnowflakeOptions
|
|
{
|
|
public string StandardsWarehouse { get; set; }
|
|
public string StandardsWarehouseSize { get; set; }
|
|
public string StandardsWarehouseMaxClusterSize { get; set; }
|
|
public string Warehouse { get; set; }
|
|
|
|
public string RoleName { get; set; }
|
|
public string AdminRoleName { get; set; }
|
|
public string SphCoreRoleName { get; set; }
|
|
|
|
public string GetClientDatabaseName(string environmentName, Guid clientDbGuid) => $"{environmentName.Substring(0, 1)}_{clientDbGuid:N}".ToUpper();
|
|
|
|
}
|
|
}
|