コード例 #1
0
 public static DiskManagementDto hardDiskPut() {
   DiskManagementDto disk = hardDiskPost();
   disk.addLink(new RESTLink("edit", "http://localhost/api/cloud/virtualdatacenters/1/disks/1"));
   disk.addLink(
       new RESTLink("virtualdatacenter", "http://localhost/api/cloud/virtualdatacenters/1"));
   return disk;
 }
コード例 #2
0
 public static DiskManagementDto hardDiskPost() {
   DiskManagementDto disk = new DiskManagementDto();
   disk.setSizeInMb(1024L);
   return disk;
 }