| 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的命令行接口指令描述。輸入下面的命令,可以查看詳細(xì)的Head命令幫助: heat help COMMAND  Example 19. Usage 例19:使用說(shuō)明 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:位置參數(shù) <subcommand>
    create              DEPRECATED! Use stack-create instead (棄用了。請(qǐng)使用stack-create代替)
    delete              DEPRECATED! Use stack-delete instead (棄用了。請(qǐng)使用stack-delete代替)
    describe            DEPRECATED! Use stack-show instead (棄用了。請(qǐng)使用stack-show代替)
    event               DEPRECATED! Use event-show instead (棄用了。請(qǐng)使用event-show代替)
    event-list          List events for a stack (列出某個(gè)stack的事件)
    event-show          Describe the event (描述事件)
    gettemplate         DEPRECATED! Use template-show instead (棄用了。請(qǐng)使用template-show代替)
    list                DEPRECATED! Use stack-list instead (棄用了。請(qǐng)使用stack-list代替)
    resource            DEPRECATED! Use resource-show instead(棄用了。請(qǐng)使用resource-show代替)
    resource-list       Show list of resources belonging to a stack (顯示某個(gè)stack的資源列表)
    resource-metadata   List resource metadata (列出資源的元數(shù)據(jù))
    resource-show       Describe the resource (描述資源)
    stack-create        Create the stack (創(chuàng)建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 (驗(yàn)證帶參數(shù)的模板)
    update              DEPRECATED! Use stack-update instead (棄用了。請(qǐng)使用stack-update代替)
    validate            DEPRECATED! Use template-validate instead (棄用了。請(qǐng)使用template-validate代替)
    help                Display help about this program or one of its
                        subcommands. (顯示Head指令的幫助信息) 
  Example 21. Optional arguments 例21:參數(shù)選項(xiàng)   -d, --debug           Defaults to env[HEATCLIENT_DEBUG] (默認(rèn)值是 env[HEATCLIENT_DEBUG])
  -v, --verbose         Print more verbose output (打印更多詳細(xì)的輸出信息)
  -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. (明確允許客戶執(zhí)行insecure SSL請(qǐng)求。服務(wù)器證書(shū)將不對(duì)任何授權(quán)進(jìn)行論證。 這個(gè)選項(xiàng)在使用時(shí)要小心。)
  --cert-file CERT_FILE
                        Path of certificate file to use in SSL connection.
                        This file can optionally be prepended with the private
                        key. (使用SSL連接的證書(shū)文件路徑。 這個(gè)文件可以選擇性地預(yù)先使用私有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預(yù)先存在你的論證文件中,則此選項(xiàng)不是必須的。)
  --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.(用于驗(yàn)證遠(yuǎn)程服務(wù)器上的證書(shū)的CA SSL證書(shū)路徑 。 如果沒(méi)有這個(gè)選項(xiàng),則客戶端會(huì)查找默認(rèn)的系統(tǒng)CA證書(shū)。)
  --timeout TIMEOUT     Number of seconds to wait for a response (等待響應(yīng)的超時(shí)時(shí)間,單位:秒)
  --os-username OS_USERNAME
                        Defaults to env[OS_USERNAME] (默認(rèn)值是 env[OS_USERNAME])
  --os-password OS_PASSWORD
                        Defaults to env[OS_PASSWORD] (默認(rèn)值是 env[OS_PASSWORD])
  --os-tenant-id OS_TENANT_ID
                        Defaults to env[OS_TENANT_ID] (默認(rèn)值是 env[OS_TENANT_ID])
  --os-tenant-name OS_TENANT_NAME
                        Defaults to env[OS_TENANT_NAME] (默認(rèn)值是 env[OS_TENANT_NAME])
  --os-auth-url OS_AUTH_URL
                        Defaults to env[OS_AUTH_URL] (默認(rèn)值是 env[OS_AUTH_URL])
  --os-region-name OS_REGION_NAME
                        Defaults to env[OS_REGION_NAME] (默認(rèn)值是 env[OS_REGION_NAME])
  --os-auth-token OS_AUTH_TOKEN
                        Defaults to env[OS_AUTH_TOKEN] (默認(rèn)值是 env[OS_AUTH_TOKEN])
  --os-no-client-auth   Do not contact heat for a token. Defaults to
                        env[OS_NO_CLIENT_AUTH] (不要把token與head相關(guān)聯(lián)。默認(rèn)值是 env[OS_NO_CLIENT_AUTH])
  --heat-url HEAT_URL   Defaults to env[HEAT_URL] (默認(rèn)值是 env[HEAD_URL])
  --heat-api-version HEAT_API_VERSION
                        Defaults to env[HEAT_API_VERSION] or 1 (默認(rèn)值是 env[HEAT_API_VERSION] 或者 1)
  --os-service-type OS_SERVICE_TYPE
                        Defaults to env[OS_SERVICE_TYPE] (默認(rèn)值是 env[OS_SERVICE_TYPE])
  --os-endpoint-type OS_ENDPOINT_TYPE
                        Defaults to env[OS_ENDPOINT_TYPE] (默認(rèn)值是 env[OS_ENDPOINT_TYPE])
  -t, --token-only      Only send a token for auth, do not send username and
                        password as well. (不發(fā)送用戶名和密碼,只發(fā)送token進(jìn)行論證) |