public async Task CloudBlobClientGetAccountProperties() { CloudBlobClient client = GenerateCloudBlobClient(); Shared.Protocol.AccountProperties result = await client.GetAccountPropertiesAsync(); Assert.IsNotNull(result); Assert.IsNotNull(result.SkuName); Assert.IsNotNull(result.AccountKind); }
public async Task CloudBlobContainerGetAccountProperties() { CloudBlobContainer blobContainerWithSAS = GenerateRandomWriteOnlyBlobContainer(); try { await blobContainerWithSAS.CreateAsync(); Shared.Protocol.AccountProperties result = await blobContainerWithSAS.GetAccountPropertiesAsync(); Assert.IsNotNull(result); Assert.IsNotNull(result.SkuName); Assert.IsNotNull(result.AccountKind); } finally { blobContainerWithSAS.DeleteIfExistsAsync().Wait(); } }