參數名字 | 描述 |
---|---|
compute_resource_id 選填 |
Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space. |
search 選填 |
篩選結果 Value: Must be String |
order 選填 |
排序結果 Value: Must be String |
page 選填 |
編頁結果 Value: Must be String |
per_page 選填 |
每個請求的項目數量 Value: Must be String |
參數名字 | 描述 |
---|---|
id 必填 |
Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space. |
compute_resource_id 選填 |
Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space. |
參數名字 | 描述 |
---|---|
container 必填 |
Value: Must be a Hash |
container[name] 選填 , 允許空值 |
Value: Must be String |
container[compute_resource_id] 必填 |
Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space. |
container[registry_id] 選填 , 允許空值 |
Registry this container will have to use to get the image Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space. |
container[repository_name] 必填 |
Name of the repository to use to create the container. e.g: centos Value: Must be String |
container[tag] 必填 |
Tag to use to create the container. e.g: latest Value: Must be String |
container[tty] 選填 , 允許空值 |
Value: Must be ‘true’ or ‘false’ |
container[entrypoint] 選填 , 允許空值 |
Value: Must be String |
container[command] 必填 |
Value: Must be String |
container[memory] 選填 , 允許空值 |
Value: Must be String |
container[cpu_shares] 選填 , 允許空值 |
Value: Must be a number. |
container[cpu_set] 選填 , 允許空值 |
Value: Must be String |
container[environment_variables] 選填 , 允許空值 |
Value: Must be Hash |
container[attach_stdout] 選填 , 允許空值 |
Value: Must be ‘true’ or ‘false’ |
container[attach_stdin] 選填 , 允許空值 |
Value: Must be ‘true’ or ‘false’ |
container[attach_stderr] 選填 , 允許空值 |
Value: Must be ‘true’ or ‘false’ |
container[capsule_id] 選填 , 允許空值 |
The capsule this container will have to use to get the image. Relevant for images retrieved from katello registry. Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space. |
參數名字 | 描述 |
---|---|
id 必填 |
Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space. |
compute_resource_id 選填 |
Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space. |
參數名字 | 描述 |
---|---|
id 必填 |
Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space. |
compute_resource_id 選填 |
Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space. |
stdout 選填 |
Value: Must be ‘true’ or ‘false’ |
stderr 選填 |
Value: Must be ‘true’ or ‘false’ |
tail 選填 |
欲以 tail 顯示的行數。預設值:100 Value: Must be Fixnum |
參數名字 | 描述 |
---|---|
id 必填 |
Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space. |
compute_resource_id 選填 |
Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space. |
power_action 必填 |
電源動作,有效的動作為(start)、(stop)、(status) Value: Must be String |