Delen via


SavingsPlanTerm Struct

Definition

Represent savings plan term in ISO 8601 format.

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

Fields

P1Y
P3Y

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

Equals(SavingsPlanTerm)

Compares values of enum type SavingsPlanTerm

GetHashCode()

Returns hashCode for enum SavingsPlanTerm

ToString()

Returns string representation for SavingsPlanTerm

Operators

Equality(SavingsPlanTerm, SavingsPlanTerm)

Overriding == operator for enum SavingsPlanTerm

Implicit(SavingsPlanTerm to String)

Implicit operator to convert SavingsPlanTerm to string

Implicit(String to SavingsPlanTerm)

Implicit operator to convert string to SavingsPlanTerm

Inequality(SavingsPlanTerm, SavingsPlanTerm)

Overriding != operator for enum SavingsPlanTerm

Applies to