Interface AttachedStorageDomainDisksService.AddRequest

    • Method Detail

      • unregistered

        AttachedStorageDomainDisksService.AddRequest unregistered​(Boolean unregistered)
        Indicates if a new disk should be added or if an existing unregistered disk should be registered. If the value is `true` then the identifier of the disk to register needs to be provided. For example, to register the disk with id `456` send a request like this: .... POST /ovirt-engine/api/storagedomains/123/disks?unregistered=true .... With a request body like this: [source,xml] ---- ---- If the value is `false` then a new disk will be created in the storage domain. In that case the `provisioned_size`, `format` and `name` attributes are mandatory. For example, to create a new _copy on write_ disk of 1 GiB, send a request like this: .... POST /ovirt-engine/api/storagedomains/123/disks .... With a request body like this: [source,xml] ---- mydisk cow 1073741824 ---- The default value is `false`.