#region License Information /* HeuristicLab * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) * * This file is part of HeuristicLab. * * HeuristicLab is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * HeuristicLab is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with HeuristicLab. If not, see . */ #endregion using System.Collections.Generic; using System.IO; using HeuristicLab.Clients.Hive.CloudManager.Model; namespace HeuristicLab.Clients.Hive.CloudManager.Azure { public interface IAzureProvider { Subscription GetSubscriptionInfo(string subscriptionId, string thumbprint); HostedService GetHostedService(Subscription subscription, string serviceName); StorageServiceKeys GetStorageKeys(Subscription subscription, string serviceName); List ListLocations(Subscription subscription); List ListHostedServices(Subscription subscription); List ListAffinityGroups(Subscription subscription); List ListStorageServices(Subscription subscription); string CreateHostedService(Subscription subscription, string serviceName, string label, string description, AffinityGroup affinityGroup); string CreateHostedService(Subscription subscription, string serviceName, string label, string description, string location); string AddCertificate(Subscription subscription, HostedService service, string certficateFilePath, string certificatePassword); string CreateDeployment(Subscription subscription, string serviceName, string deploymentName, string deploymentSlot, string packageUrl, string configurationUrl, string label); string CreateDeployment(Subscription subscription, string serviceName, string deploymentName, string deploymentSlot, string packageUrl, string configurationUrl, string label, int instanceCount); string CreateDeployment(Subscription subscription, string serviceName, string deploymentName, string deploymentSlot, string packageUrl, FileInfo configuration, string label, int instanceCount); string DeleteHostedService(Subscription subscription, string serviceName); string DeleteDeployment(Subscription subscription, string serviceName, string deploymentName); Constants.OperationResult PollGetOperationStatus(Subscription subscription, string requestId, int pollIntervallSeconds, int timeoutSeconds); List DiscoverSlaveService(Subscription subscription); string ChangeInstanceCount(Subscription subscription, string serviceName, string deploymentSlot, string roleName, int instanceCount); } }