Share via


VirtualMachinePlacementHintPodAffinityScope Struct

Definition

The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.

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

Fields

Machine
Rack

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

Equals(VirtualMachinePlacementHintPodAffinityScope)

Compares values of enum type VirtualMachinePlacementHintPodAffinityScope

GetHashCode()

Returns hashCode for enum VirtualMachinePlacementHintPodAffinityScope

ToString()

Returns string representation for VirtualMachinePlacementHintPodAffinityScope

Operators

Equality(VirtualMachinePlacementHintPodAffinityScope, VirtualMachinePlacementHintPodAffinityScope)

Overriding == operator for enum VirtualMachinePlacementHintPodAffinityScope

Implicit(String to VirtualMachinePlacementHintPodAffinityScope)

Implicit operator to convert string to VirtualMachinePlacementHintPodAffinityScope

Implicit(VirtualMachinePlacementHintPodAffinityScope to String)

Implicit operator to convert VirtualMachinePlacementHintPodAffinityScope to string

Inequality(VirtualMachinePlacementHintPodAffinityScope, VirtualMachinePlacementHintPodAffinityScope)

Overriding != operator for enum VirtualMachinePlacementHintPodAffinityScope

Applies to