Compartilhar via


HardwareComponentGroupsOperationsExtensions.ChangeControllerPowerStateAsync Método

Definição

Altera o estado de energia do controlador.

public static System.Threading.Tasks.Task ChangeControllerPowerStateAsync (this Microsoft.Azure.Management.StorSimple8000Series.IHardwareComponentGroupsOperations operations, string deviceName, string hardwareComponentGroupName, Microsoft.Azure.Management.StorSimple8000Series.Models.ControllerPowerStateChangeRequest parameters, string resourceGroupName, string managerName, System.Threading.CancellationToken cancellationToken = default);
static member ChangeControllerPowerStateAsync : Microsoft.Azure.Management.StorSimple8000Series.IHardwareComponentGroupsOperations * string * string * Microsoft.Azure.Management.StorSimple8000Series.Models.ControllerPowerStateChangeRequest * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function ChangeControllerPowerStateAsync (operations As IHardwareComponentGroupsOperations, deviceName As String, hardwareComponentGroupName As String, parameters As ControllerPowerStateChangeRequest, resourceGroupName As String, managerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parâmetros

operations
IHardwareComponentGroupsOperations

O grupo de operações para esse método de extensão.

deviceName
String

O nome do dispositivo

hardwareComponentGroupName
String

O nome do grupo de componentes de hardware.

parameters
ControllerPowerStateChangeRequest

A solicitação de alteração do estado de energia do controlador.

resourceGroupName
String

O nome do grupo de recursos

managerName
String

O nome do gerente

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a