MetricTrigger
MetricTrigger(String, ResourceIdentifier, TimeSpan, MetricStatisticType, TimeSpan, MetricTriggerTimeAggregationType, MetricTriggerComparisonOperation, Double)
MetricTrigger(String, ResourceIdentifier, TimeSpan, MetricStatisticType, TimeSpan, MetricTriggerTimeAggregationType, MetricTriggerComparisonOperator, Double)
ComparisonOperator
Dimensions
IsDividedPerInstance
MetricName
MetricNamespace
MetricResourceId
MetricResourceLocation
Operator
Statistic
Threshold
TimeAggregation
TimeGrain
TimeWindow
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)
net11.0-windows7.0
namespace Azure.ResourceManager.Monitor.Models
{
public class MetricTrigger : IJsonModel<MetricTrigger>, IPersistableModel<MetricTrigger>
{
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This API is no longer supported. Use the constructor overload that takes MetricTriggerComparisonOperator instead.", false)]
public MetricTrigger(string metricName, ResourceIdentifier metricResourceId, TimeSpan timeGrain, MetricStatisticType statistic, TimeSpan timeWindow, MetricTriggerTimeAggregationType timeAggregation, MetricTriggerComparisonOperation operator, double threshold);
}
}
| .NET | 5.06.07.08.09.011.0 |
|---|---|
| .NET Core | 2.02.12.23.03.1 |
| .NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
| .NET Standard | 2.02.1 |
Information specific to net11.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net11.0-windows7.0 | |
| Assemblies | Azure.ResourceManager.Monitor , Version=1.4.0.0, PublicKeyToken=92742159e12e44c8 Azure.ResourceManager.Monitor , Version=1.3.1.0, PublicKeyToken=92742159e12e44c8 |
| Referencing | Your project needs a package reference to |
| Package | Azure.ResourceManager.Monitor (1.4.0-beta.6) net8.0 |
| Obsolete | This API is no longer supported. Use the constructor overload that takes MetricTriggerComparisonOperator instead. |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API