Share via


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