Partilhar via


DefaultAction Struct

Definition

The default action of allow or deny when no other rules match.

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

Fields

Allow
Deny

Methods

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

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

Equals(DefaultAction)

Compares values of enum type DefaultAction

Equals(Object)

Compares values of enum type DefaultAction (override for Object)

GetHashCode()

Returns hashCode for enum DefaultAction

ToString()

Returns string representation for DefaultAction

Operators

Equality(DefaultAction, DefaultAction)

Overriding == operator for enum DefaultAction

Implicit(DefaultAction to String)

Implicit operator to convert DefaultAction to string

Implicit(String to DefaultAction)

Implicit operator to convert string to DefaultAction

Inequality(DefaultAction, DefaultAction)

Overriding != operator for enum DefaultAction

Applies to