你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ChaosReport 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示运行混沌测试的状态(可能位于由 GetChaosReportAsync(ChaosReportFilter, TimeSpan, CancellationToken)返回的时间范围内)。
[System.Serializable]
public sealed class ChaosReport
[<System.Serializable>]
type ChaosReport = class
Public NotInheritable Class ChaosReport
- 继承
-
ChaosReport
- 属性
构造函数
ChaosReport(ChaosParameters, ChaosStatus, List<ChaosEvent>, String) |
初始化 ChaosReport 类的新实例。 |
属性
ChaosParameters |
获取传入 StartChaosAsync(ChaosParameters, TimeSpan, CancellationToken) 的参数,以及用于启动混沌测试的参数。 |
ContinuationToken |
如果混沌事件的数量太大,则会分批返回这些事件;因此,若要获取下一批事件,必须在 API 调用 中传递 ContinuationToken。 GetChaosReportAsync(String, TimeSpan, CancellationToken) |
History |
获取在 中指定的 GetChaosReportAsync(ChaosReportFilter, TimeSpan, CancellationToken)感兴趣时间生成的混沌事件的列表。 |
Status |
获取当前任务 (ChaosTask |
方法
ToString() |
获取混沌状态对象的字符串表示形式。 |