public void HDInsightStorageContainerToStringIsAccountName() { string accountName = "storageaccountname.blob.core.windows.net"; var storageAccount = new AzureHDInsightStorageAccount { StorageAccountKey = Guid.NewGuid().ToString(), StorageAccountName = accountName }; Assert.AreEqual(accountName, storageAccount.ToString()); }
public Task EndProcessing() { var account = new AzureHDInsightStorageAccount(); account.StorageAccountName = this.StorageAccountName; account.StorageAccountKey = this.StorageAccountKey; this.Config.AdditionalStorageAccounts.Add(account); this.Output.Add(this.Config); return TaskEx.FromResult(0); }