AMSKeyDeliveryRequests 表的查询

密钥传递成功请求计数(按密钥类型)

按不同密钥类型汇总成功的密钥传送请求的计数。

AMSKeyDeliveryRequests
| where ResultType == "Succeeded"
| summarize Count = count() by KeyType

密钥传递失败的请求数

Lists失败密钥传送请求的详细信息。

AMSKeyDeliveryRequests
| where ResultType != "Succeeded"
| project KeyId, PolicyName, ResultSignature, StatusMessage, _ResourceId
| limit 100

密钥传送请求延迟为 95 和 99 百分位数

估计第 95 个百分位和第 99 个百分位的密钥传送请求延迟。

AMSKeyDeliveryRequests
| summarize percentiles(DurationMs, 95, 99)