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

PolicyStatus Struct

Definition

The value that indicates whether the policy is enabled or not.

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

Fields

Disabled
Enabled

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 PolicyStatus (override for Object)

Equals(PolicyStatus)

Compares values of enum type PolicyStatus

GetHashCode()

Returns hashCode for enum PolicyStatus

ToString()

Returns string representation for PolicyStatus

Operators

Equality(PolicyStatus, PolicyStatus)

Overriding == operator for enum PolicyStatus

Implicit(PolicyStatus to String)

Implicit operator to convert PolicyStatus to string

Implicit(String to PolicyStatus)

Implicit operator to convert string to PolicyStatus

Inequality(PolicyStatus, PolicyStatus)

Overriding != operator for enum PolicyStatus

Applies to