Share via


HyperVGeneration Struct

Definition

The hypervisor generation of the Virtual Machine. Applicable to OS disks only.

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

Fields

V1
V2

Methods

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

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

Equals(HyperVGeneration)

Compares values of enum type HyperVGeneration

Equals(Object)

Compares values of enum type HyperVGeneration (override for Object)

GetHashCode()

Returns hashCode for enum HyperVGeneration

ToString()

Returns string representation for HyperVGeneration

Operators

Equality(HyperVGeneration, HyperVGeneration)

Overriding == operator for enum HyperVGeneration

Implicit(HyperVGeneration to String)

Implicit operator to convert HyperVGeneration to string

Implicit(String to HyperVGeneration)

Implicit operator to convert string to HyperVGeneration

Inequality(HyperVGeneration, HyperVGeneration)

Overriding != operator for enum HyperVGeneration

Applies to