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

Kind Struct

Definition

Indicates the type of scheduled query rule. The default is LogAlert.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ScheduledQueryRule.Support.KindTypeConverter))]
public struct Kind : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.Monitor.ScheduledQueryRule.Support.Kind>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ScheduledQueryRule.Support.KindTypeConverter))>]
type Kind = struct
    interface IArgumentCompleter
Public Structure Kind
Implements IArgumentCompleter, IEquatable(Of Kind)
Inheritance
Kind
Attributes
Implements

Fields

LogAlert
LogToMetric

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations of this function are called by PowerShell to complete arguments.

Equals(Kind)

Compares values of enum type Kind

Equals(Object)

Compares values of enum type Kind (override for Object)

GetHashCode()

Returns hashCode for enum Kind

ToString()

Returns string representation for Kind

Operators

Equality(Kind, Kind)

Overriding == operator for enum Kind

Implicit(Kind to String)

Implicit operator to convert Kind to string

Implicit(String to Kind)

Implicit operator to convert string to Kind

Inequality(Kind, Kind)

Overriding != operator for enum Kind

Applies to