You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
799 B
38 lines
799 B
<?php
|
|
|
|
/**
|
|
* DO vm_min_size_id/vm_max_size_id sizes
|
|
*
|
|
* ID Name
|
|
* 66 512MB
|
|
* 63 1GB
|
|
* 62 2GB
|
|
* 64 4GB
|
|
* 65 8GB
|
|
* 61 16GB
|
|
* 60 32GB
|
|
* 70 48GB
|
|
* 70 48GB
|
|
* 69 64GB
|
|
* 68 96GB
|
|
*/
|
|
|
|
return array(
|
|
'enabled' => true,
|
|
'vms' => array(
|
|
array(
|
|
'enabled' => true,
|
|
'name' => 'DigitalOcean',
|
|
'vm_client_id' => 'client_id',
|
|
'api_key' => '123456',
|
|
'vm_id' => '123456', // The VM ID we want to access
|
|
'vm_min_size_id' => '66', // VM size ID example for 512mb use 66
|
|
'vm_max_size_id' => '65' // For 1GB use 63
|
|
),
|
|
// The Amazon hook is not implemented yet
|
|
array(
|
|
'enabled' => false,
|
|
'name' => 'Amazon'
|
|
)
|
|
)
|
|
);
|
|
|