I need some Guidance

RESTful knowledge exchange

I need some Guidance

Veeam Logoby sumwu » Tue Jun 03, 2014 2:39 am

Hi;

I'm creating a portal for customer using. but I can't find the following information. Can someone give me a help?
1. I can use the "lookupsvc" to get VM infomration. The information will give me a "id" if the VM. But I do not know how to bind with this id? have any suggestions?
2. Can I change the "VM" after I use the "Clone job" to create a new job?
3. any api for "Delete job"?
4. any api for " last 24 hours" job history/information?

Thanks for help.
sumwu
Veeam Software
 
Posts: 59
Liked: never
Joined: Tue Apr 02, 2013 7:55 am
Full Name: Sum Wu

Re: I need some Guidance

Veeam Logoby v.Eremin » Fri Jun 06, 2014 10:17 am

1. Lookup service gives you unique VM identifier. What do you need to bind this identifier to?
2. You mean you want to change job source options?
3. Currently, neither EM nor RestAPI allows you to delete jobs.
4. Have you already tried to query backup sessions?

Thanks.
v.Eremin
Veeam Software
 
Posts: 13296
Liked: 974 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: I need some Guidance

Veeam Logoby sumwu » Fri Jun 06, 2014 11:51 pm

for question 2. Yes. How can I do?
sumwu
Veeam Software
 
Posts: 59
Liked: never
Joined: Tue Apr 02, 2013 7:55 am
Full Name: Sum Wu

Re: I need some Guidance

Veeam Logoby v.Eremin » Wed Jun 11, 2014 8:46 am

You can change those options, using the following requests - (POST) /jobs/{ID}/includes, (DELETE) /jobs/{ID}/includes/{ID}. Thanks.
v.Eremin
Veeam Software
 
Posts: 13296
Liked: 974 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: I need some Guidance

Veeam Logoby sumwu » Mon Jun 23, 2014 1:00 am

Thanks how about if I want to get the information for "VM size, Load, …., etc..... Do Veeam have Api for it?
sumwu
Veeam Software
 
Posts: 59
Liked: never
Joined: Tue Apr 02, 2013 7:55 am
Full Name: Sum Wu

Re: I need some Guidance

Veeam Logoby v.Eremin » Mon Jun 23, 2014 9:06 am

You can query /backupTaskSessions/, or more specifically, TotalSize parameter (regardless of what is written in documentation, it contains information regarding size of processed VM). Thanks.
v.Eremin
Veeam Software
 
Posts: 13296
Liked: 974 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

[MERGED] : How to get vms total size of a job

Veeam Logoby jerny_huang » Tue Sep 23, 2014 8:32 am

I want to get the all vms size of a job. How can I do it?
jerny_huang
Novice
 
Posts: 8
Liked: never
Joined: Wed Aug 06, 2014 8:11 am
Full Name: Jerny Huang

Re: I need some Guidance

Veeam Logoby v.Eremin » Tue Sep 23, 2014 8:50 am

Check TotalSize parameter of /BackupTaskSessions entity and see whether it's something you're after. Thanks.
v.Eremin
Veeam Software
 
Posts: 13296
Liked: 974 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: I need some Guidance

Veeam Logoby jerny_huang » Thu Sep 25, 2014 7:29 am

I want to calculate the size of the original vms in a backup job, not the size of backup files. Which API should I call?
jerny_huang
Novice
 
Posts: 8
Liked: never
Joined: Wed Aug 06, 2014 8:11 am
Full Name: Jerny Huang

Re: I need some Guidance

Veeam Logoby v.Eremin » Thu Sep 25, 2014 7:41 am

Did you check the parameter I was talking about? It provides the exact information you're looking for. Thanks.
v.Eremin
Veeam Software
 
Posts: 13296
Liked: 974 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to RESTful API



Who is online

Users browsing this forum: No registered users and 2 guests