public Task<Application[]> GetApplicationNames(string subscriptionId)
        {
            Application[] applications = new Application[20]
            {
                new Application() { Name = "App1", SiteName = "App1", Platform = RuntimePlatform.Node, Region = "West US" }, 
                new Application() { Name = "App2", SiteName = "App2", Platform = RuntimePlatform.Node, Region = "West US" },
                new Application() { Name = "App3", SiteName = "App3", Platform = RuntimePlatform.Node, Region = "West US" },
                new Application() { Name = "App4", SiteName = "App4", Platform = RuntimePlatform.Node, Region = "West US" },
                new Application() { Name = "App5", SiteName = "App5", Platform = RuntimePlatform.Node, Region = "West US" },
                new Application() { Name = "App6", SiteName = "App6", Platform = RuntimePlatform.Node, Region = "West US" },
                new Application() { Name = "App7", SiteName = "App7", Platform = RuntimePlatform.Node, Region = "West US" },
                new Application() { Name = "App8", SiteName = "App8", Platform = RuntimePlatform.Node, Region = "West US" },
                new Application() { Name = "App9", SiteName = "App9", Platform = RuntimePlatform.Node, Region = "West US" },
                new Application() { Name = "App10", SiteName = "App10", Platform = RuntimePlatform.Node, Region = "West US" },
                new Application() { Name = "App11", SiteName = "App11", Platform = RuntimePlatform.Node, Region = "West US" },
                new Application() { Name = "App12", SiteName = "App12", Platform = RuntimePlatform.Node, Region = "West US" },
                new Application() { Name = "App13", SiteName = "App13", Platform = RuntimePlatform.Node, Region = "West US" },
                new Application() { Name = "App14", SiteName = "App14", Platform = RuntimePlatform.Node, Region = "West US" },
                new Application() { Name = "App15", SiteName = "App15", Platform = RuntimePlatform.Node, Region = "West US" },
                new Application() { Name = "App16", SiteName = "App16", Platform = RuntimePlatform.Node, Region = "West US" },
                new Application() { Name = "App17", SiteName = "App17", Platform = RuntimePlatform.Node, Region = "West US" },
                new Application() { Name = "App18", SiteName = "App18", Platform = RuntimePlatform.Node, Region = "West US" },
                new Application() { Name = "App19", SiteName = "App19", Platform = RuntimePlatform.Node, Region = "West US" },
                new Application() { Name = "App20", SiteName = "App20", Platform = RuntimePlatform.Node, Region = "West US" },
            };

            return Task.FromResult(applications);
        }
Example #2
0
        public Task<bool> MigrateServerFarmConfig(string id, string subscriptionId, Application application)
        {
            Console.WriteLine(string.Format(
                "Migrate ServerFarm Called for SubId: '{0}' with Id: '{1}'.  App Name: '{2}'", subscriptionId, id, application.Name));

            return Task.FromResult(true);
        }
Example #3
0
        public Task<bool> UpdateWebSiteHostName(string subscriptionId, Application application)
        {
            Console.WriteLine(string.Format(
                "Update Website Hostname Called for SubId: '{0}'.  App Name: '{1}'", subscriptionId, application.Name));

            return Task.FromResult(true);
        }
Example #4
0
        public Task<bool> ImportSite(string id, string subscriptionId, Application application)
        {
            Console.WriteLine(string.Format(
                "Import Site Called for SubId: '{0}' with Id: '{1}'.  App Name: '{2}'", subscriptionId, id, application.Name));

            return Task.FromResult(true);
        }