Condividi tramite


ArmStandbyPoolModelFactory.StandbyVirtualMachinePoolRuntimeViewProperties Method

Definition

Initializes a new instance of StandbyVirtualMachinePoolRuntimeViewProperties.

public static Azure.ResourceManager.StandbyPool.Models.StandbyVirtualMachinePoolRuntimeViewProperties StandbyVirtualMachinePoolRuntimeViewProperties (System.Collections.Generic.IEnumerable<Azure.ResourceManager.StandbyPool.Models.StandbyVirtualMachineInstanceCountSummary> instanceCountSummary = default, Azure.ResourceManager.StandbyPool.Models.StandbyProvisioningState? provisioningState = default);
static member StandbyVirtualMachinePoolRuntimeViewProperties : seq<Azure.ResourceManager.StandbyPool.Models.StandbyVirtualMachineInstanceCountSummary> * Nullable<Azure.ResourceManager.StandbyPool.Models.StandbyProvisioningState> -> Azure.ResourceManager.StandbyPool.Models.StandbyVirtualMachinePoolRuntimeViewProperties
Public Shared Function StandbyVirtualMachinePoolRuntimeViewProperties (Optional instanceCountSummary As IEnumerable(Of StandbyVirtualMachineInstanceCountSummary) = Nothing, Optional provisioningState As Nullable(Of StandbyProvisioningState) = Nothing) As StandbyVirtualMachinePoolRuntimeViewProperties

Parameters

instanceCountSummary
IEnumerable<StandbyVirtualMachineInstanceCountSummary>

A list containing the counts of virtual machines in each possible power state for each zone if enabled, as known by the StandbyPool resource provider. If zones are not enabled on the attached VMSS, the list will contain a single entry with null zone values. 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.

provisioningState
Nullable<StandbyProvisioningState>

Displays the provisioning state of the standby pool.

Returns

A new StandbyVirtualMachinePoolRuntimeViewProperties instance for mocking.

Applies to