in e2etest/GuestProxyAgentTest/Settings/TestSetting.cs [56:82]
public static void Init(TestConfig testConfig, string zipFilePath, string testResultFolder)
{
var scriptsFolder = Constants.IS_WINDOWS() ? "Scripts" : "LinuxScripts";
if (_instance != null)
{
return;
}
_instance = new TestSetting()
{
tenantId = testConfig.TenantId,
appClientId = testConfig.AppClientId,
location = new AzureLocation(testConfig.Location),
subscriptionId = testConfig.SubscriptionId,
vmSize = testConfig.VmSize,
scriptsFolder = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)!, scriptsFolder),
resourcesFolder = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)!, "Resources"),
sharedStorageAccountUrl = testConfig.SharedStorageAccountUrl,
windowsInVmWireServerAccessControlProfileReferenceId = testConfig.WindowsInVmWireServerAccessControlProfileReferenceId,
windowsInVmIMDSAccessControlProfileReferenceId = testConfig.WindowsInVmIMDSAccessControlProfileReferenceId,
linuxInVmWireServerAccessControlProfileReferenceId = testConfig.LinuxInVmWireServerAccessControlProfileReferenceId,
linuxInVmIMDSAccessControlProfileReferenceId = testConfig.LinuxInVmIMDSAccessControlProfileReferenceId,
zipFilePath = zipFilePath,
testResultFolder = testResultFolder,
};
}