你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmApplicationInsightsModelFactory.ApplicationInsightsComponentDataVolumeCap 方法

定义

初始化 ApplicationInsightsComponentDataVolumeCap 的新实例。

public static Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentDataVolumeCap ApplicationInsightsComponentDataVolumeCap (float? cap = default, int? resetTime = default, int? warningThreshold = default, bool? isStopSendNotificationWhenHitThreshold = default, bool? isStopSendNotificationWhenHitCap = default, float? maxHistoryCap = default);
static member ApplicationInsightsComponentDataVolumeCap : Nullable<single> * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<single> -> Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentDataVolumeCap
Public Shared Function ApplicationInsightsComponentDataVolumeCap (Optional cap As Nullable(Of Single) = Nothing, Optional resetTime As Nullable(Of Integer) = Nothing, Optional warningThreshold As Nullable(Of Integer) = Nothing, Optional isStopSendNotificationWhenHitThreshold As Nullable(Of Boolean) = Nothing, Optional isStopSendNotificationWhenHitCap As Nullable(Of Boolean) = Nothing, Optional maxHistoryCap As Nullable(Of Single) = Nothing) As ApplicationInsightsComponentDataVolumeCap

参数

cap
Nullable<Single>

每日数据量上限(以 GB 为单位)。

resetTime
Nullable<Int32>

每日数据量上限 UTC 重置小时。

warningThreshold
Nullable<Int32>

保留,暂时不使用。

isStopSendNotificationWhenHitThreshold
Nullable<Boolean>

保留,暂时不使用。

isStopSendNotificationWhenHitCap
Nullable<Boolean>

达到每日数据量上限时,不要发送通知电子邮件。

maxHistoryCap
Nullable<Single>

用户可以为此组件设置的最大每日数据量上限。

返回

用于模拟的新 ApplicationInsightsComponentDataVolumeCap 实例。

适用于