pool.import_pool

Import a pool found with pool.import_find.

Errors:

ENOENT - Pool not found

Import pool of guid 5571830764813710860:

{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "pool.import_pool",
    "params": [{
        "guid": "5571830764813710860"
    }]
}

This method is a job.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: pool_import

pool_import

Type: object

PoolImportPoolArgs parameters.

No Additional Properties

Guid

Type: string

GUID of the pool to import.

Name

Default: null

If specified, import the pool using this name.

Type: string

Must be at least 1 characters long

Must be at most 50 characters long

Type: null

Result

Type: const

Indicates successful pool import.

Specific value: true


Required roles: POOL_WRITE