az monitor log-analytics workspace table restore
管理 Log Analytics 工作区还原日志表的表。
命令
| 名称 | 说明 | 类型 | Status |
|---|---|---|---|
| az monitor log-analytics workspace table restore create |
创建 Log Analytics 工作区还原日志表。 表名需要以“_RST”结尾。 |
Core | GA |
az monitor log-analytics workspace table restore create
创建 Log Analytics 工作区还原日志表。 表名需要以“_RST”结尾。
az monitor log-analytics workspace table restore create --end-restore-time
--name
--resource-group
--restore-source-table
--start-restore-time
--workspace-name
[--no-wait]
示例
创建 Log Analytics 工作区还原日志表。
az monitor log-analytics workspace table restore create --resource-group MyResourceGroup --workspace-name MyWorkspace -n MyTable_RST --start-restore-time "Sat, 28 Aug 2021 05:29:18 GMT" --end-restore-time "Sat, 28 Aug 2021 08:29:18 GMT" --restore-source-table MyTable
必需参数
日期/时间格式。 格式:date(yyyy-mm-dd) time (hh:mm:ss.xxxxx) 时区 (+/-hh:mm)。
表的名称。 表名称需要以_RST结尾。
资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。
要从中还原数据的表。
日期/时间格式。 格式:date(yyyy-mm-dd) time (hh:mm:ss.xxxxx) 时区 (+/-hh:mm)。
Log Analytics 工作区的名称。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |