2016-08-08 2 views
0

(500)보다 큰 오류가 생성 하드 드라이브가 2 개이고 나는, 저장 판의 1 TB와 하드웨어 서버를 만들 필요가 SoftLayer_Hardware_Server : GB

이 코드를 호출

:

$client = \SoftLayer\SoapClient::getClient('SoftLayer_Hardware_Server', null, $apiUsername, $apiKey); 
$call = $client->getCreateObjectOptions(); 

내가 500 GB의 용량을 가진 하나의 옵션을 참조를 아래 : hardDrives.

(
[itemPrice] => stdClass Object 
(
[hourlyRecurringFee] => 0 
[recurringFee] => 0 
[item] => stdClass Object 
(
[description] => 500 GB SATA 
)  
) 

[template] => stdClass Object 
(
[hardDrives] => Array 
(
[0] => stdClass Object 
(
[hardwareComponentModelId] => 
[hardwareId] => 
[id] => 
[modifyDate] => 
[serviceProviderId] => 
[capacity] => 500 
)  
)  
)  
) 

어떻게 1TB로 하드 디스크를 만들 수 있습니까?

답변

0

SoftLayer_Hardware_Server :: createObject 메서드를 사용하면 SoftLayer_Hardware_Server :: getCreateObjectOptions 메서드로 표시되는 구성 만 사용할 수 있습니다.

유일한 방법은 컨트롤 포털이 주문하는 데 사용하는 방법 인 SoftLayer_Product_Order :: placeOrder 메서드를 사용하는 것이지만 단점은 주문을 작성하기가 쉽지 않다는 것입니다. 이 내용에 대한 자세한 정보는 article

다른 방법으로는 500GB로 주문하고 배치되면 1TB로 업그레이드합니다.

감사합니다.