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


ReservationTerm Struct

Definition

Represent the term of reservation.

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

Fields

P1Y
P3Y
P5Y

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

Equals(ReservationTerm)

Compares values of enum type ReservationTerm

GetHashCode()

Returns hashCode for enum ReservationTerm

ToString()

Returns string representation for ReservationTerm

Operators

Equality(ReservationTerm, ReservationTerm)

Overriding == operator for enum ReservationTerm

Implicit(ReservationTerm to String)

Implicit operator to convert ReservationTerm to string

Implicit(String to ReservationTerm)

Implicit operator to convert string to ReservationTerm

Inequality(ReservationTerm, ReservationTerm)

Overriding != operator for enum ReservationTerm

Applies to