Used to create a hosted service within a given subscription
Inheritance: Elastacloud.AzureManagement.Fluent.Commands.Services.ServiceCommand
        /// <summary>
        /// Creates a new storage account given a name and location
        /// </summary>
        public void CreateNewStorageAccount(string name, string location = LocationConstants.NorthEurope
            , StorageManagementOptions options = null)
        {
            if (options == null)
                options = StorageManagementOptions.GetDefaultOptions;

            // issue the create storage account command
            var create = new CreateStorageAccountCommand(name, "Created with Fluent Management", options, location)
                {
                    SubscriptionId = SubscriptionId,
                    Certificate = ManagementCertificate
                };
            create.Execute();
            var status = StorageStatus.Creating;
            while (status != StorageStatus.Created)
            {
                var command = new GetStorageAccountStatusCommand(name)
                {
                    SubscriptionId = SubscriptionId,
                    Certificate = ManagementCertificate
                };
                command.Execute();
                status = command.Status;
            }
        }
 public StorageStatus GetStorageStatus(string name)
 {
     var storageAccounts = new GetStorageAccountStatusCommand(name)
     {
         SubscriptionId = SubscriptionId,
         Certificate = ManagementCertificate
     };
     storageAccounts.Execute();
     return storageAccounts.Status;
 }