你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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