Share via


VirtualMachineInstanceCountSummary Class

Definition

Contains the counts of VMs in each power state in a given zone, fault domain, as known by the StandbyPool resource provider. Note: any updates to pool resources outside of StandbyPoolRP (i.e deleting a VM through portal) are not reflected here. Note: any resources in the Running state may still be installing extensions / not fully provisioned.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StandbyPool.Models.VirtualMachineInstanceCountSummaryTypeConverter))]
public class VirtualMachineInstanceCountSummary : Microsoft.Azure.PowerShell.Cmdlets.StandbyPool.Models.IVirtualMachineInstanceCountSummary
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StandbyPool.Models.VirtualMachineInstanceCountSummaryTypeConverter))>]
type VirtualMachineInstanceCountSummary = class
    interface IVirtualMachineInstanceCountSummary
    interface IJsonSerializable
Public Class VirtualMachineInstanceCountSummary
Implements IVirtualMachineInstanceCountSummary
Inheritance
VirtualMachineInstanceCountSummary
Attributes
Implements

Constructors

VirtualMachineInstanceCountSummary()

Creates an new VirtualMachineInstanceCountSummary instance.

Properties

InstanceCountsByState

The count of pooled resources in each state for the given zone.

Zone

The zone that the provided counts are in. This is null if zones are not enabled on the attached VMSS.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VirtualMachineInstanceCountSummary.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualMachineInstanceCountSummary.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StandbyPool.Models.IVirtualMachineInstanceCountSummary.

FromJsonString(String)

Creates a new instance of VirtualMachineInstanceCountSummary, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualMachineInstanceCountSummary into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to