dataset
Manage datasets
Create
Input parameters
| Parameter | Type | Required | Details | ||||||
|---|---|---|---|---|---|---|---|---|---|
nameName |
String | yes |
Default:
|
||||||
datasetParent dataset |
Resource | no |
Dataset the VPS resides in |
||||||
automountAutomount |
Boolean | no |
Automatically mount newly created datasets under all its parents Default: |
||||||
atimeAccess time |
Boolean | no |
Controls whether the access time for files is updated when they are read Default: |
||||||
compressionCompression |
Boolean | no |
Toggle data compression in this dataset Default: |
||||||
recordsizeRecord size |
Integer | no |
Specifies a suggested block size for files in the file system Default: |
||||||
quotaQuota |
Integer | no |
Limits the amount of space a dataset and all its descendants can consume Default: |
||||||
refquotaReference quota |
Integer | no |
Limits the amount of space a dataset can consume Default: |
||||||
relatimeRelative access time |
Boolean | no |
Access time is only updated if the previous access time was earlier than the current modify or change time or if the existing access time hasn't been updated within the past 24 hours Default: |
||||||
syncSync |
String | no |
Controls the behavior of synchronous requests Default:
|
||||||
sharenfsNFS share |
String | no |
Controls NFS sharing Default: |
Output parameters
| Parameter | Type | Description |
|---|---|---|
idId |
Integer | |
nameName |
String | |
parentParent |
Resource | |
userUser |
Resource | Dataset owner |
environmentEnvironment |
Resource | The environment in which the dataset is |
current_history_idCurrent_history_id |
Integer | |
atimeAccess time |
Boolean | Controls whether the access time for files is updated when they are read |
compressionCompression |
Boolean | Toggle data compression in this dataset |
recordsizeRecord size |
Integer | Specifies a suggested block size for files in the file system |
quotaQuota |
Integer | Limits the amount of space a dataset and all its descendants can consume |
refquotaReference quota |
Integer | Limits the amount of space a dataset can consume |
relatimeRelative access time |
Boolean | Access time is only updated if the previous access time was earlier than the current modify or change time or if the existing access time hasn't been updated within the past 24 hours |
syncSync |
String | Controls the behavior of synchronous requests |
sharenfsNFS share |
String | Controls NFS sharing |
usedUsed space |
Integer | Amount of space used by dataset |
referencedReferenced space |
Integer | Amount of space that is accessible to this dataset |
availAvailable space |
Integer | Amount of space left in dataset |
compressratioUsed compression ratio |
Float | Compression ratio for used space of this dataset |
refcompressratioReferenced compression ratio |
Float | Compression ratio for referenced space of this dataset |
vpsVPS |
Resource | |
exportExport |
Resource | Filter outages affecting a specific export |
dataset_expansionDatasetExpansion |
Resource |
Delete
Find_by_name
Input parameters
| Parameter | Type | Required | Details |
|---|---|---|---|
nameName |
String | no |
Default: |
userUser |
Resource | no |
Dataset owner |
Output parameters
| Parameter | Type | Description |
|---|---|---|
idId |
Integer | |
nameName |
String | |
parentParent |
Resource | |
userUser |
Resource | Dataset owner |
environmentEnvironment |
Resource | The environment in which the dataset is |
current_history_idCurrent_history_id |
Integer | |
atimeAccess time |
Boolean | Controls whether the access time for files is updated when they are read |
compressionCompression |
Boolean | Toggle data compression in this dataset |
recordsizeRecord size |
Integer | Specifies a suggested block size for files in the file system |
quotaQuota |
Integer | Limits the amount of space a dataset and all its descendants can consume |
refquotaReference quota |
Integer | Limits the amount of space a dataset can consume |
relatimeRelative access time |
Boolean | Access time is only updated if the previous access time was earlier than the current modify or change time or if the existing access time hasn't been updated within the past 24 hours |
syncSync |
String | Controls the behavior of synchronous requests |
sharenfsNFS share |
String | Controls NFS sharing |
usedUsed space |
Integer | Amount of space used by dataset |
referencedReferenced space |
Integer | Amount of space that is accessible to this dataset |
availAvailable space |
Integer | Amount of space left in dataset |
compressratioUsed compression ratio |
Float | Compression ratio for used space of this dataset |
refcompressratioReferenced compression ratio |
Float | Compression ratio for referenced space of this dataset |
vpsVPS |
Resource | |
exportExport |
Resource | Filter outages affecting a specific export |
dataset_expansionDatasetExpansion |
Resource |
Index
Input parameters
| Parameter | Type | Required | Details | ||||
|---|---|---|---|---|---|---|---|
from_idFrom ID |
Integer | no |
List objects with IDs greater or lower than this value Default:
|
||||
limitLimit |
Integer | no |
Number of objects to retrieve Default:
|
||||
userUser |
Resource | no |
Dataset owner |
||||
vpsVPS |
Resource | no | |||||
datasetSubtree |
Resource | no |
Dataset the VPS resides in |
||||
primary_poolPrimary pool |
Resource | no |
Show only datasets on this pool |
||||
roleRole |
String | no |
Show only datasets of certain role Default:
|
||||
to_depthTo depth |
Integer | no |
Show only datasets to certain depth Default: |
Output parameters
| Parameter | Type | Description |
|---|---|---|
idId |
Integer | |
nameName |
String | |
parentParent |
Resource | |
userUser |
Resource | Dataset owner |
environmentEnvironment |
Resource | The environment in which the dataset is |
current_history_idCurrent_history_id |
Integer | |
atimeAccess time |
Boolean | Controls whether the access time for files is updated when they are read |
compressionCompression |
Boolean | Toggle data compression in this dataset |
recordsizeRecord size |
Integer | Specifies a suggested block size for files in the file system |
quotaQuota |
Integer | Limits the amount of space a dataset and all its descendants can consume |
refquotaReference quota |
Integer | Limits the amount of space a dataset can consume |
relatimeRelative access time |
Boolean | Access time is only updated if the previous access time was earlier than the current modify or change time or if the existing access time hasn't been updated within the past 24 hours |
syncSync |
String | Controls the behavior of synchronous requests |
sharenfsNFS share |
String | Controls NFS sharing |
usedUsed space |
Integer | Amount of space used by dataset |
referencedReferenced space |
Integer | Amount of space that is accessible to this dataset |
availAvailable space |
Integer | Amount of space left in dataset |
compressratioUsed compression ratio |
Float | Compression ratio for used space of this dataset |
refcompressratioReferenced compression ratio |
Float | Compression ratio for referenced space of this dataset |
vpsVPS |
Resource | |
exportExport |
Resource | Filter outages affecting a specific export |
dataset_expansionDatasetExpansion |
Resource |
Inherit
Input parameters
| Parameter | Type | Required | Details | ||||
|---|---|---|---|---|---|---|---|
propertyProperty |
String | yes |
Name of property to inherit from parent, multiple properties may be separated by a comma Default:
|
Output parameters
No parameters.
Migrate
Input parameters
| Parameter | Type | Required | Details | ||||
|---|---|---|---|---|---|---|---|
poolPool |
Resource | yes |
Storage pool the VPS resides in |
||||
maintenance_window_vpsVPS maintenance window |
Resource | no |
Migrate the dataset within the nearest maintenance window of VPS |
||||
rsyncRsync |
Boolean | no |
Use rsync instead of zfs send/recv Default: |
||||
restart_vpsRestart VPS |
Boolean | no |
Restart VPSes where migrated exports are mounted Default: |
||||
finish_weekdayFinish weekday |
Integer | no |
Prepare the migration and finish it on this day Default:
|
||||
finish_minutesFinish minutes |
Integer | no |
Number of minutes from midnight of start_weekday after which the migration is done Default:
|
||||
optional_maintenance_windowOptional maintenance window |
Boolean | no |
Use maintenance window only if the dataset has any exports Default: |
||||
cleanup_dataCleanup data |
Boolean | no |
Remove dataset from the source pool Default: |
||||
send_mailSend e-mails |
Boolean | no |
Inform the dataset owner about migration progress Default: |
||||
reasonReason |
String | no |
Default: |
Output parameters
No parameters.
Show
Input parameters
No parameters.
Output parameters
| Parameter | Type | Description |
|---|---|---|
idId |
Integer | |
nameName |
String | |
parentParent |
Resource | |
userUser |
Resource | Dataset owner |
environmentEnvironment |
Resource | The environment in which the dataset is |
current_history_idCurrent_history_id |
Integer | |
atimeAccess time |
Boolean | Controls whether the access time for files is updated when they are read |
compressionCompression |
Boolean | Toggle data compression in this dataset |
recordsizeRecord size |
Integer | Specifies a suggested block size for files in the file system |
quotaQuota |
Integer | Limits the amount of space a dataset and all its descendants can consume |
refquotaReference quota |
Integer | Limits the amount of space a dataset can consume |
relatimeRelative access time |
Boolean | Access time is only updated if the previous access time was earlier than the current modify or change time or if the existing access time hasn't been updated within the past 24 hours |
syncSync |
String | Controls the behavior of synchronous requests |
sharenfsNFS share |
String | Controls NFS sharing |
usedUsed space |
Integer | Amount of space used by dataset |
referencedReferenced space |
Integer | Amount of space that is accessible to this dataset |
availAvailable space |
Integer | Amount of space left in dataset |
compressratioUsed compression ratio |
Float | Compression ratio for used space of this dataset |
refcompressratioReferenced compression ratio |
Float | Compression ratio for referenced space of this dataset |
vpsVPS |
Resource | |
exportExport |
Resource | Filter outages affecting a specific export |
dataset_expansionDatasetExpansion |
Resource |
Update
Input parameters
| Parameter | Type | Required | Details | ||||
|---|---|---|---|---|---|---|---|
atimeAccess time |
Boolean | no |
Controls whether the access time for files is updated when they are read Default: |
||||
compressionCompression |
Boolean | no |
Toggle data compression in this dataset Default: |
||||
recordsizeRecord size |
Integer | no |
Specifies a suggested block size for files in the file system Default: |
||||
quotaQuota |
Integer | no |
Limits the amount of space a dataset and all its descendants can consume Default: |
||||
refquotaReference quota |
Integer | no |
Limits the amount of space a dataset can consume Default: |
||||
relatimeRelative access time |
Boolean | no |
Access time is only updated if the previous access time was earlier than the current modify or change time or if the existing access time hasn't been updated within the past 24 hours Default: |
||||
syncSync |
String | no |
Controls the behavior of synchronous requests Default:
|
||||
sharenfsNFS share |
String | no |
Controls NFS sharing Default: |
||||
admin_overrideAdmin override |
Boolean | no |
Make it possible to assign more resource than the user actually has Default: |
||||
admin_lock_typeAdmin lock type |
String | no |
How is the admin lock enforced Default:
|
Output parameters
No parameters.