Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Premieres fonctions pour /dedicated/server/ #6

Merged
merged 21 commits into from
Jul 24, 2013
Merged

Conversation

flosoft
Copy link
Contributor

@flosoft flosoft commented Jul 23, 2013

Salut,

je vient d'ajouter quelques fonctions du API /dedicated/server.

// Get your Dedicated Servers
$dedicatedServerList=$ovh->getDedicatedServerList();
foreach($dedicatedServerList as $dedicatedServerDomain)
print "$dedicatedServerDomain\n";

// Init a Dedicated Server instance
$dedicatedServer=$ovh->getDedicatedServer($dedicatedServerDomain);

// Get Dedicated Server properties
$r=$dedicatedServer->getProperties();

// Get Dedicated Server Service Infos
$r=$dedicatedServer->getServiceInfos();

// Get current task
$task=$dedicatedServer->getTasks();

// Get properties of a task
$properties = $dedicatedServer->getTaskProperties($taskId);

@ghost ghost assigned toorop Jul 24, 2013
@toorop
Copy link
Owner

toorop commented Jul 24, 2013

Je regarde asap

@toorop toorop merged commit 4ca405b into toorop:master Jul 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants