Maintain control of your Microsoft 365 data
Cragdoo
Veeam Software
Posts: 631 Liked: 251 times
Joined: Sep 27, 2011 12:17 pm
Full Name: Craig Dalrymple
Location: Scotland
Contact:
Post
by Cragdoo » Jan 30, 2019 12:07 pm
this post
The results from a GET /v2/BackupRepositories are as follows
Code: Select all
{
"id": "38db9700-19e7-452a-9a36-23a6d2008c5c",
"name": "CD-LAB-O365",
"description": "Created by CRAGDOO\\cragadmin at 10:48",
"path": "D:\\Backup\\O365",
"capacity": 268299137024,
"freeSpace": 267269685248,
"retentionPeriodType": "Yearly",
"yearlyRetentionPeriod": "Years3",
"retentionFrequencyType": "Daily",
"dailyTime": "00:00:00",
"dailyType": "Everyday",
"proxyId": "fee6214d-2ec6-4ebf-93c1-d5be06c17548",
"_links": {
"self": {
"href": "https://10.1.0.49:4443/v2/backuprepositories/38db9700-19e7-452a-9a36-23a6d2008c5c"
},
"proxy": {
"href": "https://10.1.0.49:4443/v2/proxies/fee6214d-2ec6-4ebf-93c1-d5be06c17548"
}
}
}
can you add values to the "capacity" and "freeSpace" values
like
Code: Select all
"path": "D:\\Backup\\O365",
"capacityMB": 268299137024,
"freeSpaceMB": 267269685248,
makes it easier to know the unit of the returned value.
Thanks in advance
Polina
Veeam Software
Posts: 3465 Liked: 830 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:
Post
by Polina » Jan 30, 2019 2:05 pm
this post
Hi Craig,
By default, all the capacity/sizing values are provided in bytes. This way they can easily be converted to any required unit of data you need to get.
Thanks!
Mike Resseler
Product Manager
Posts: 8221 Liked: 1333 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:
Post
by Mike Resseler » Jan 30, 2019 5:15 pm
this post
Craig,
I'm agreeing with Polina on this one. By default all of our units are in bytes and are considered a standard when working with this. Also, changing this now would break quite a lot of integration from partners and customers
Cragdoo
Veeam Software
Posts: 631 Liked: 251 times
Joined: Sep 27, 2011 12:17 pm
Full Name: Craig Dalrymple
Location: Scotland
Contact:
Post
by Cragdoo » Jan 31, 2019 12:36 pm
this post
understood, but my point is how would people know all the units are in bytes by default? People can make an assumption, but at least I would have thought the documentation should make reference to this, as it stands it doesn't.
https://helpcenter.veeam.com/docs/vbo36 ... tml?ver=20
Polina
Veeam Software
Posts: 3465 Liked: 830 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:
Post
by Polina » Jan 31, 2019 1:07 pm
1 person likes this post
Good suggestion, Craig!
The guide will be updated with this info.
Thanks!
Users browsing this forum: No registered users and 64 guests