Share via


PSNodePool.PowerState Property

Definition

Gets or sets whether the Agent Pool is running or stopped.

public Microsoft.Azure.Management.ContainerService.Models.PowerState PowerState { get; set; }
member this.PowerState : Microsoft.Azure.Management.ContainerService.Models.PowerState with get, set
Public Property PowerState As PowerState

Property Value

Remarks

When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded

Applies to