參數名字 | 描述 |
---|---|
location_id 選填 |
位置範圍 Validations:
|
organization_id 選填 |
組織範圍 Validations:
|
search 選填 |
篩選結果 Validations:
|
order 選填 |
Sort field and order, eg. ‘id DESC’ Validations:
|
page 選填 |
編頁結果 Validations:
|
per_page 選填 |
每個請求的項目數量 Validations:
|
Code | Description |
---|---|
404 | Lock could not be found. |
參數名字 | 描述 |
---|---|
location_id 選填 |
位置範圍 Validations:
|
organization_id 選填 |
組織範圍 Validations:
|
id 必填 |
Id or name of the DLM lock Validations:
|
參數名字 | 描述 |
---|---|
location_id 選填 |
位置範圍 Validations:
|
organization_id 選填 |
組織範圍 Validations:
|
dlmlock 必填 |
Validations:
|
dlmlock[name] 必填 |
名稱 Validations:
|
dlmlock[type] 必填 |
Type, e.g. ForemanDlm::Dlmlock:Update Validations:
|
dlmlock[enabled] 選填 , 允許空值 |
Enable the lock Validations:
|
參數名字 | 描述 |
---|---|
location_id 選填 |
位置範圍 Validations:
|
organization_id 選填 |
組織範圍 Validations:
|
id 必填 |
Id or name of the DLM lock Validations:
|
dlmlock 必填 |
Validations:
|
dlmlock[name] 選填 |
名稱 Validations:
|
dlmlock[type] 選填 |
Type, e.g. ForemanDlm::Dlmlock:Update Validations:
|
dlmlock[enabled] 選填 , 允許空值 |
Enable the lock Validations:
|
參數名字 | 描述 |
---|---|
location_id 選填 |
位置範圍 Validations:
|
organization_id 選填 |
組織範圍 Validations:
|
id 必填 |
Id or name of the DLM lock Validations:
|
This action acquires a lock. It fails, if the lock is currently taken by another host.
The host is authenticated via a client certificate and identified via the CN of that certificate.
Code | Description |
---|---|
200 | Lock acquired successfully. |
412 | Lock could not be acquired. |
參數名字 | 描述 |
---|---|
location_id 選填 |
位置範圍 Validations:
|
organization_id 選填 |
組織範圍 Validations:
|
id 必填 |
Id or name of the DLM lock Validations:
|
This action releases a lock. It fails, if the lock is currently taken by another host.
The host is authenticated via a client certificate and identified via the CN of that certificate.
Code | Description |
---|---|
200 | Lock released successfully. |
412 | Lock could not be released. |
參數名字 | 描述 |
---|---|
location_id 選填 |
位置範圍 Validations:
|
organization_id 選填 |
組織範圍 Validations:
|
id 必填 |
Id or name of the DLM lock Validations:
|