Zone.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?php
  2. namespace Qiniu;
  3. use Qiniu\Region;
  4. class Zone extends Region
  5. {
  6. public static function zonez0()
  7. {
  8. return parent::regionHuadong();
  9. }
  10. public static function zonez1()
  11. {
  12. return parent::regionHuabei();
  13. }
  14. public static function zonez2()
  15. {
  16. return parent::regionHuanan();
  17. }
  18. public static function zoneCnEast2()
  19. {
  20. return parent::regionHuadong2();
  21. }
  22. public static function zoneAs0()
  23. {
  24. return parent::regionSingapore();
  25. }
  26. public static function zoneNa0()
  27. {
  28. return parent::regionNorthAmerica();
  29. }
  30. public static function qvmZonez0()
  31. {
  32. return parent::qvmRegionHuadong();
  33. }
  34. public static function qvmZonez1()
  35. {
  36. return parent::qvmRegionHuabei();
  37. }
  38. public static function queryZone(
  39. $ak,
  40. $bucket,
  41. $ucHost = null,
  42. $backupUcHosts = array(),
  43. $retryTimes = 2,
  44. $reqOpt = null
  45. ) {
  46. return parent::queryRegion($ak, $bucket, $ucHost, $backupUcHosts, $retryTimes, $reqOpt);
  47. }
  48. }