Megosztás a következőn keresztül:


LeaseDuration Struct

Definition

Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased.

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

Fields

Fixed
Infinite

Methods

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

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

Equals(LeaseDuration)

Compares values of enum type LeaseDuration

Equals(Object)

Compares values of enum type LeaseDuration (override for Object)

GetHashCode()

Returns hashCode for enum LeaseDuration

ToString()

Returns string representation for LeaseDuration

Operators

Equality(LeaseDuration, LeaseDuration)

Overriding == operator for enum LeaseDuration

Implicit(LeaseDuration to String)

Implicit operator to convert LeaseDuration to string

Implicit(String to LeaseDuration)

Implicit operator to convert string to LeaseDuration

Inequality(LeaseDuration, LeaseDuration)

Overriding != operator for enum LeaseDuration

Applies to