参数名字 | 描述 |
---|---|
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:
|