Slide 50
Slide 50 text
var app = new CosmosApp("functions", new CosmosAppArgs
{
ResourceGroup = resourceGroup,
Locations = ["WestUS", "EastUS", "WestEurope"],
Factory = global => region =>
{
var func = new ArchiveFunctionApp("app", new ArchiveFunctionAppArgs
{
ResourceGroupName = resourceGroup.Name,
Location = region.Location,
Archive = new FileArchive("./app/bin/Debug/netcoreapp2.2/publish"),
AppSettings = { { "CosmosDBConnection", global.ConnectionString } }
});
return new AzureEndpoint(func.AppId);
}
});
Global Applications