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

LeaseState Struct

Definition

Lease state of the container.

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

Fields

Available
Breaking
Broken
Expired
Leased

Methods

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

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

Equals(LeaseState)

Compares values of enum type LeaseState

Equals(Object)

Compares values of enum type LeaseState (override for Object)

GetHashCode()

Returns hashCode for enum LeaseState

ToString()

Returns string representation for LeaseState

Operators

Equality(LeaseState, LeaseState)

Overriding == operator for enum LeaseState

Implicit(LeaseState to String)

Implicit operator to convert LeaseState to string

Implicit(String to LeaseState)

Implicit operator to convert string to LeaseState

Inequality(LeaseState, LeaseState)

Overriding != operator for enum LeaseState

Applies to