Constants.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. namespace SqlPackageWrapper
  2. {
  3. /// <summary>
  4. /// Constants for the batch wrapper.
  5. /// </summary>
  6. public static class Constants
  7. {
  8. /// <summary>
  9. /// Environment variable names present or needed during the batch task execution.
  10. /// </summary>
  11. public static class EnvironmentVariableNames
  12. {
  13. /// <summary>
  14. /// Path to the directory containing the batch wrapper exe.
  15. /// </summary>
  16. public const string WrapperLocation = "AZ_BATCH_APP_PACKAGE_BATCHWRAPPER";
  17. /// <summary>
  18. /// Path to the directory containing the sqlpackage exe.
  19. /// </summary>
  20. internal const string SqlPackageLocation = "AZ_BATCH_APP_PACKAGE_SQLPACKAGE";
  21. /// <summary>
  22. /// Path to the working directory assigned to the batch task.
  23. /// </summary>
  24. internal const string TaskWorkingDir = "AZ_BATCH_TASK_WORKING_DIR";
  25. /// <summary>
  26. /// Path to the working directory assigned to the batch task.
  27. /// </summary>
  28. internal const string AzBatchTaskId = "AZ_BATCH_TASK_ID";
  29. /// <summary>
  30. /// Path to the working directory assigned to the batch task.
  31. /// </summary>
  32. internal const string JobContainerUrl = "JOB_CONTAINER_URL";
  33. }
  34. }
  35. }