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

ControllerPowerStateChangeRequest 构造函数

定义

重载

ControllerPowerStateChangeRequest()

初始化 ControllerPowerStateChangeRequest 类的新实例。

ControllerPowerStateChangeRequest(ControllerPowerStateAction, ControllerId, ControllerStatus, ControllerStatus, String, String, String, Nullable<Kind>)

初始化 ControllerPowerStateChangeRequest 类的新实例。

ControllerPowerStateChangeRequest()

初始化 ControllerPowerStateChangeRequest 类的新实例。

public ControllerPowerStateChangeRequest ();
Public Sub New ()

适用于

ControllerPowerStateChangeRequest(ControllerPowerStateAction, ControllerId, ControllerStatus, ControllerStatus, String, String, String, Nullable<Kind>)

初始化 ControllerPowerStateChangeRequest 类的新实例。

public ControllerPowerStateChangeRequest (Microsoft.Azure.Management.StorSimple8000Series.Models.ControllerPowerStateAction action, Microsoft.Azure.Management.StorSimple8000Series.Models.ControllerId activeController, Microsoft.Azure.Management.StorSimple8000Series.Models.ControllerStatus controller0State, Microsoft.Azure.Management.StorSimple8000Series.Models.ControllerStatus controller1State, string id = default, string name = default, string type = default, Microsoft.Azure.Management.StorSimple8000Series.Models.Kind? kind = default);
new Microsoft.Azure.Management.StorSimple8000Series.Models.ControllerPowerStateChangeRequest : Microsoft.Azure.Management.StorSimple8000Series.Models.ControllerPowerStateAction * Microsoft.Azure.Management.StorSimple8000Series.Models.ControllerId * Microsoft.Azure.Management.StorSimple8000Series.Models.ControllerStatus * Microsoft.Azure.Management.StorSimple8000Series.Models.ControllerStatus * string * string * string * Nullable<Microsoft.Azure.Management.StorSimple8000Series.Models.Kind> -> Microsoft.Azure.Management.StorSimple8000Series.Models.ControllerPowerStateChangeRequest
Public Sub New (action As ControllerPowerStateAction, activeController As ControllerId, controller0State As ControllerStatus, controller1State As ControllerStatus, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional kind As Nullable(Of Kind) = Nothing)

参数

action
ControllerPowerStateAction

请求预期的设备控制器的电源状态。 可能的值包括:“Start”、“Restart”、“Shutdown”

activeController
ControllerId

请求在设备上预期的活动控制器。 可能的值包括:“Unknown”、“None”、“Controller0”、“Controller1”

controller0State
ControllerStatus

请求在设备上预期的控制器 0 状态。 可能的值包括:“NotPresent”、“PoweredOff”、“Ok”、“Recovering”、“Warning”、“Failure”

controller1State
ControllerStatus

控制器 1 的状态,请求预期在设备上。 可能的值包括:“NotPresent”、“PoweredOff”、“Ok”、“Recovering”、“Warning”、“Failure”

id
String

唯一标识对象的路径 ID。

name
String

对象的名称。

type
String

对象的分层类型。

kind
Nullable<Kind>

对象的类型。 目前仅支持 Series8000。 可能的值包括:“Series8000”

适用于