Freigeben über


HardwareComponentGroupsOperationsExtensions.ChangeControllerPowerStateAsync Methode

Definition

Ändert den Energiezustand des Controllers.

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

Parameter

operations
IHardwareComponentGroupsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

deviceName
String

Der Gerätename

hardwareComponentGroupName
String

Der Name der Hardwarekomponentengruppe.

parameters
ControllerPowerStateChangeRequest

Die Änderungsanforderung für den Controller-Energiezustand.

resourceGroupName
String

Der Name der Ressourcengruppe

managerName
String

Der Managername

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: