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

RuleAction Struct

Definition

The action enum for networking rule.

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

Fields

Allow
Deny

Methods

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

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

Equals(Object)

Compares values of enum type RuleAction (override for Object)

Equals(RuleAction)

Compares values of enum type RuleAction

GetHashCode()

Returns hashCode for enum RuleAction

ToString()

Returns string representation for RuleAction

Operators

Equality(RuleAction, RuleAction)

Overriding == operator for enum RuleAction

Implicit(RuleAction to String)

Implicit operator to convert RuleAction to string

Implicit(String to RuleAction)

Implicit operator to convert string to RuleAction

Inequality(RuleAction, RuleAction)

Overriding != operator for enum RuleAction

Applies to