你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DefaultAction Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |