ListVolumes() 공개 메소드

public ListVolumes ( ) : IEnumerable
리턴 IEnumerable
 public void ListVolumesTest()
 {
     var os = new OpenStackMember(UserName, Password, TenantName, TenantId); // with tenant
     var volumes = os.ListVolumes();
     Assert.IsNotNull(volumes);
 }
 public Volume GetVolumeByName(string name)
 {
     var os = new OpenStackMember(UserName, Password, TenantName, TenantId); // with tenant
     var volumes = os.ListVolumes();
     if (volumes != null)
         return volumes.First<Volume>();
     else
         throw new ArgumentException("no item found");
 }