-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConstants.cs
More file actions
62 lines (45 loc) · 2.96 KB
/
Constants.cs
File metadata and controls
62 lines (45 loc) · 2.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AzFappDebugger
{
public class Constants
{
public const string APPSERVICE_DNS_SERVER_VARIABLE = "WEBSITE_DNS_SERVER";
public const string APPSERVICE_DNS_ALT_SERVER_VARIABLE = "WEBSITE_DNS_ALT_SERVER";
public const string APPSERVICE_VNET_ROUTEALL_VARIABLE = "WEBSITE_VNET_ROUTE_ALL";
public const string APPSERVICE_WEBSITE_PRIVATE_IP_VARIABLE = "WEBSITE_PRIVATE_IP";
public const string APPSERVICE_WEBSITE_VNETNAME_VARIABLE = "WEBSITE_VNETNAME";
public const string APPSERVICE_WEBSITE_HOSTNAME_VARIABLE = "WEBSITE_HOSTNAME";
public const string APPSERVICE_WEBSITE_SITE_NAME_VARIABLE = "WEBSITE_SITE_NAME";
public const string APPSERVICE_WEBSITE_OS_VARIABLE = "WEBSITE_OS";
public const string APPSERVICE_WEBSITE_RESOURCE_GROUP_VARIABLE = "WEBSITE_RESOURCE_GROUP";
public const string APPSERVICE_WEBSITE_SKU_VARIABLE = "WEBSITE_SKU";
public const string APPSERVICE_WEBSITE_TIME_ZONE_VARIABLE = "WEBSITE_TIME_ZONE";
public const string APPSERVICE_WEBSITE_RUN_FROM_PACKAGE_VARIABLE = "WEBSITE_RUN_FROM_PACKAGE";
public const string APPSERVICE_WEBSITE_CONTENTAZUREFILECONNECTIONSTRING_VARIABLE = "WEBSITE_CONTENTAZUREFILECONNECTIONSTRING";
public const string APPSERVICE_WEBSITE_CONTENTSHARE_VARIABLE = "WEBSITE_CONTENTSHARE";
public const string APPSERVICE_WEBSITE_CONTENTOVERVNET = "WEBSITE_CONTENTOVERVNET";
public const string APPSERVICE_REGION_NAME_VARIABLE = "REGION_NAME";
public const string APPSERVICE_FUNCTIONS_SECRETS_STORAGE_TYPE_VARIABLE = "AzureWebJobsSecretStorageType";
public const string APPSERVICE_FUNCTIONS_WORKER_RUNTIME_VARIABLE = "FUNCTIONS_WORKER_RUNTIME";
public const string APPSERVICE_DNS_SERVER_RESERVED_PRIVATE_DNS = "168.63.129.16";
public const string TEST_DNS_RESOLVE_DOMAIN_VARIABLE = "TEST_DNS_RESOLVE_DOMAIN";
public const string TEST_HTTPCLIENT_RESOLVE_URL_VARIABLE = "TEST_HTTPCLIENT_GET_URL";
public const string TEST_WEBSITE_CONTENTAZUREFILECONNECTIONSTRING_VARIABLE = "TEST_CCONNECTIONSTRING";
public const string TEST_WEBSITE_CONTENTSHARE_VARIABLE = "TEST_CSHARE";
public const string MY_IP_ADDRESS_EXTERNAL_SERVICE_URL = "https://api.ipify.org/";
public const string FUNCTIONS_FUNCTION_FILENAME = "function.json";
public const string FUNCTIONS_CONTENT_FUNCTION_DIR = "site/wwwroot";
public static string NAMERESOLVER_TOOL_EXECUTABLE = "nameresolver.exe";
public static string GetEnvironmentVariableIfSet(IDictionary<string, string> environmentVariablesDictionary, string variableName) {
if (environmentVariablesDictionary.ContainsKey(variableName))
{
return environmentVariablesDictionary[variableName];
}
return string.Empty;
}
}
}