sfctl storesfctl store

针对群集映像存储执行基本文件级别操作。Perform basic file level operations on the cluster image store.

命令Commands

CommandCommand 说明Description
deletedelete 删除现有的映像存储内容。Deletes existing image store content.
root-inforoot-info 获取映像存储根目录中的内容信息。Gets the content information at the root of the image store.
statstat 获取映像存储内容信息。Gets the image store content information.

sfctl store deletesfctl store delete

删除现有的映像存储内容。Deletes existing image store content.

删除在给定图像存储相对路径中找到的现有映像存储内容。Deletes existing image store content being found within the given image store relative path. 预配已上传的应用程序包后,可以使用此命令删除这些包。This command can be used to delete uploaded application packages once they are provisioned.

参数Arguments

参数Argument 说明Description
--content-path [必需]--content-path [Required] 映像存储中文件或文件夹在其根目录中的相对路径。Relative path to file or folder in the image store from its root.
--timeout -t--timeout -t 执行操作的服务器超时,以秒为单位。The server timeout for performing the operation in seconds. 此超时指定客户端可以等待请求的操作完成的持续时间。This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. 此参数的默认值为 60 秒。The default value for this parameter is 60 seconds. 默认值: 60。Default: 60.

全局参数Global Arguments

参数Argument 说明Description
--debug--debug 提高日志记录详细程度以显示所有调试日志。Increase logging verbosity to show all debug logs.
--help -h--help -h 显示此帮助消息并退出。Show this help message and exit.
--output -o--output -o 输出格式。Output format. 允许的值: json、jsonc、table、tsv。Allowed values: json, jsonc, table, tsv. 默认值: json。Default: json.
--query--query JMESPath 查询字符串。JMESPath query string. 有关详细信息和示例,请参阅 http://jmespath.org/。See http://jmespath.org/ for more information and examples.
--verbose--verbose 提高日志记录详细程度。Increase logging verbosity. 使用 --debug 获取完整的调试日志。Use --debug for full debug logs.

sfctl store root-infosfctl store root-info

获取映像存储根目录中的内容信息。Gets the content information at the root of the image store.

返回有关映像存储根目录中的映像存储内容的信息。Returns the information about the image store content at the root of the image store.

参数Arguments

参数Argument 说明Description
--timeout -t--timeout -t 执行操作的服务器超时,以秒为单位。The server timeout for performing the operation in seconds. 此超时指定客户端可以等待请求的操作完成的持续时间。This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. 此参数的默认值为 60 秒。The default value for this parameter is 60 seconds. 默认值: 60。Default: 60.

全局参数Global Arguments

参数Argument 说明Description
--debug--debug 提高日志记录详细程度以显示所有调试日志。Increase logging verbosity to show all debug logs.
--help -h--help -h 显示此帮助消息并退出。Show this help message and exit.
--output -o--output -o 输出格式。Output format. 允许的值: json、jsonc、table、tsv。Allowed values: json, jsonc, table, tsv. 默认值: json。Default: json.
--query--query JMESPath 查询字符串。JMESPath query string. 有关详细信息和示例,请参阅 http://jmespath.org/。See http://jmespath.org/ for more information and examples.
--verbose--verbose 提高日志记录详细程度。Increase logging verbosity. 使用 --debug 获取完整的调试日志。Use --debug for full debug logs.

sfctl store statsfctl store stat

获取映像存储内容信息。Gets the image store content information.

返回有关指定 contentPath 中的映像存储内容的信息。Returns the information about the image store content at the specified contentPath. contentPath 相对于映像存储的根目录。The contentPath is relative to the root of the image store.

参数Arguments

参数Argument 说明Description
--content-path [必需]--content-path [Required] 映像存储中文件或文件夹在其根目录中的相对路径。Relative path to file or folder in the image store from its root.
--timeout -t--timeout -t 执行操作的服务器超时,以秒为单位。The server timeout for performing the operation in seconds. 此超时指定客户端可以等待请求的操作完成的持续时间。This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. 此参数的默认值为 60 秒。The default value for this parameter is 60 seconds. 默认值: 60。Default: 60.

全局参数Global Arguments

参数Argument 说明Description
--debug--debug 提高日志记录详细程度以显示所有调试日志。Increase logging verbosity to show all debug logs.
--help -h--help -h 显示此帮助消息并退出。Show this help message and exit.
--output -o--output -o 输出格式。Output format. 允许的值: json、jsonc、table、tsv。Allowed values: json, jsonc, table, tsv. 默认值: json。Default: json.
--query--query JMESPath 查询字符串。JMESPath query string. 有关详细信息和示例,请参阅 http://jmespath.org/。See http://jmespath.org/ for more information and examples.
--verbose--verbose 提高日志记录详细程度。Increase logging verbosity. 使用 --debug 获取完整的调试日志。Use --debug for full debug logs.

后续步骤Next steps