List information about all shared drives available to either the current authenticated user or the team, if the user belongs to a team. The list method takes an optional first argument to limit the returned network objects. Only team admins are able to list shared drives.
Name | Type | Attributes | Description |
---|---|---|---|
first |
number | Number of shared drives to list | |
name |
string | optional | Name to match on |
region |
string | optional | Region to match on |
Type object
{
"data": {
"sharedDrives": {
"nodes": [
{
"id": "sdvkpg3v2v",
"name": "Datasets",
"mountPoint": "\\\\10.64.92.2\\sdvkpg3v2v",
"size": 536870912000,
"username": "********",
"password": "********",
"region": {
"name": "East Coast (NY2)"
}
}
]
}
}
}
Creates a new shared drive for the current team. Only team admins are able to create shared drives.
The provided networkId
must match a network in the provided region
that has available IP space.
Name | Type | Attributes | Description |
---|---|---|---|
name |
string | Name of shared drive | |
size |
number | Desired size in GiB | |
region |
string | Region for shared drive | |
networkId |
string | Network for shared drive |
Type object
{
"data": {
"createSharedDrive": {
"sharedDrive": {
"id": "sdlpjdhzsc",
"name": "Models"
}
}
}
}
Deletes a shared drive belonging to the current team. Only team admins are able to delete shared drives.
Name | Type | Attributes | Description |
---|---|---|---|
id |
string | ID of shared drive |
Type object
{
"data": {
"deleteSharedDrive": {
"sharedDrive": {
"id": "sdlpjdhzsc"
}
}
}
}