Freigeben über


InstanceFlexibility Struct

Definition

Turning this on will apply the reservation discount to other VMs in the same VM size group. Only specify for VirtualMachines reserved resource type.

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

Fields

Off
On

Methods

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

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

Equals(InstanceFlexibility)

Compares values of enum type InstanceFlexibility

Equals(Object)

Compares values of enum type InstanceFlexibility (override for Object)

GetHashCode()

Returns hashCode for enum InstanceFlexibility

ToString()

Returns string representation for InstanceFlexibility

Operators

Equality(InstanceFlexibility, InstanceFlexibility)

Overriding == operator for enum InstanceFlexibility

Implicit(InstanceFlexibility to String)

Implicit operator to convert InstanceFlexibility to string

Implicit(String to InstanceFlexibility)

Implicit operator to convert string to InstanceFlexibility

Inequality(InstanceFlexibility, InstanceFlexibility)

Overriding != operator for enum InstanceFlexibility

Applies to