Esempio n. 1
0
 static Task <int> Main()
 {
     return(Deployment.RunAsync(() =>
     {
         var functions = Functions.Run();
         var vmss = VmScaleSets.Run();
         return new Dictionary <string, object?>
         {
             { "functionsEndpoint", functions["functionsEndpoint"] },
             { "vmssEndpoint", vmss["vmssEndpoint"] },
         };
     }));
 }
Esempio n. 2
0
 public DemoStack()
 {
     this.FunctionsEndpoint  = Functions.Run();
     this.ContainersEndpoint = Containers.Run();
     this.VmssEndpoint       = VmScaleSets.Run();
 }