Describes the commands for heat, which is the command-line interface for the OpenStack Heat API. For help on a specific heat command, enter: OpenStack Head API的命令行接口指令描述。输入下面的命令,可以查看详细的Head命令帮助: heat help COMMAND Example 19. Usage 例19:使用说明 heat [-d] [-v] [-k] [--cert-file CERT_FILE] [--key-file KEY_FILE]
[--ca-file CA_FILE] [--timeout TIMEOUT]
[--os-username OS_USERNAME] [--os-password OS_PASSWORD]
[--os-tenant-id OS_TENANT_ID] [--os-tenant-name OS_TENANT_NAME]
[--os-auth-url OS_AUTH_URL] [--os-region-name OS_REGION_NAME]
[--os-auth-token OS_AUTH_TOKEN] [--os-no-client-auth]
[--heat-url HEAT_URL] [--heat-api-version HEAT_API_VERSION]
[--os-service-type OS_SERVICE_TYPE]
[--os-endpoint-type OS_ENDPOINT_TYPE] [-t]
<subcommand> ...
Example 20. Positional arguments 例20:位置参数 <subcommand>
create DEPRECATED! Use stack-create instead (弃用了。请使用stack-create代替)
delete DEPRECATED! Use stack-delete instead (弃用了。请使用stack-delete代替)
describe DEPRECATED! Use stack-show instead (弃用了。请使用stack-show代替)
event DEPRECATED! Use event-show instead (弃用了。请使用event-show代替)
event-list List events for a stack (列出某个stack的事件)
event-show Describe the event (描述事件)
gettemplate DEPRECATED! Use template-show instead (弃用了。请使用template-show代替)
list DEPRECATED! Use stack-list instead (弃用了。请使用stack-list代替)
resource DEPRECATED! Use resource-show instead(弃用了。请使用resource-show代替)
resource-list Show list of resources belonging to a stack (显示某个stack的资源列表)
resource-metadata List resource metadata (列出资源的元数据)
resource-show Describe the resource (描述资源)
stack-create Create the stack (创建stack)
stack-delete Delete the stack (删除stack)
stack-list List the user's stacks (列出用户的stack)
stack-show Describe the stack (描述stack)
stack-update Update the stack (更新stack)
template-show Get the template for the specified stack (取得指定stack的模板)
template-validate Validate a template with parameters (验证带参数的模板)
update DEPRECATED! Use stack-update instead (弃用了。请使用stack-update代替)
validate DEPRECATED! Use template-validate instead (弃用了。请使用template-validate代替)
help Display help about this program or one of its
subcommands. (显示Head指令的帮助信息)
Example 21. Optional arguments 例21:参数选项 -d, --debug Defaults to env[HEATCLIENT_DEBUG] (默认值是 env[HEATCLIENT_DEBUG])
-v, --verbose Print more verbose output (打印更多详细的输出信息)
-k, --insecure Explicitly allow the client to perform "insecure" SSL
(https) requests. The server's certificate will not be
verified against any certificate authorities. This
option should be used with caution. (明确允许客户执行insecure SSL请求。服务器证书将不对任何授权进行论证。 这个选项在使用时要小心。)
--cert-file CERT_FILE
Path of certificate file to use in SSL connection.
This file can optionally be prepended with the private
key. (使用SSL连接的证书文件路径。 这个文件可以选择性地预先使用私有key。)
--key-file KEY_FILE Path of client key to use in SSL connection. This
option is not necessary if your key is prepended to
your cert file. (使用SSL连接的客户端key的路径。 如果你的key预先存在你的论证文件中,则此选项不是必须的。)
--ca-file CA_FILE Path of CA SSL certificate(s) used to verify the
remote server's certificate. Without this option the
client looks for the default system CA certificates.(用于验证远程服务器上的证书的CA SSL证书路径 。 如果没有这个选项,则客户端会查找默认的系统CA证书。)
--timeout TIMEOUT Number of seconds to wait for a response (等待响应的超时时间,单位:秒)
--os-username OS_USERNAME
Defaults to env[OS_USERNAME] (默认值是 env[OS_USERNAME])
--os-password OS_PASSWORD
Defaults to env[OS_PASSWORD] (默认值是 env[OS_PASSWORD])
--os-tenant-id OS_TENANT_ID
Defaults to env[OS_TENANT_ID] (默认值是 env[OS_TENANT_ID])
--os-tenant-name OS_TENANT_NAME
Defaults to env[OS_TENANT_NAME] (默认值是 env[OS_TENANT_NAME])
--os-auth-url OS_AUTH_URL
Defaults to env[OS_AUTH_URL] (默认值是 env[OS_AUTH_URL])
--os-region-name OS_REGION_NAME
Defaults to env[OS_REGION_NAME] (默认值是 env[OS_REGION_NAME])
--os-auth-token OS_AUTH_TOKEN
Defaults to env[OS_AUTH_TOKEN] (默认值是 env[OS_AUTH_TOKEN])
--os-no-client-auth Do not contact heat for a token. Defaults to
env[OS_NO_CLIENT_AUTH] (不要把token与head相关联。默认值是 env[OS_NO_CLIENT_AUTH])
--heat-url HEAT_URL Defaults to env[HEAT_URL] (默认值是 env[HEAD_URL])
--heat-api-version HEAT_API_VERSION
Defaults to env[HEAT_API_VERSION] or 1 (默认值是 env[HEAT_API_VERSION] 或者 1)
--os-service-type OS_SERVICE_TYPE
Defaults to env[OS_SERVICE_TYPE] (默认值是 env[OS_SERVICE_TYPE])
--os-endpoint-type OS_ENDPOINT_TYPE
Defaults to env[OS_ENDPOINT_TYPE] (默认值是 env[OS_ENDPOINT_TYPE])
-t, --token-only Only send a token for auth, do not send username and
password as well. (不发送用户名和密码,只发送token进行论证)
|